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

Compare commits

...

1003 Commits

Author SHA1 Message Date
Sebastien Helleu a7d037d384 Version 0.3.0-rc3 2009-08-11 15:58:18 +02:00
Sebastien Helleu 4b0b0869a4 Add file UPGRADE_0.3, update NEWS 2009-08-10 18:11:02 +02:00
Sebastien Helleu 17a66da648 Update polish translations (thanks to soltys) 2009-08-09 22:55:47 +02:00
Sebastien Helleu 1691b3060c Fix typo: explicitely -> explicitly 2009-08-09 12:19:47 +02:00
Sebastien Helleu 14966acaf2 Remove obsolete option weechat.color.input_nick 2009-08-09 12:16:30 +02:00
Sebastien Helleu 508398f7c5 Add missing files for cmake in packages built by autotools 2009-08-09 10:01:54 +02:00
Sebastien Helleu 36b870f32a Add missing file po/CMakeLists.txt in packages built by autotools 2009-08-09 09:20:40 +02:00
Sebastien Helleu 9508953b8e Fix typo: mispelled -> misspelled 2009-08-06 21:35:12 +02:00
Sebastien Helleu 859f6db87b Fix bug when comparing chars and ignoring case (with some locales) (bug #27190)
There was a problem with some locales like turkish, where upper "i" is "İ".
All IRC commands with "I" inside (JOIN, PRIVMSG, ..) failed with turkish
locale.
2009-08-06 15:08:11 +02:00
Sebastien Helleu acef147775 Fix progress bar display for large xfer/dcc files (more than 2 Gb) 2009-08-05 13:10:09 +02:00
Sebastien Helleu 7d0e5edc9a Fix typo in french FAQ 2009-08-03 16:21:37 +02:00
Sebastien Helleu 9038aef953 Fix charset decoding bug for some IRC messages where both nick and channel are given after command name 2009-08-01 17:46:24 +02:00
Sebastien Helleu 7d25b62665 Fix hotlist bug after /buffer unmerge (bug #27133) 2009-07-29 10:38:45 +02:00
Sebastien Helleu ffdba5b248 Remove check of Tcl_CreateNamespace in cmake build (not used any more) (bug #27119) 2009-07-28 14:16:53 +02:00
Sebastien Helleu b7b4a7093e Set level "message" for IRC notices with channel target 2009-07-28 09:59:54 +02:00
Sebastien Helleu 7e94691333 Allow no argument for command /join when /part was issued on current channel 2009-07-27 13:57:43 +02:00
Sebastien Helleu 3562143b51 Add missing include of stdarg.h 2009-07-24 16:38:04 +02:00
Sebastien Helleu 5563924363 Fix compilation on OpenBSD: rename variables stdout/stderr (patch #6874 from zepard) 2009-07-24 15:14:44 +02:00
Sebastien Helleu 5139fdcf2a Add new option weechat.look.search_text_not_found_alert 2009-07-22 18:07:22 +02:00
Sebastien Helleu 232804f293 Fix and improve replacement of IRC password by stars (patch #6872 from zepard) 2009-07-20 10:18:33 +02:00
Sebastien Helleu 57064f4b1c Allow cursor to be displayed in a root bar 2009-07-14 08:20:40 +02:00
Sebastien Helleu 9839d030a1 Add info about script commands when trying to load a script with /plugin 2009-07-10 23:44:21 +02:00
Sebastien Helleu c9e6b1bb83 Add note about special chars that must be escaped in /help filter 2009-07-09 22:27:39 +02:00
Sebastien Helleu a854e28c3d Remove obsolete option weechat.color.nicklist_separator 2009-07-09 21:25:03 +02:00
Sebastien Helleu 87e9c6476b Open channel/pv near server when no channel/pv is opened (with option irc.look.open_*_near_server) 2009-07-06 20:03:19 +02:00
Sebastien Helleu 00ca4f0d36 Complete command and arguments even if command line starts with double '/' 2009-07-06 10:06:47 +02:00
Sebastien Helleu 05deb6356a Add optional nick in arguments for infolist "irc_nick" (format: "server,#channel,nick") 2009-07-05 11:42:53 +02:00
Sebastien Helleu 12a5b5f82b Add tag "away_info" for lines with info about away in irc plugin 2009-07-04 19:17:18 +02:00
Sebastien Helleu c7ec4233a0 Add note about merged server buffers in quick start guide 2009-07-04 08:54:40 +02:00
Sebastien Helleu 9000bac5b5 Add note about script weeget.py in quick start guide 2009-07-03 18:19:39 +02:00
Sebastien Helleu be4c009dcd Version 0.3.0-rc2 2009-07-03 15:45:25 +02:00
Sebastien Helleu d7f3e59c3e Fix bug when moving group of merged buffers to number 1 2009-07-03 15:30:49 +02:00
Sebastien Helleu 49aa853b00 When IRC nick change is received, do not rename private buffer if it already exists with new nick 2009-06-29 12:31:50 +02:00
Sebastien Helleu 8b45c9b8f0 Fix typos in docs 2009-06-28 20:47:13 +02:00
Sebastien Helleu 2f7a5a4147 Rename function string_explode to string_split 2009-06-28 19:49:32 +02:00
Sebastien Helleu 4a89b4ae59 Add french translation of Scripting Guide 2009-06-28 12:00:16 +02:00
Sebastien Helleu 26919fe58b Add french translation of Plugin API Reference 2009-06-28 00:47:37 +02:00
Sebastien Helleu 23f111329e Strip hostnames in IRC message 353 when uhnames protocol is enabled 2009-06-27 15:07:31 +02:00
Sebastien Helleu e06609c7cd Change default order of items in input bar: move input_paste before input_text 2009-06-27 08:55:40 +02:00
Sebastien Helleu 9fad3f128e Add options irc.look.open_channel/pv_near_server 2009-06-25 10:45:30 +02:00
Sebastien Helleu 42cd890bfb Consider private message as highlight when comparing message level to buffer notify value 2009-06-24 15:35:24 +02:00
Sebastien Helleu 4d60c48f5f Switch to irc raw buffer if it is aleady opened, with /server raw or alt-j + alt-r 2009-06-24 15:04:43 +02:00
Sebastien Helleu 89b7a826c5 Fix display of description when it is NULL (with /help option) 2009-06-23 18:40:49 +02:00
Sebastien Helleu 1b47fdcc4e Add modifier "bar_condition_xxx", used to display/hide bars on some windows with custom condition 2009-06-23 17:15:45 +02:00
Sebastien Helleu cdc5ac77c1 Fix typos in Plugin API reference 2009-06-23 17:03:34 +02:00
Sebastien Helleu 8d87086917 Add new option irc.color.item_channel_modes 2009-06-23 10:08:27 +02:00
Sebastien Helleu 16e741f063 Fix bug with pointer to last read line in merged buffers (can lead to crash) 2009-06-22 11:46:29 +02:00
Sebastien Helleu 9b7ac77a0d Disable layout saving by default 2009-06-21 22:30:50 +02:00
Sebastien Helleu fdcbc8e585 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/weechat 2009-06-21 14:10:57 +02:00
Sebastien Helleu 76b883f05f Fix bug after /upgrade on buffers with free content (bug #26020) 2009-06-21 14:10:41 +02:00
Sebastien Helleu 679e477abb Fix some memory leaks in command hook (completion templates), buffer closing, partial completion 2009-06-21 12:45:50 +02:00
Sebastien Helleu b698a9ce4a Move partial completion structure to completion structure (it is now specific to buffer) (bug #25556) 2009-06-21 12:19:57 +02:00
Sebastien Helleu d4b572c753 Fix scroll Y in bars (bug #26008) 2009-06-21 11:02:57 +02:00
Sebastien Helleu 271d6a131f Fix problems with /set of some bar options 2009-06-21 00:24:04 +02:00
Sebastien Helleu 911e29cf65 Add missing refresh of bar when changing size with command /set 2009-06-20 23:13:21 +02:00
Sebastien Helleu 95c03734cc Fix minor display bug with read marker (line or dotted line)
Bug is happening when read marker is line or dotted line and that last char
of line is an horizontal line. When new line is added in buffer after read
marker, then last char of read marker line is repeated on next line.
2009-06-20 13:12:03 +02:00
Sebastien Helleu f5b2b2291f Fix command to create irc server in quickstart guide 2009-06-18 22:06:05 +02:00
Sebastien Helleu 1b5d34e777 Version 0.3.0-rc1 2009-06-17 14:25:24 +02:00
Sebastien Helleu 23fdef7b50 Fix translation bug in help of command /input 2009-06-17 11:26:46 +02:00
Sebastien Helleu 417380a89e Remove "/server switch" from doc and completion template 2009-06-17 11:18:21 +02:00
Sebastien Helleu fc08677c38 Fix typos in docs 2009-06-17 11:17:27 +02:00
Sebastien Helleu 7d302429d2 Improve option irc.look.notice_as_pv, new values: auto/never/always
This allows private chat with following nicks: nickserv/chanserv/memoserv.
2009-06-14 18:50:43 +02:00
Sebastien Helleu bf2b06bb03 Remove obsolete macro in plugin API reference 2009-06-14 18:18:52 +02:00
Sebastien Helleu 92940e52f1 Do not auto-load hidden files in script plugins (bug #21390) 2009-06-14 16:35:06 +02:00
Sebastien Helleu 3379ac4757 Remove detection of library iksemel 2009-06-14 14:29:35 +02:00
Sebastien Helleu fe980f2863 Remove jabber plugin (will be replaced by script) 2009-06-14 14:17:17 +02:00
Sebastien Helleu 62559459df Remove obsolete trigger plugin 2009-06-14 13:47:03 +02:00
Sebastien Helleu 4179a16863 Add color for channel IRC notices (patch #6841) 2009-06-14 12:47:17 +02:00
Sebastien Helleu 412bf73673 Add new option weechat.look.hotlist_names_merged_buffers 2009-06-14 11:03:01 +02:00
Sebastien Helleu 5ecdee569f Add option "-merged" for /buffer clear 2009-06-14 10:49:03 +02:00
Sebastien Helleu 1f8532e668 Display buffer name in hotlist if buffers are merged with same number 2009-06-13 20:03:00 +02:00
Sebastien Helleu d686dc547c Remove all merged buffers from hotlist, instead of only current selected buffer 2009-06-13 19:57:59 +02:00
Sebastien Helleu 8a696d26e2 Fix IRC mode parsing when receiving modes with arguments (bug #26793) 2009-06-13 18:15:01 +02:00
Sebastien Helleu 40e3422058 Do not refresh buffer if displayed line is filtered (hidden) 2009-06-13 16:27:04 +02:00
Sebastien Helleu 1786646550 Update ChangeLog and NEWS 2009-06-13 13:46:02 +02:00
Sebastien Helleu 314687bf71 Fix english typos in docs (patch from jdhore) 2009-06-13 09:43:17 +02:00
Sebastien Helleu c95f7b8e83 Fix typo 2009-06-13 08:33:13 +02:00
Sebastien Helleu 38f1bc0837 Remove variable with "WeeChat required version" in plugins, do not compare version any more (API comparison is enough) 2009-06-12 16:02:40 +02:00
Sebastien Helleu 58e6a514eb Fix line filtering after /upgrade when filter applies on one buffer only 2009-06-12 14:47:22 +02:00
Sebastien Helleu ed47fff730 Fix refresh of hidden bars (patch #6837) 2009-06-12 11:22:00 +02:00
Sebastien Helleu ae23fb0b46 Fix bug with some utf-8 chars in input line 2009-06-12 08:00:44 +02:00
Sebastien Helleu a06fa73ba8 Add option irc.look.item_display_server to display server with plugin or name in status bar 2009-06-11 19:03:27 +02:00
Sebastien Helleu ec5c3aa3cc Improve completion for script plugins commands 2009-06-11 16:51:50 +02:00
Sebastien Helleu 652a97cc7a Fix display bug with color/attribute chars (< 32) in command line (bug #26749) 2009-06-11 15:31:53 +02:00
Sebastien Helleu 3912c1bae6 Fix typo with plural of "ignore" 2009-06-11 12:48:58 +02:00
Sebastien Helleu a326c2578c Add key alt-j + alt-s to jump to IRC server buffer, bound to command /server jump 2009-06-11 12:30:12 +02:00
Sebastien Helleu 19b7039005 Remove debian directory from package built with make dist 2009-06-11 08:19:43 +02:00
Sebastien Helleu d7ad1780ad Add infolist with commands history 2009-06-10 19:13:38 +02:00
Sebastien Helleu b67da8860c Add variable "active" in buffer infolist 2009-06-10 13:50:40 +02:00
Sebastien Helleu 1cd9074c09 Fix help of /wait command (missing '/' in examples) 2009-06-10 13:09:19 +02:00
Sebastien Helleu 274835f0ca Display error if command "/key bind" has not enough arguments 2009-06-10 12:55:24 +02:00
Sebastien Helleu 335419e6de Rename option weechat.completion.nick_completor to nick_completer 2009-06-10 12:51:36 +02:00
Sebastien Helleu 8d58b81d83 Add buffer merging feature, with /buffer merge/unmerge (task #7404) 2009-06-10 12:40:05 +02:00
Sebastien Helleu fd31dbb97e Fix bug with cmake options for building script plugins 2009-06-10 08:07:57 +02:00
Emmanuel Bouthenot 88f21fffe7 Fix some bugs in asciidoc detection, add detection of source-highlight (needed by asciidoc to build doc) 2009-06-07 18:56:38 +02:00
Emmanuel Bouthenot 452a1d6b9e Change the way to detect gnutls (using pkg-config instead of libgnutls-config) 2009-06-07 16:46:53 +02:00
Sebastien Helleu 1bbafc3d4e Fix display problem with bar item "away" in IRC plugin 2009-06-07 11:52:21 +02:00
Sebastien Helleu 9a45c8995e Update ChangeLog 2009-06-06 09:14:40 +02:00
Sebastien Helleu b3f69541e6 Fix bug with /buffer close N1-N2 2009-06-04 10:24:08 +02:00
Sebastien Helleu a6363a7b0b Fix display of bold/reverse/underline color attributes in bars 2009-06-03 11:48:51 +02:00
Sebastien Helleu 89701be94f Add note about ports < 1024 (reserved for root) for listening ports (options xfer.network.port_range and relay.network.listen_port_range) 2009-06-02 16:01:37 +02:00
Sebastien Helleu 7d34e10c6d Add note about recommended locale (UTF-8) in FAQ 2009-06-02 15:49:22 +02:00
Sebastien Helleu 375e0b1b23 Fix set of color options with ++N or --N, to add/subtract integer value to color 2009-06-02 15:41:43 +02:00
Sebastien Helleu 4383fd73b5 Add note about alt+k for binding keys in /help key 2009-06-02 15:10:15 +02:00
Sebastien Helleu 103389822e Add cmake detection for asciidoc version 2009-06-02 13:11:16 +02:00
Sebastien Helleu 27d1ba5093 Add color for bar item "away" (irc.color.item_away) 2009-05-28 16:36:24 +02:00
Sebastien Helleu 0e040e8301 Convert all docs to asciidoc format, add scripting guide 2009-05-28 16:07:40 +02:00
Sebastien Helleu 62e2f1f808 Fix jump to previous buffer with alt-digit 2009-05-21 19:09:27 +02:00
Sebastien Helleu dac855be7c Fix display bug with text in IRC action that contains bold char (text truncated and not displayed) (bug #26630) 2009-05-21 09:01:34 +02:00
Sebastien Helleu fcd14cf1c6 New default value "0" for option irc.network.lag_disconnect (do not disconnect on high lag) 2009-05-19 21:29:16 +02:00
Sebastien Helleu 7d37cc8f50 Add new command /wait (schedule a command execution in future) 2009-05-19 19:04:49 +02:00
Sebastien Helleu 37a73d8348 Fix crash with /upgrade (problem when closing buffers) 2009-05-19 14:07:51 +02:00
Sebastien Helleu 67f8f7386a Add argument with buffer number/range for command "/buffer close" (task #9390, task #7239) 2009-05-18 23:23:40 +02:00
Sebastien Helleu 906c4ce8cd Add option weechat.look.jump_previous_buffer_when_closing 2009-05-18 18:35:39 +02:00
Sebastien Helleu 3561fa8856 Add option weechat.history.max_visited_buffers 2009-05-18 18:21:21 +02:00
Sebastien Helleu 4bfc005d9d Add new keys to move into last visited buffers (alt + "<", alt + ">"), come back to last visited buffer when closing a buffer 2009-05-18 17:47:45 +02:00
Sebastien Helleu 6d0e15e0d7 Add signals "key_bind" and "key_unbind" 2009-05-17 20:10:32 +02:00
Sebastien Helleu e2497ff8bc Fix typo: formated -> formatted 2009-05-17 16:00:35 +02:00
Sebastien Helleu 353538e3d8 Add function "config_is_set_plugin" in plugin/script API 2009-05-17 15:49:58 +02:00
Sebastien Helleu 1076183317 Add missing refresh of "away" bar item with IRC /away command 2009-05-17 13:36:43 +02:00
Sebastien Helleu 8130e6da8f Remove unneeded space between two bar items (for items glued with "+") 2009-05-17 12:56:30 +02:00
Sebastien Helleu 484d0fb96e Update ChangeLog 2009-05-16 11:45:07 +02:00
Sebastien Helleu 947ae241ce Add infolist "key" with key bindings 2009-05-16 00:47:14 +02:00
Sebastien Helleu 041b754980 Convert some docs to asciidoc format, add tester's guide, remove some obsolete docs 2009-05-15 23:03:35 +02:00
Sebastien Helleu 420d294498 Add buffer pointer in hotlist infolist 2009-05-12 23:02:44 +02:00
Sebastien Helleu 2ab1626fa9 Add syntax "*N" for /buffer (where N is a buffer number): jump to buffer number or previous buffer
This will switch to buffer #N or previously displayed buffer if current buffer is #N
(it uses option weechat.look.jump_current_to_previous_buffer).
Default keys alt-1 to alt-0 are now /buffer *N
2009-05-12 18:16:32 +02:00
Sebastien Helleu b860043646 Fix IRC private buffer name when message is from me (happens when using irssi proxy server and opening private under irssi) 2009-05-12 16:43:27 +02:00
Sebastien Helleu 54ae52c4f0 Fix typo: transfert -> transfer 2009-05-12 11:39:22 +02:00
Sebastien Helleu 50bfe2cbba Fix git command to clone repository in doc 2009-05-12 10:31:52 +02:00
Sebastien Helleu 92424a595d Change version from 0.2.7-dev to 0.3.0-dev 2009-05-11 14:19:51 +02:00
Sebastien Helleu 57c6478b91 Add function window_set_title in API (task #9361) 2009-05-10 01:22:08 +02:00
Sebastien Helleu 09c42f4cf0 Add missing IRC command 335 2009-05-09 23:46:30 +02:00
Sebastien Helleu 79ea9b54be Disable loop on commands in history when reaching oldest command 2009-05-09 16:39:50 +02:00
Sebastien Helleu 74f5fe7bc5 Add completion %(irc_privates), used by /buffer (completes with channels and pv) 2009-05-09 13:50:41 +02:00
Sebastien Helleu 8a783825de Fix completion with non-latin nicks (bug #18993) 2009-05-09 13:03:44 +02:00
Sebastien Helleu 2c60a46670 Update translations 2009-05-09 11:27:46 +02:00
Sebastien Helleu 2943ea9f9c Add files debian/*.log to .gitignore 2009-05-09 11:26:55 +02:00
Sebastien Helleu f924dc1beb Add file weechat.pc to .gitignore 2009-05-09 11:05:24 +02:00
Sebastien Helleu 5981063299 Update list of debian files in root Makefile.am 2009-05-09 11:03:03 +02:00
Emmanuel Bouthenot 757eef66cb Update debian packaging: add new binary package 'weechat-dev' (plugins development headers). 2009-05-08 22:34:36 +00:00
Emmanuel Bouthenot 7945e24900 Update debian packaging (fix double build due to autodetection of configure file). 2009-05-09 00:28:03 +02:00
Emmanuel Bouthenot fabc49a0b8 Install developement files for plugins and pkg-config support (autotools). 2009-05-08 23:45:54 +02:00
Emmanuel Bouthenot 55aa9dd0e8 Install developement files for plugins and pkg-config support (cmake). 2009-05-08 23:37:13 +02:00
Emmanuel Bouthenot efa37abdb8 Update debian packaging. 2009-05-08 19:32:39 +02:00
Sebastien Helleu 50b6fefdeb Fix infinite loop when scrolling bars with horizontal filling 2009-05-08 13:22:29 +02:00
Sebastien Helleu d3f91af099 Improve display of filter indicator in status bar, add option for color 2009-05-08 13:04:26 +02:00
Sebastien Helleu cde8a69eda Add missing space at beginning of bar item when first sub-item content is NULL 2009-05-08 13:00:11 +02:00
Sebastien Helleu 2783b51201 Improve completion: allow a command to use completion of another command (used by alias plugin) 2009-05-08 10:31:15 +02:00
Sebastien Helleu d3976c2afe Fix crash in python plugin after parse file error 2009-05-08 10:30:36 +02:00
Sebastien Helleu 85ecabdd9f Fix completion of IRC commands /whois and /whowas 2009-05-08 09:35:16 +02:00
Sebastien Helleu a61e80858d Remove relay plugin from debian/weechat-plugins.install 2009-05-08 08:53:58 +02:00
Sebastien Helleu 04fbe821c9 Disable jabber and relay plugins compilation by default 2009-05-07 23:47:46 +02:00
Sebastien Helleu db8aa43b5a Add description of notify levels in /help buffer 2009-05-05 12:14:39 +02:00
Sebastien Helleu a0a28ac3d9 Add message for old/obsolete plugins 2009-05-05 10:11:50 +02:00
Sebastien Helleu 5947ba0364 Remove messages displayed when hiding/showing a bar 2009-05-04 19:21:59 +02:00
Sebastien Helleu 8d69edfa31 Use or '\r' in bar items to force new line with horizontal filling 2009-05-04 19:17:42 +02:00
Sebastien Helleu 917e111b78 Disable print hooks during display of backlog (in logger plugin) 2009-05-04 18:00:51 +02:00
Sebastien Helleu ddb16b7c0e Fix bug with arguments of function "bar_new" in python plugin 2009-05-04 17:45:55 +02:00
Sebastien Helleu 28f3762618 Fix crash when deleting last server if there is one buffer for all servers 2009-05-03 17:19:42 +02:00
Sebastien Helleu d6ed1485a4 Fix help of /set command (remove french words) 2009-05-03 16:30:00 +02:00
Sebastien Helleu b9a0424221 Add versions 0.2.6.1 and 0.2.6.2 to current NEWS file 2009-05-03 16:16:35 +02:00
Sebastien Helleu b3ca90302b Fix typo in INSTALL 2009-05-03 15:09:58 +02:00
Sebastien Helleu aecd0cc4d7 Fix typo in FAQ 2009-05-03 15:07:19 +02:00
Sebastien Helleu d51626c67b Fix bug with scroll in bars: do not scroll if bar is hidden 2009-05-03 15:04:22 +02:00
Sebastien Helleu ad418a3a5a Add error message when option is unknown for /key command 2009-05-03 10:22:05 +02:00
Sebastien Helleu 1838260c0e Add irc info "irc_current_server" (returned only if one buffer is used for all servers) 2009-05-03 09:48:17 +02:00
Sebastien Helleu 747b78aff3 Add API version string: do not load plugins with wrong API version (fix crash when loading old/obsolete plugins) 2009-05-02 22:56:14 +02:00
Sebastien Helleu 9cb6b4d158 Fix bug with data for callbacks in scripts after /upgrade 2009-05-02 18:40:48 +02:00
Sebastien Helleu 5f1c0c8254 Add data string argument in all callbacks of script API, display script name in error messages for scripts 2009-05-02 16:17:31 +02:00
Sebastien Helleu a09fc84726 Fix typo in pl.po 2009-04-29 08:07:22 +02:00
Sebastien Helleu 38d569b102 Add versions 0.2.6.1 and 0.2.6.2 to current ChangeLog 2009-04-28 12:41:36 +02:00
Sebastien Helleu 58f6e729a3 Add polish translations (8% done) 2009-04-28 11:13:16 +02:00
Sebastien Helleu 0a8077f0d6 Remove time in weechat.log file when dumping data (crash or user is asking dump) 2009-04-26 09:43:06 +02:00
Sebastien Helleu c3321b1406 Fix 0 byte alloc in command template 2009-04-26 09:22:06 +02:00
Sebastien Helleu 4c71cb5f2b Remove old docs for notify plugin 2009-04-24 22:17:17 +02:00
Sebastien Helleu 6ec9b638ce Fix crash when giving empty buffer pointer to nicklist API functions (bug #26328) 2009-04-24 21:35:16 +02:00
Sebastien Helleu 5181c64486 Replace constants by enums for config file values 2009-04-24 21:01:38 +02:00
Sebastien Helleu 9303884613 Add filter with third argument of infolist_get for some infolists (bars, bar items, buffers, filters, plugins, irc_server, alias, script list) 2009-04-24 18:59:22 +02:00
Sebastien Helleu e3d2728571 Fix typo: splited/splitted -> split 2009-04-24 17:24:56 +02:00
Sebastien Helleu 3464865a00 Fix typo: easyly -> easily 2009-04-24 17:10:32 +02:00
Sebastien Helleu b80c2763c3 Remove notify plugin in debian files 2009-04-24 16:59:03 +02:00
Sebastien Helleu 63874f5188 Update ChangeLog 2009-04-24 16:47:19 +02:00
Sebastien Helleu 163c5d6dfb Remove notify plugin (moved to core) 2009-04-24 16:26:13 +02:00
Sebastien Helleu 671087e26a Add anti-flood for extra IRC commands like msg/notice/query/quote and some other 2009-04-24 11:45:31 +02:00
Sebastien Helleu c5968389a6 Fix security bug in tcl plugin (bug #26265, patch #6810) 2009-04-24 10:55:49 +02:00
Sebastien Helleu 890b2ed23a Add new option weechat.look.jump_current_to_previous_buffer 2009-04-21 17:48:44 +02:00
Sebastien Helleu 7bed0ec485 Update FAQ (add screen/utf-8 for charset problems) 2009-04-19 22:09:20 +02:00
Sebastien Helleu cb86803ed3 Fix typo in doc 2009-04-18 16:50:19 +02:00
Sebastien Helleu 1a0c267e73 Fix bug with charset decoding in irc plugin (for example with iso2022jp) 2009-04-18 12:27:02 +02:00
Sebastien Helleu 5da42465a6 Add list of signals in developer guide 2009-04-17 23:00:11 +02:00
Sebastien Helleu a7778594b1 Remove unused signal 2009-04-17 22:59:52 +02:00
Sebastien Helleu 1f4c75b3c1 Fix typo in doc 2009-04-17 11:29:40 +02:00
Sebastien Helleu 44003c2dae Restore buffer callbacks for scripts after /upgrade 2009-04-16 14:25:44 +02:00
Sebastien Helleu 771be1a316 Add list of modifiers in developer guide 2009-04-16 12:06:27 +02:00
Sebastien Helleu ec2b1e2895 Fix bug with modifier "irc_color_encode" 2009-04-16 12:05:56 +02:00
Sebastien Helleu 369d329f4f Remove *.upgrade files in weechat dir after /upgrade 2009-04-15 23:46:22 +02:00
Sebastien Helleu 46dee68d57 Jump to last displayed buffer when jumping to current buffer number
For example, if you are on buffer #2, and press alt-1 twice, you'll come back to
buffer #2.
2009-04-15 21:08:49 +02:00
Sebastien Helleu 9679cd4fbf Fix compilation problem on FreeBSD: replace call to wcscasecmp() by towlower() 2009-04-15 11:33:45 +02:00
Sebastien Helleu 433f5e86fa Fix bug with upgrade and irc raw buffer, save irc raw messages during upgrade 2009-04-14 19:16:47 +02:00
Sebastien Helleu 0b6203ac6f Fix crash when reloading perl plugin (bug #25464) 2009-04-14 16:18:38 +02:00
Sebastien Helleu 28e5913ad2 Fix text search in buffer with some utf-8 chars (bug #25649) 2009-04-14 14:12:28 +02:00
Sebastien Helleu 546d3afd01 Add missing API functions in doc (infolists and upgrade), move infos and infolists from user guide to developer guide 2009-04-14 00:03:18 +02:00
Sebastien Helleu 92b96dee1b Fix completion for /key unbind 2009-04-11 23:45:11 +02:00
Sebastien Helleu b1de9b49fd Use case sensitive comparison for key codes (bug #26145) 2009-04-11 23:36:54 +02:00
Sebastien Helleu a3841b12e4 Add utf8_charcmp in plugin API, fix bug with utf8_charcasecmp 2009-04-11 23:34:32 +02:00
Sebastien Helleu 741ca8fb6a Fix /me command (irc plugin): allow command without argument 2009-04-11 21:37:03 +02:00
Sebastien Helleu acb5772334 Add support of many templates for completion of command arguments, rename default completion items 2009-04-11 14:49:34 +02:00
Sebastien Helleu 8ac00cdac6 Some improvements on key bindings
List of changes:
- do not automatically create default keys if they do not exist, when reading
  weechat.conf (let user do that if needed)
- add "/key missing": add missing keys using default keys (do not update or
  remove user keys),
- key "meta-s" moved from irc/jabber plugins to core
- improved output of /key (display number of keys)
2009-04-07 18:22:09 +02:00
Sebastien Helleu 3aeb24cf1d Fix crash with IRC server switch (alt-s) when no server buffer is opened 2009-04-07 18:12:46 +02:00
Sebastien Helleu 564afdc75d Fix another aspell bug: don't consider '-' as a word delimiter 2009-04-07 09:46:03 +02:00
Sebastien Helleu 8ec4187d7b Fix aspell bug: don't consider apostrophe as a word delimiter 2009-04-07 09:41:48 +02:00
Sebastien Helleu b27f57ecb3 Update ChangeLog 2009-04-06 12:26:27 +02:00
Sebastien Helleu 71fe8c9353 Fix creation of integer options, when created from a script plugin (if string_values is empty but not NULL) 2009-04-05 19:21:23 +02:00
Sebastien Helleu 78a9101114 Fix script installation 2009-04-05 17:29:57 +02:00
Sebastien Helleu 08a07c145a Fix memory leak in script install 2009-04-05 17:20:59 +02:00
Sebastien Helleu 7f454586ea Add signals in script plugins to install and remove scripts 2009-04-05 14:53:02 +02:00
Sebastien Helleu 9084984861 Fix memory leak when sending modifier "input_text_content" 2009-04-05 14:36:10 +02:00
Sebastien Helleu 6fc8a25d6e Check that callback value is not NULL in hook functions 2009-04-04 17:54:15 +02:00
Sebastien Helleu 58b7a4a923 Add missing key bindings in doc 2009-04-03 18:52:07 +02:00
Sebastien Helleu 7c58018cb1 Add new option "weechat.completion.nick_add_space" (add space after nick completion, on by default) 2009-04-03 17:56:40 +02:00
Sebastien Helleu 76b700a555 Add new values for option irc.look.nick_completion_smart: off / speakers / speakers_highlights 2009-04-03 17:07:00 +02:00
Sebastien Helleu 00580b1670 Fix crash when integer option (set with string) is wrong in a config file 2009-04-03 14:49:28 +02:00
Sebastien Helleu 4f3e50d6bc Fix bug with nick completion (too many nick completors were added to nick if private was open with nick) 2009-04-03 11:55:12 +02:00
Sebastien Helleu ddb2eef1c5 Fix broken time in backlog displayed by logger plugin: use DST for time displayed in buffer (bug #26074) 2009-04-03 10:38:24 +02:00
Sebastien Helleu d8826195cc Add new question in FAQ, about difference between /ignore and /filter commands 2009-04-03 09:50:05 +02:00
Sebastien Helleu d58f8fa15e Fix bug in alias: use current buffer to run commands (bug #22876) 2009-04-02 15:24:50 +02:00
Sebastien Helleu 2019129701 Fix crash when executing "/msg * something" on an IRC server buffer 2009-04-01 23:51:53 +02:00
Sebastien Helleu ca7bcf880b Fix bug with partial completions
Option "weechat.completion.partial_completion_nick" has been renamed to
"weechat.completion.partial_completion_other".
2009-04-01 23:30:57 +02:00
Sebastien Helleu ff83985ef4 Add default template completion (by default: nick or IRC channel) 2009-04-01 19:03:05 +02:00
Sebastien Helleu 51af351c15 Fix crash in python plugin when there is recursion on exec or when a script is unloaded by call to command() in other python script 2009-03-30 12:39:32 +02:00
Sebastien Helleu ef95c69417 Fix python error message 2009-03-29 19:10:28 +02:00
Sebastien Helleu 31508fed70 Add missing autogen doc files in makefiles 2009-03-29 01:18:30 +01:00
Sebastien Helleu e6a77fd301 Update doc 2009-03-29 01:06:46 +01:00
Sebastien Helleu bdc869568c Fix help of /buffer command 2009-03-29 01:05:51 +01:00
Sebastien Helleu 90f7edfcb1 Update INSTALL file 2009-03-28 23:08:14 +01:00
Sebastien Helleu 998db86f45 Add cmake files in package built by autotools 2009-03-28 22:53:34 +01:00
Sebastien Helleu 85495d4b95 Fix display of python errors 2009-03-28 22:06:10 +01:00
Sebastien Helleu b2f1273c01 Add infolists with list of scripts 2009-03-28 20:58:00 +01:00
Sebastien Helleu 30a50c6999 Fix bug with /ignore when mask begins with "|" (bug #26037) 2009-03-28 19:04:14 +01:00
Sebastien Helleu 540756bf54 Fix SSL connection to some IRC servers using Diffie Hellman and small exchange keys (bug #25996) 2009-03-27 16:48:58 +01:00
Sebastien Helleu 6e7b62be97 Add new bar item "away" (now displayed by default in input bar) 2009-03-26 18:58:00 +01:00
Sebastien Helleu 5046e49747 Replace german and french C API doc by english version 2009-03-26 18:18:09 +01:00
Sebastien Helleu 0f3601bea0 Update script API in doc (developer guide) 2009-03-26 14:20:14 +01:00
Sebastien Helleu 49ca35cb4f Fix crash on FreeBSD: first unload last loaded plugins 2009-03-24 21:43:33 +01:00
Sebastien Helleu a745409e22 Add new IRC modifiers: irc_color_decode/irc_color_encode, add IRC color support in xfer DCC chat (bug #25974) 2009-03-23 13:58:42 +01:00
Sebastien Helleu fdf56fc7b0 Add nick completion in xfer dcc buffers, fix bug when opening xfer dcc buffer if it already exists 2009-03-23 13:37:25 +01:00
Sebastien Helleu 2a2f019cd8 Fix typo in irc-raw.c and jabber-debug.c 2009-03-23 13:14:57 +01:00
Sebastien Helleu 0f641b1564 Set again buffer properties when using existing irc/jabber channel/pv buffer 2009-03-23 11:29:07 +01:00
Sebastien Helleu 495378eb57 Add completion with self nick in irc/jabber private buffers 2009-03-23 11:26:43 +01:00
Sebastien Helleu 988997e96e Add default alias /v to "/command core version" 2009-03-22 17:14:41 +01:00
Sebastien Helleu 5c5e767d84 Update ChangeLog 2009-03-22 16:54:52 +01:00
Sebastien Helleu 7c793257ff Add option aspell.check.real_time (off by default), fix bugs with aspell and utf-8 chars, add function utf8_char_int to API 2009-03-22 16:38:06 +01:00
Sebastien Helleu 558c9f2614 Force refresh of bars using a bar item when it is destroyed 2009-03-22 10:48:49 +01:00
Sebastien Helleu 7b17a62e59 Fix bug when closing IRC channel buffers (pointer to current server is lost) 2009-03-21 18:23:08 +01:00
Sebastien Helleu ebc4e04333 Fix bug with window separator (possible crash) 2009-03-21 18:21:42 +01:00
Sebastien Helleu 7d53e28034 Use of brackets {} around nicklist count in default status bar 2009-03-21 16:21:55 +01:00
Sebastien Helleu 2dc13ebd21 Add new command /version, add count of /upgrade, fix bugs with command exec
New (core) command /version displays version, and number of upgrades done with
first start date (if # /upgrade > 0).
The number of upgrades is displayed at startup (if > 0).
2009-03-21 16:09:18 +01:00
Sebastien Helleu 8a68adbf3f Add color around plugin name in help for commands 2009-03-21 13:19:43 +01:00
Sebastien Helleu a49c8b2e30 Add new modifier "input_text_content" 2009-03-21 13:12:35 +01:00
Sebastien Helleu 203990d3cf Add signal "key_pressed" 2009-03-20 22:34:47 +01:00
Sebastien Helleu f814dc27f4 Add buffer name completion for command /filter 2009-03-20 18:47:28 +01:00
Sebastien Helleu 0b8f80d3b5 Fix typo in doc 2009-03-20 10:18:23 +01:00
Sebastien Helleu 16c2d5fe7e Add missing include of time.h in irc-raw.C 2009-03-19 20:19:15 +01:00
Sebastien Helleu 55cbd9a76f Fix bugs with color in IRC topics 2009-03-19 18:38:11 +01:00
Sebastien Helleu a0f6b6eda6 Many improvements on IRC raw buffer
New features:
- key alt-j alt-r is reintroduced to open IRC raw buffer
- command "/server raw" opens IRC raw buffer
- new option irc.look.raw_messages, which is number of lines to keep in memory
to display when user will open raw buffer (to see last messages received before
opening raw buffer)
2009-03-19 17:25:36 +01:00
Sebastien Helleu cefb8a50f2 Replace WeeChat color codes by "?" in incoming IRC messages (bug #25862) 2009-03-18 18:03:47 +01:00
Sebastien Helleu a394ed5d6f Add "replacement" argument for string_remove_color in plugin API 2009-03-18 18:02:48 +01:00
Sebastien Helleu 5f243ddd86 Fix bug with IRC raw buffer and chars < 32, use of hexadecimal for such chars 2009-03-18 16:02:42 +01:00
Sebastien Helleu a938ef736a Remove some messages during startup about scripts and plugins loaded
It is still possible to see messages by changing debug level for "core" or
plugins (perl, python, ruby, lua, tcl).
2009-03-18 15:11:18 +01:00
Sebastien Helleu 763f030ae8 Fix typo in doc 2009-03-18 12:28:10 +01:00
Sebastien Helleu 4e53b87983 Add new signals: window_zoom, window_zoomed, window_unzoom, window_unzoomed 2009-03-16 18:35:32 +01:00
Sebastien Helleu 770c73ec43 Add new option irc.look.display_old_topic to display old topic when channel topic is changed 2009-03-15 12:46:30 +01:00
Sebastien Helleu e244dda271 Add key alt+'=' in /help filter 2009-03-15 11:57:24 +01:00
Sebastien Helleu 94b4703e7a Fix typo in developer guide 2009-03-15 11:51:26 +01:00
Sebastien Helleu 31e562467e Add property in buffer to hide time for all lines 2009-03-15 01:30:49 +01:00
Sebastien Helleu 86ff3f775c Add missing call to change callback when setting option with integer value, using a string 2009-03-15 01:14:16 +01:00
Sebastien Helleu 4608b82e41 Fix memory leak in filename completion 2009-03-08 10:27:58 +01:00
Sebastien Helleu a44cc9ffde Add new key to zoom a window (meta-z by default) (task #7470) 2009-03-07 11:26:06 +01:00
Sebastien Helleu 3194c641a0 Remove date written in config files headers (patch #6766) 2009-03-07 00:24:51 +01:00
Sebastien Helleu 997434ef8b Fix bug with text attribute in IRC messages: toggle attribute instead of always forcing it to on (bug #25770) 2009-03-07 00:18:19 +01:00
Sebastien Helleu 780a7478ee Fix bug with namespace in tcl plugin (bug #25754) 2009-03-06 23:46:51 +01:00
Sebastien Helleu 700ce289ae Fix callbacks in script plugins: always return empty string instead of NULL for arguments 2009-03-06 23:30:58 +01:00
Sebastien Helleu 8e55147364 Add new hook type "process": launch command with fork and catch result (rc/stdout/stderr) via callback 2009-03-06 18:22:34 +01:00
Sebastien Helleu 0fd8bbc2de Fix scroll indicator when the only line displayed is bigger than chat window 2009-03-05 15:08:15 +01:00
Sebastien Helleu 619babb457 Fix bug with detection of channel name in command /mode 2009-03-02 14:06:47 +01:00
Sebastien Helleu 8ffd58b4a8 Make channel optional in IRC command /mode (bug #25735) 2009-03-02 11:21:30 +01:00
Sebastien Helleu 371bf4b401 Fix crash with IRC commands msg/notice/query/quote when executed with too few arguments (bug #25739) 2009-03-01 22:32:13 +01:00
Sebastien Helleu 882be565c3 Fix IRC command /who (nothing was displayed if WeeChat already checked channel for away nicks) (bug #25736) 2009-03-01 09:36:05 +01:00
Sebastien Helleu 1a69bbcb1e Update FAQ (new format for website and some updates/additions) 2009-03-01 09:26:04 +01:00
Sebastien Helleu b0c058fc20 Add missing refresh when resizing terminal 2009-02-28 14:37:33 +01:00
Sebastien Helleu f4538dee68 Fix freeze/crash when sigwinch signal is received during refresh (for example if repaint is done during terminal resize) 2009-02-28 13:09:55 +01:00
Sebastien Helleu d69efe7cda Remove old debug message when creating new window 2009-02-27 15:37:10 +01:00
Sebastien Helleu ce8100278b Add missing refreshs when creating/deleting bars 2009-02-27 12:56:18 +01:00
Sebastien Helleu 8cc03f939d Fix "/window refresh" (key ctrl+L): force curses refresh (was broken by previous commit for terminal resize) 2009-02-26 15:21:32 +01:00
Sebastien Helleu a796188fc8 Display explicit message when irc command must be executed on irc buffer or connected server 2009-02-26 10:31:13 +01:00
Sebastien Helleu 8f148ccfc7 Add option "irc.look.topic_strip_colors" to strip topic colors in buffer's title bar (task #6030) 2009-02-25 19:22:18 +01:00
Sebastien Helleu 4772bd1865 Fix bug with reset of topic for irc channel / jabber muc 2009-02-25 19:13:47 +01:00
Sebastien Helleu 5abc6f8c1b Send buffer pointer with signal "buffer_title_changed" 2009-02-25 19:11:49 +01:00
Sebastien Helleu f3e7749b21 Fix with read marker, can not be filtered any more (bug #25590) 2009-02-25 18:17:46 +01:00
Sebastien Helleu 613e9743e5 Fix bug with terminal resize: on some systems, weechat failed to read new terminal size 2009-02-25 16:34:41 +01:00
Sebastien Helleu 4f9efe14e3 Update debian build dependency for tcl-dev package 2009-02-25 14:43:56 +01:00
Sebastien Helleu 624c6d09c0 Fix option irc.network.send_unknown_commands: allow unknown commands on irc server buffers (bug #25557) 2009-02-24 15:25:58 +01:00
Sebastien Helleu 2af58ba271 Improved search of buffer with partial name (command "/buffer name") 2009-02-24 10:32:12 +01:00
Sebastien Helleu 426ab803cb Test return code of some malloc/strdup 2009-02-23 13:45:30 +01:00
Sebastien Helleu 70cfce2d2c Fix irc excess flood caused by mode command sent when a mode is received: send mode only when channel modes are updated (bug #25651) 2009-02-23 11:01:11 +01:00
Sebastien Helleu 351a27c8be Add missing option "toggle" in /help bar 2009-02-22 22:44:35 +01:00
Sebastien Helleu 2c9bf846a6 Add upgrade functions in script plugin API 2009-02-22 16:49:38 +01:00
Sebastien Helleu b2584798a1 Add missing functions in script plugin API to get default values of options 2009-02-22 09:51:25 +01:00
Sebastien Helleu a708f9f813 Add missing config functions in script plugin API to free sections and options 2009-02-21 21:31:46 +01:00
Sebastien Helleu afdee2d919 Add signals when local variables or buffer type are changed 2009-02-21 09:58:56 +01:00
Sebastien Helleu 3a57bb0659 Fix bug with buffer name/short_name when IRC query name has changed (remote nick has changed) (bug #25654) 2009-02-21 09:58:32 +01:00
Sebastien Helleu 517367f881 Fix crash in python plugin when calling function prnt_date_tags() 2009-02-20 18:12:43 +01:00
Sebastien Helleu 029503f750 Fix some return codes of callbacks in script plugins 2009-02-20 16:14:04 +01:00
Sebastien Helleu 1b4028218c Add return code value for config_read callback in script plugins 2009-02-20 14:53:32 +01:00
Sebastien Helleu e3f12be462 Fix bug with smart completion (irc/jabber): keep unique nicks in list of last speakers (bug #25559) 2009-02-20 11:57:03 +01:00
Sebastien Helleu a3b9fa2483 Fix crash in python plugin when callbacks are called during script initialization 2009-02-20 10:01:47 +01:00
Sebastien Helleu e7589e732b Fix bug with current script pointer when current script is unloaded 2009-02-19 17:44:41 +01:00
Sebastien Helleu 78fe938e4f Fix bug with arguments of config_read callback in script plugins 2009-02-19 14:12:18 +01:00
Sebastien Helleu 0ca39f974b Fix bug in config_file_write_line with empty value, when called from script plugins 2009-02-19 12:30:30 +01:00
Sebastien Helleu c76fa7e733 Display clock skew detection only if debug for core is >= 1 2009-02-18 12:37:25 +01:00
Sebastien Helleu 4d1fdfade0 Give file descriptor to callback of hook_fd 2009-02-18 11:13:23 +01:00
Sebastien Helleu e263a847da Add new local variable "type" for buffers
Values are set by plugins:
- irc and jabber: "server", "channel", "private", "debug"
- relay: "relay" (list)
- xfer: "xfer" (list), "private" (DCC chat)
2009-02-17 19:42:05 +01:00
Sebastien Helleu b5f27d3fea Use string instead of char for prefixes in nicklist 2009-02-17 19:23:16 +01:00
Sebastien Helleu eaf3319ed3 Free all proxies before exiting 2009-02-17 13:58:27 +01:00
Sebastien Helleu f87432f98f Fix typo in FAQ 2009-02-11 22:01:23 +01:00
Sebastien Helleu 0adf80cb12 Fix build of IRC CTCP message (bug #25560) 2009-02-11 21:44:15 +01:00
Sebastien Helleu 85d19bc363 Add irc and jabber options to display nick modes in input_prompt bar item 2009-02-11 10:02:35 +01:00
Sebastien Helleu af967f9ff9 Add missing IRC command 330 (whois, logged in as) 2009-02-11 09:31:05 +01:00
Sebastien Helleu 557b04c6a0 Add missing refresh for windows separators (vertical splits) 2009-02-10 22:01:14 +01:00
Sebastien Helleu 0d4513a137 Authorize IRC commands msg/notice/query/quote outside IRC buffers if option "-server" is given 2009-02-10 13:01:04 +01:00
Sebastien Helleu e42e3e309e Add option "-server" to IRC commands: msg, notice, query, quote 2009-02-10 12:52:12 +01:00
Sebastien Helleu edba781297 Add irc info "irc_nick" to get current nick on a server 2009-02-10 12:05:39 +01:00
Sebastien Helleu b2f34610fd Fix nick displayed by command /msg (bug #25518) 2009-02-08 23:34:34 +01:00
Sebastien Helleu c3915eaf04 Add help about alias list for /alias command (task #9087) 2009-02-08 23:20:14 +01:00
Sebastien Helleu 7c626c2786 Add new signals "irc_channel_opened" and "irc_pv_opened" 2009-02-08 22:07:45 +01:00
Sebastien Helleu 29bc0276bc Add hook type "command_run", add new function "string_remove_color" in plugin API (task #9089) 2009-02-08 19:52:16 +01:00
Sebastien Helleu a253398165 Fix color decoding function 2009-02-08 19:49:56 +01:00
Sebastien Helleu 2fce36c2ad Add property "input" for function buffer_get_string in plugin API 2009-02-08 19:49:35 +01:00
Sebastien Helleu c683673047 Fix bug in irc color decoding: reset color if color code is not followed by a color number 2009-02-07 18:49:46 +01:00
Sebastien Helleu 94aa12d8ff Add numeric codes for low chars (< 32) in irc and jabber debug buffers 2009-02-07 18:49:12 +01:00
Sebastien Helleu 1491699706 Add hidden command line option --no-dlclose to remove dlclose() for unloaded plugins (useful when using valgrind) 2009-02-07 08:11:01 +01:00
Sebastien Helleu 52f68cc615 Add some extra tests on arguments for config functions 2009-02-05 18:09:58 +01:00
Sebastien Helleu d7bec49b71 Fix crash with nicklist bar when position is top/bottom and filling is columns 2009-02-05 14:45:26 +01:00
Sebastien Helleu a26e57eebe Add missing include of time.h in irc.c 2009-02-04 17:19:47 +01:00
Sebastien Helleu 7cc562be45 Fix 14 memory leaks (in core, gui, irc, jabber, logger, script plugins) 2009-02-04 14:12:46 +01:00
Sebastien Helleu aeb11f7e05 Remove obsolete arguments in bar item callback, in tcl plugin 2009-02-04 12:38:37 +01:00
Sebastien Helleu 2320ef2214 Remove obsolete arguments in bar item callback, in script plugins 2009-02-04 12:38:03 +01:00
Julien Louis 0904715603 Add check for python 2.6 2009-02-02 17:10:02 +01:00
Sebastien Helleu 10b356d97e Update doc (missing relay option and update of /filter arguments) 2009-02-02 16:49:31 +01:00
Sebastien Helleu 78f9265937 Improve docgen.pl script: write autogen files only if they are different 2009-02-02 16:49:02 +01:00
Sebastien Helleu 323290c83e Fix crash when read marker is moved before first line displayed (when first line of buffer is removed) 2009-02-02 13:53:38 +01:00
Sebastien Helleu 7e12f8596a Fix crash when input bar contains UTF-8 wide chars (larger than screen) (bug #25443) 2009-02-01 18:07:55 +01:00
Sebastien Helleu 9ae942bb9d Add signal weechat_pv for private messages 2009-02-01 13:35:59 +01:00
Sebastien Helleu 5205be4b87 Add function config_unset_plugin in API, fix return code of config_set_plugin 2009-02-01 13:31:20 +01:00
Sebastien Helleu 33e733cb0a Fix nicklist sort with IRC nicks (chan owner and admin first in list) 2009-01-31 23:03:54 +01:00
Sebastien Helleu c0f4dc9863 Sort ChangeLog file by category (core, gui, plugins, ..) 2009-01-31 15:38:51 +01:00
Sebastien Helleu ba8a85a246 Update quickstart guides 2009-01-31 15:38:18 +01:00
Sebastien Helleu af07acb1dc Update FAQ 2009-01-31 15:37:50 +01:00
Sebastien Helleu b05f21f26a Add plugin name in buffer name for filters
For example, freenode.#weechat becomes irc.freenode.#weechat for buffer name
in filter.
2009-01-30 14:59:16 +01:00
Sebastien Helleu b5534e6e05 Fix crash after /upgrade with IRC servers connected via SSL (bug #25398)
We force disconnection of IRC servers connected via SSL, and schedule
reconnection to server after WeeChat restart.
2009-01-30 14:24:54 +01:00
Sebastien Helleu 7ec4d05d2f Update API function weechat_buffer_set in developer guide 2009-01-30 13:23:38 +01:00
Sebastien Helleu e4bbf3ad7e Add one more screen refresh when size of a root bar is changed 2009-01-30 13:17:26 +01:00
Sebastien Helleu 5650f035dd Fix problem with read marker when manually switching to other buffer with some commands like /query 2009-01-30 12:46:44 +01:00
Sebastien Helleu 228ef56860 Fix some bugs with TLS connections in Jabber pluigin (TLS still not working in Jabber) 2009-01-30 12:22:10 +01:00
Sebastien Helleu 16c9217d52 Fix 2 typos in doc 2009-01-29 16:56:47 +01:00
Sebastien Helleu 84d78fed42 Add boolean option to enable relay plugin to listen for clients (disabled by default) 2009-01-28 12:14:03 +01:00
Sebastien Helleu cf2e9ff95d Fix infinite loop when running WeeChat for first time: force whole screen refresh when starting 2009-01-27 16:32:22 +01:00
Sebastien Helleu c31f05859a Use pkg-config to find iksemel library, if available 2009-01-25 19:02:58 +01:00
Sebastien Helleu d5a463b654 Remove compilation warning (unused variable) 2009-01-25 09:27:19 +01:00
Sebastien Helleu c36af7eb8d Fix unread marker set with irc /away command: set unread marker for all servers/channels that are not displayed in a window 2009-01-25 09:05:13 +01:00
Sebastien Helleu f6ebe7a991 Improve refreshs of windows/buffers/bars, fix refresh bug when some bars are hidden 2009-01-25 09:03:53 +01:00
Sebastien Helleu 6e76c45447 Add missing jabber commands in doc 2009-01-17 08:26:42 +01:00
Sebastien Helleu c16c150b93 Remove unused jabber options and jabber servers in autogenerated doc 2009-01-17 08:10:07 +01:00
Sebastien Helleu 19598c4e13 Fix bug with IRC SSL server option 2009-01-15 16:27:08 +01:00
Sebastien Helleu 18a62f1dac Add Jabber plugin (alpha version, many Jabber features are missing)
This commit introduces Jabber/XMPP protocol for WeeChat. It uses iksemel lib.
Please note many major Jabber features are missing:
- roster management (add/remove/.. buddies),
- MUC,
- transports.
It is possible to define servers (with /jabber), connect to them (with
/jconnect), disconnect (/jdisconnect) and chat with buddies (with /jchat).
2009-01-15 15:29:05 +01:00
Sebastien Helleu c717d206cd Remove plugin "debug" from ChangeLog (plugin was removed and merged to core, 2 months ago) 2009-01-14 14:42:16 +01:00
Sebastien Helleu 44c6736d81 Ignore "build*/*" instead of "build/*" for git 2009-01-07 14:28:51 +01:00
Sebastien Helleu 9dd2c1b616 Remove some compiler warnings 2009-01-07 14:27:29 +01:00
Sebastien Helleu d3a62a9434 Do not force "-g" flag when building with cmake, remove option "DISABLE_COMPILE_DEBUG" 2009-01-07 14:26:51 +01:00
Sebastien Helleu c61586baaa Fix typo 2009-01-06 21:40:30 +01:00
Sebastien Helleu c795086e8f Update list of debian files in main Makefile.am 2009-01-06 12:04:57 +01:00
Sebastien Helleu 8dde2dee85 Do not set unread marker on IRC server and channels when reconnecting to IRC server if self nick is away 2009-01-05 11:19:00 +01:00
Sebastien Helleu c2438ec222 Rename options in proxy structure 2009-01-04 23:43:48 +01:00
Sebastien Helleu ba7bb63834 Fix crash when creating bar, rename options in bar structure 2009-01-04 23:19:26 +01:00
Sebastien Helleu df557d2ee6 Add comments for IRC server options 2009-01-04 23:18:22 +01:00
Sebastien Helleu 7748869c64 Fix typo 2009-01-04 14:56:23 +01:00
Sebastien Helleu 7fc3ca76c0 Update highlight words for server and channel buffers when local nick is changed 2009-01-04 14:53:22 +01:00
Sebastien Helleu 46b16ecb89 Add hotlist refresh when a buffer is moved 2009-01-04 11:10:43 +01:00
Sebastien Helleu ce3091c75f Fix exec of IRC command when connecting to server if server buffers are merged, and that server is not the selected server 2009-01-04 10:38:11 +01:00
Sebastien Helleu 88aa905ee3 Remove unused functions and prototypes 2009-01-04 01:05:33 +01:00
Sebastien Helleu 652bca1ffd Add missing pointer to API function "config_option_default_is_null" 2009-01-03 23:29:18 +01:00
Sebastien Helleu 5e24e7c301 Add color for channel name in IRC info/error messages 2009-01-03 13:27:51 +01:00
Sebastien Helleu 703b54f72c Add error message when a command failed, fix typos in aspell plugin 2009-01-03 13:13:37 +01:00
Sebastien Helleu fbb3295e96 Update FAQs 2009-01-03 10:46:40 +01:00
Sebastien Helleu 2115f3f675 Update copyright dates 2009-01-03 10:06:53 +01:00
Sebastien Helleu e7e2da5a9c Add null values for options, new syntax for /set, reintroduce temporary IRC server feature, improve IRC server options, new functions in API 2009-01-02 23:05:23 +01:00
Sebastien Helleu e9b7d2bc46 Add bar, command, network and info functions in english developer guide 2008-12-24 16:52:07 +01:00
Sebastien Helleu b7a0d258c9 Update doc and translations 2008-12-19 18:42:16 +01:00
Sebastien Helleu a9a1b9f83d Add aspell option to check mispelled words during text search in buffer (disabled by default) 2008-12-19 18:36:42 +01:00
Sebastien Helleu 13e3f3c7f0 Fix charset problem with IRC plugin: use server charset if channel charset is not set 2008-12-19 17:43:37 +01:00
Sebastien Helleu b97db3c31e Add some colors in IRC messages from server (for text and nicks) (task #8926) 2008-12-19 17:00:25 +01:00
Sebastien Helleu 7f15535a5c Fix too many refreshs for bars (build content of items when bar is displayed) 2008-12-19 16:47:24 +01:00
Sebastien Helleu 896f509861 Remove obsolete nicklist options, add /bar toggle to hide/show quietly a bar 2008-12-19 13:24:46 +01:00
Sebastien Helleu edd70d4636 Fix bug with xfer transferts (IRC DCC): transfert ended abruptly when terminal was resized 2008-12-19 11:44:02 +01:00
Sebastien Helleu 5596f7e10c Fix bug with pointer conversion for scripts API (return empty string instead of "0x0") 2008-12-19 10:40:49 +01:00
Sebastien Helleu d07a7cedc8 Add sub-items in bars (items glued with "+" as separator instead of comma), add buffer_number default bar item 2008-12-19 10:17:55 +01:00
Emmanuel Bouthenot cfc12b2b8c Update Debian packaging : fix wrong dependency, remove unused files. 2008-12-18 22:34:54 +01:00
Sebastien Helleu 401d3ed12f Fix refresh of bar when changing items inside 2008-12-18 13:47:26 +01:00
Sebastien Helleu e16b12428b Improve /upgrade command: expand "~" with user home, check that binary exists with execution permissions (only if user gives path to binary) 2008-12-17 18:57:30 +01:00
Sebastien Helleu b1b0c759fc Display server, port and IP on IRC server buffer when connection to server is ok 2008-12-17 18:10:56 +01:00
Sebastien Helleu abb6b4d76e Use nick color for display of IRC action messages 2008-12-17 16:36:01 +01:00
Sebastien Helleu adb1fe0747 Improve nick completion: complete first by nicks that highlight me, before nicks speaking without highlight 2008-12-17 15:44:10 +01:00
Sebastien Helleu e3b26523a7 Fix bugs in IRC message parser and use of decoding charset for server messages 2008-12-17 13:39:11 +01:00
Sebastien Helleu 4901cd8145 Add new filling options in /help bar 2008-12-16 13:08:44 +01:00
Sebastien Helleu 3c71e9c990 Remove unneeded space after last column on bar with filling "columns" 2008-12-16 10:52:15 +01:00
Sebastien Helleu 0bdef1013a Set default filling "columns_vertical" for nicklist bar 2008-12-16 10:51:06 +01:00
Sebastien Helleu e69a3f0f0e Add new bar filling types: columns_horizontal and columns_vertical 2008-12-15 22:11:13 +01:00
Sebastien Helleu 507adbe42e Fix bug with option xfer.network.own_ip when sending DCC file 2008-12-15 10:13:37 +01:00
Sebastien Helleu 891d2e3c51 Remove debug message when building content of bar items 2008-12-14 13:25:56 +01:00
Sebastien Helleu ec545c70b1 Add infolists for bars/bar items/bar windows, code cleanup for bars 2008-12-13 19:43:11 +01:00
Sebastien Helleu 6f74945a66 Update doc for /xfer and /relay commands 2008-12-13 19:42:24 +01:00
Sebastien Helleu d310070721 Fix compilation warnings in Perl plugin on FreeBSD 2008-12-12 23:48:48 +01:00
Sebastien Helleu d6bc2d2320 Add missing keys in doc for previous/next buffer 2008-12-12 23:21:05 +01:00
Sebastien Helleu d8819ae71f Source code reorganization for bars and bar windows 2008-12-11 18:16:23 +01:00
Sebastien Helleu 638b86f0b6 Fix compilation warning "dereferencing type-punned pointer will break strict-aliasing rules" 2008-12-10 18:57:43 +01:00
Sebastien Helleu 452a06da96 Fix typo in Makefile.am for relay plugin 2008-12-10 17:28:19 +01:00
Sebastien Helleu 20a1360bd8 Add new plugin "relay", new function "string_format_size" in plugin API 2008-12-10 17:08:56 +01:00
Emmanuel Bouthenot 09fdd1ace3 Update Debian packaging. 2008-12-07 10:34:04 +01:00
Sebastien Helleu 8cf531216c Add nicklist API functions in english developer guide 2008-12-04 16:52:25 +01:00
Sebastien Helleu 866698d42d Fix display problem with color for groups in nicklist 2008-12-04 16:51:58 +01:00
Sebastien Helleu c6f65e8727 Add "away" local variable for IRC buffers (defined when user is away, value is away message) 2008-11-30 09:40:18 +01:00
Sebastien Helleu 265a0cf2a1 Fix bugs with hook_print function in scripts 2008-11-29 23:31:28 +01:00
Sebastien Helleu 003bc0451e Add missing pointer to function "string_build_with_exploded" in plugin API 2008-11-29 23:11:31 +01:00
Sebastien Helleu d8fc604eed Update doc for hook_print API function 2008-11-29 19:04:19 +01:00
Sebastien Helleu bf0b5f5644 Add "displayed" and "highlight" arguments to callback for hook_print 2008-11-29 17:44:42 +01:00
Sebastien Helleu bc00946a0d Add current_window function in plugin API, add window functions in english developer guide 2008-11-29 16:08:55 +01:00
Sebastien Helleu 364aa00ab7 Add some buffer plugin API functions to english developer guide 2008-11-28 16:59:53 +01:00
Sebastien Helleu 45716ee213 Add new plugin API functions in english developer guide 2008-11-27 17:06:41 +01:00
Sebastien Helleu 3c51c0e7c4 Remove argument "switch_to_another" for function gui_buffer_close() 2008-11-27 17:05:59 +01:00
Sebastien Helleu aa77b482ad Fix display of scroll indicator when switching to buffer with free content 2008-11-26 15:14:53 +01:00
Sebastien Helleu 64fdbb0776 Fix option weechat.look.color_nicks_number, value is now immediately applied on nicks by IRC plugin 2008-11-24 09:21:25 +01:00
Sebastien Helleu 2e52e54a3a Add support for more than one proxy, with proxy selection for each IRC server (task #6859) 2008-11-23 23:04:52 +01:00
Sebastien Helleu 09bed16dbd Save last read line (for marker) within /upgrade 2008-11-22 17:47:25 +01:00
Sebastien Helleu 828e9a835f Add missing options in /help window 2008-11-22 16:31:52 +01:00
Sebastien Helleu 85a6ad6eb8 Fix bug with empty messages displayed 2008-11-22 16:31:36 +01:00
Sebastien Helleu 1dc33f57e2 Remove old and unused color options 2008-11-19 20:53:56 +01:00
Sebastien Helleu 33daa4bc55 Restore call to close callbacks for plugin buffers when unloading plugin 2008-11-18 14:09:19 +01:00
Sebastien Helleu 116a3d5042 Allow command "/away -all" on weechat core buffer 2008-11-18 09:34:22 +01:00
Emmanuel Bouthenot c463b912cc Re-enable proxy usage with rewrited network layer (closes bug #24562). 2008-11-17 22:31:43 +01:00
Sebastien Helleu 4f43cba553 Fix crash when printing a message without any buffer created 2008-11-17 05:34:15 +01:00
Sebastien Helleu 6615379daf Add modifier "weechat_print" for messages printed in buffers (task #8848) 2008-11-16 22:26:04 +01:00
Sebastien Helleu b8da64e669 Add signals when connecting/disconnecting from IRC servers 2008-11-16 22:23:09 +01:00
Sebastien Helleu 7c52a36e23 Fix crash when a perl callback is called in "register" of another perl script 2008-11-16 19:25:24 +01:00
Sebastien Helleu 4174ac5665 Fix typo in doc 2008-11-15 23:29:05 +01:00
Sebastien Helleu 8724fc18af Use of const for some functions returning "char *" 2008-11-15 22:35:12 +01:00
Sebastien Helleu e1d639d7eb Remove unused variable 2008-11-15 18:29:47 +01:00
Sebastien Helleu fdf827d31f Add function utf8_strndup to C plugin API 2008-11-15 18:28:36 +01:00
Sebastien Helleu da748fc653 Reintroduce option "irc.network.send_unknown_commands", save extra data for buffers with /upgrade (title, input data, text search) 2008-11-15 16:33:31 +01:00
Sebastien Helleu 21110ac128 Fix bug with argument replacement in alias ($1,..,$9 and $*) when no argument is given to alias by user 2008-11-14 15:50:07 +01:00
Sebastien Helleu 48ac3c4f98 Catch signal "buffer_renamed" in logger plugin (restart logging for buffer when name has changed) 2008-11-14 14:43:04 +01:00
Sebastien Helleu ac66ce6a74 Add local buffer variable "no_log", to prevent a buffer from logging to disk via logger plugin 2008-11-13 12:01:00 +01:00
Sebastien Helleu d1689d3dd1 Update quickstart doc, fix typos in developer guide 2008-11-12 18:19:39 +01:00
Sebastien Helleu 164fda2a37 Fix crash in weechat_perl_exec() when a callback from another script is executed, fix compilation warnings for Perl on FreeBSD 2008-11-12 10:22:49 +01:00
Sebastien Helleu 50e3eb142d Fix name/short name and local variables of IRC server buffer(s) when merging/splitting servers 2008-11-11 18:57:58 +01:00
Sebastien Helleu f086a33162 Add new default keys for previous/next buffer: ctrl-P,alt-up and ctrl-N,alt-down 2008-11-11 13:37:39 +01:00
Sebastien Helleu 1214f10526 Add function "current_buffer" in script API 2008-11-11 13:36:31 +01:00
Sebastien Helleu 60f7b939be Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/weechat 2008-11-11 11:03:21 +01:00
Sebastien Helleu 0c68d46f3b Fix infinite loop when chat window is too small or not visible at all 2008-11-11 11:03:11 +01:00
Sebastien Helleu f74fd05da7 Disable highlight for IRC messages from local nick 2008-11-10 22:41:32 +01:00
Sebastien Helleu cecc1f9ea7 Fix bug with default value of options written in config files when file does not exist 2008-11-10 18:30:31 +01:00
Sebastien Helleu 861bc2fbfd Add some API functions in Developer guide 2008-11-10 18:05:48 +01:00
Sebastien Helleu 10e3fb5143 Fix pdf output of developer guide 2008-11-08 00:13:53 +01:00
Sebastien Helleu 67d8312f46 Update developer guide (add 50% of new C API functions) 2008-11-07 18:27:16 +01:00
Sebastien Helleu bc5bb29970 Fix bug with proxy connection 2008-11-07 08:17:16 +01:00
Sebastien Helleu b7d09bf2a1 Add missing doc files for autotools 2008-11-06 19:02:41 +01:00
Sebastien Helleu 9498a777ad Add doc for default plugins in user guide 2008-11-06 18:55:43 +01:00
Sebastien Helleu 2204935f3e Add local variables for IRC debug buffer 2008-11-06 17:29:24 +01:00
Sebastien Helleu c4590b7839 Fix buffer search in fifo plugin: name is now plugin.buffer (like irc.freenode.#weechat) 2008-11-06 13:13:45 +01:00
Sebastien Helleu 3c1c398cd4 Update docgen.pl and doc about options for logger and core 2008-11-06 10:18:58 +01:00
Sebastien Helleu 885df965e5 Rename developer doc (-devel to -dev) 2008-11-06 09:47:52 +01:00
Sebastien Helleu 60d95151c5 Clean old docs output before building 2008-11-05 18:52:48 +01:00
Sebastien Helleu a17065492f Split doc into 2 docs: user and developer guide 2008-11-05 18:28:25 +01:00
Sebastien Helleu a6c4e4ed76 Add weechat_highlight signal, sent when a line with highlight is displayed 2008-11-05 12:37:04 +01:00
Sebastien Helleu bffe879db8 Fix crash in weechat_perl_exec() after unloading a Perl script 2008-11-05 12:36:17 +01:00
Sebastien Helleu bc0237cd0d Fix crash when loading Perl scripts on FreeBSD 2008-11-05 12:33:50 +01:00
Sebastien Helleu 596d60b5d9 Add completion with "core" for command /debug 2008-11-05 12:23:36 +01:00
Sebastien Helleu fe16ce9915 Add debug messages for hooks when core debug >= 2 2008-11-05 12:23:06 +01:00
Sebastien Helleu d32b22f76f Fix bug with pointer conversions on 64 bits architecture 2008-11-04 15:34:44 +01:00
Sebastien Helleu e2a1966095 Fix hotlist: do not add a buffer if it is displayed by at least one window 2008-11-03 19:45:59 +01:00
Sebastien Helleu c15c536b35 Fix bug with IRC ignore (a ignore on nick was ignoring othernick), fix completion of command /ignore, remove obsolete alias /unig 2008-11-03 18:56:04 +01:00
Sebastien Helleu 12bc7f13e1 Add detection of system clock skew, reinitialize all timers when this happens 2008-11-03 17:04:49 +01:00
Sebastien Helleu fcd08f8ee4 Update doc 2008-11-02 18:58:04 +01:00
Sebastien Helleu 6e69f7f3ce Remove debug plugin (merged to core), new debug variable for each plugin (no more signals for setting debug) 2008-11-02 18:54:25 +01:00
Julien Louis 640ff6b51c Backtrace feature is shipped by an external library on FreeBSD (and maybe others)
Link against that library if installed
2008-11-01 23:03:56 +01:00
Sebastien Helleu 4e342270a1 Add description of infos and infolists for commands /demo_info and /demo_infolist 2008-11-01 18:05:30 +01:00
Sebastien Helleu 83444b9257 Add infolist "plugin", with list of plugins 2008-11-01 18:04:56 +01:00
Sebastien Helleu 79f0cb9a5c Another fix to timer hook when day of local time is different from UTC 2008-11-01 15:22:56 +01:00
Sebastien Helleu 20219ef1a3 Fix timer hook when daylight saving time is enabled (problem with "day changed" message) 2008-11-01 15:01:08 +01:00
Sebastien Helleu b400448fc1 Update doc 2008-10-31 13:15:54 +01:00
Sebastien Helleu f766dc2f11 Allow mask or regex for IRC command /ignore (mask is default) 2008-10-31 13:12:56 +01:00
Sebastien Helleu b5eeb9254e Update highlight tags for all IRC buffers when option irc.look.highlight_tags is changed 2008-10-31 11:38:54 +01:00
Sebastien Helleu 72c0321b54 Fix backlog in logger plugin (empty line incorrectly displayed at the end of backlog) 2008-10-31 10:32:53 +01:00
Sebastien Helleu a0d233bd4e Fix highlight on lines displayed with /upgrade 2008-10-31 08:22:13 +01:00
Sebastien Helleu 5fb5cda58e Rename IRC tags irc_cmd_xxx to irx_xxx 2008-10-31 08:21:49 +01:00
Sebastien Helleu 1bfa9d48c5 Fix tag of message displayed by IRC command invite 2008-10-31 08:12:48 +01:00
Sebastien Helleu e1e0e83eb2 Fix default value for option irc.look.highlight_tags 2008-10-30 18:43:40 +01:00
Sebastien Helleu 6f65f647f8 Fix clear of buffers with free content (allowed, but not from user with /buffer clear) 2008-10-30 18:09:45 +01:00
Sebastien Helleu 09524c17b0 Update ChangeLog (task #6687 done) 2008-10-30 17:48:14 +01:00
Sebastien Helleu 6f442bbfc1 Add new features to logger plugin (command /logger, log level, level by buffer, mask by buffer, ..), fix some bugs
New features:
- new command /logger
- log level, to log only some messages, according to importance (task #8592)
- level by buffer: custom level for some buffers (or group of buffers)
- log filename mask by buffer (or group of buffers)
- marker line is added after display of backlog
- add "delete" callback for config file sections
- add "mkdir_parents" function to plugin API
- remove old log options in IRC plugin

Bug fix:
- marker line is set only when user switches buffer (not when a plugin force
  switch, like IRC plugin does when opening server or channel buffer)
- backlog fixed (sometimes lines were not properly displayed)
2008-10-30 17:18:28 +01:00
Sebastien Helleu 2f68ec7f36 Fix IRC command /away -all 2008-10-28 09:51:38 +01:00
Sebastien Helleu 163af83edd Remove debug message when using command /away 2008-10-28 09:42:57 +01:00
Jiri Golembiovsky eabbe044d4 Updated czech translations 2008-10-28 02:08:18 +01:00
Sebastien Helleu e8762be011 Fix color of IRC nick mode (op, voiced, ..) in chat window 2008-10-27 17:49:59 +01:00
Sebastien Helleu 1e3be56b5f Fix use of some uninitialized variables 2008-10-27 17:27:58 +01:00
Sebastien Helleu 66bb1fad2a Add name of plugins next to plugin pointers in dump (to log file) 2008-10-27 15:51:44 +01:00
Sebastien Helleu 47443d2977 Add missing include of time.h in irc-channel.c 2008-10-27 14:10:41 +01:00
Sebastien Helleu 129e31b7b6 Fix output of backtrace in log file 2008-10-27 11:44:59 +01:00
Sebastien Helleu 61837cac8e Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/weechat 2008-10-27 11:35:17 +01:00
Sebastien Helleu 3fa0048198 Fix reload of config file plugins.conf 2008-10-27 11:34:56 +01:00
Sebastien Helleu 1f399f2ee8 Fix infinite loop in fifo plugin when removing fifo pipe 2008-10-27 11:34:36 +01:00
Julien Louis df2ca7b4a6 Add missing backtrace() function check in cmake 2008-10-27 00:21:58 +01:00
Sebastien Helleu f126daa896 Fix option irc.network.away_check 2008-10-26 20:00:50 +01:00
Sebastien Helleu b5730ec025 Display readable values for flag of fd hooked with /plugin listfull command 2008-10-26 17:45:14 +01:00
Sebastien Helleu 62e4f7241a Fix crash when switching server with alt+s 2008-10-26 16:40:16 +01:00
Sebastien Helleu c1fc320025 Do not clear buffer content with /buffer clear for buffers with free content 2008-10-26 12:33:54 +01:00
Sebastien Helleu da5e813536 Add missing XML files authors.xx.xml in makefiles 2008-10-26 11:51:52 +01:00
Sebastien Helleu 03f9f8fd6b Rename version to 0.2.7-dev (instead of 0.2.7-dev-protocols) 2008-10-26 11:34:45 +01:00
Sebastien Helleu b37588fc36 Fix Makefile for alias plugin 2008-10-26 11:33:41 +01:00
Sebastien Helleu d06028d45a Fix creation of filters (many filters with same content are authorized) 2008-10-25 20:11:02 +02:00
Sebastien Helleu b712ed09d7 Add smart join/part/quit message filter in IRC plugin, add names for filters 2008-10-25 19:13:43 +02:00
Sebastien Helleu 707034442a Use of toggle option for /filter to toggle a filter on/off 2008-10-24 21:18:39 +02:00
Sebastien Helleu 4c8b4d6080 Add "enabled" flag for each filter (now possible to disable only one or some filters) 2008-10-24 18:17:10 +02:00
Sebastien Helleu 77d90fc1bb Save/restore buffer local variables during upgrade 2008-10-24 17:33:54 +02:00
Sebastien Helleu 9e0052f35f Add free() for buffer local variables pointers when removing them 2008-10-24 16:07:05 +02:00
Sebastien Helleu e37f7fa2b2 Add local variables for buffers, fix alias creation, use of local variables $nick/$channel/$server in alias 2008-10-24 15:12:32 +02:00
Sebastien Helleu d19162626b Fix display of IRC channel and private name in bar item 2008-10-24 14:38:11 +02:00
Sebastien Helleu f8f7c04633 Display IRC server errors in appropriate buffer (channel or private if found) 2008-10-24 12:39:52 +02:00
Sebastien Helleu 64c227b513 Add option to toggle display of IRC channel modes after buffer name in status bar (irc.look.display_channel_modes) 2008-10-23 18:40:19 +02:00
Sebastien Helleu a965be6802 Add function buffer_set_pointer in plugin API 2008-10-22 12:58:05 +02:00
Sebastien Helleu 533155816d Add some buffer infos in IRC infolists hooked 2008-10-20 11:31:02 +02:00
Sebastien Helleu a33e44c7e1 Add new property "short_name" for buffers 2008-10-20 11:01:51 +02:00
Sebastien Helleu 00dbaf7e64 Fix text search in buffer: search with prefix in addition to the message 2008-10-20 10:03:57 +02:00
Sebastien Helleu ac3c919376 Merge branch 'protocols' of ssh://git.sv.gnu.org/srv/git/weechat into protocols 2008-10-20 09:58:05 +02:00
Sebastien Helleu 213783b0c1 Fix refresh of nick in input bar when switching IRC server 2008-10-20 09:57:47 +02:00
Julien Louis 3044bfc41d Fix build with cmake 2.4 which was accidentally broken 2008-10-19 15:55:36 +02:00
Sebastien Helleu 807895bd38 Add color decoding in title for IRC channels (task #6030) 2008-10-19 13:33:40 +02:00
Sebastien Helleu f850bdd5e9 Fix display of special chars (< 32) in input bar (for exemple to send colors to IRC channel) 2008-10-19 13:22:14 +02:00
Sebastien Helleu edb95a8fd2 Fix lock when disconnecting SSL server that is not yet successfully connected 2008-10-19 12:36:38 +02:00
Sebastien Helleu cb56b7bc8e Fix restore of windows with saved layout 2008-10-19 10:37:15 +02:00
Sebastien Helleu 2bd4428f45 Remove unused option look.input_format, fix refresh bug with input prompt for IRC buffers 2008-10-18 22:36:18 +02:00
Sebastien Helleu 3b81a4746a Add new argument "value" to function config_new_option 2008-10-18 19:31:40 +02:00
Sebastien Helleu 8511f9a77e Fix compilation of aspell with autotools
Sources are renamed with prefix "weechat-", to prevent conflict between two
files called "aspell.h".
2008-10-18 18:04:02 +02:00
Sebastien Helleu bbe01eff19 Fix malloc of 0 byte in aspell plugin 2008-10-18 17:54:33 +02:00
Sebastien Helleu 091c07d571 Free layout and chat buffer on exit 2008-10-18 17:54:16 +02:00
Sebastien Helleu 843451f9bf Remove aspell real_time option (not used any more), update aspell doc 2008-10-18 16:20:10 +02:00
Sebastien Helleu ac107802fd Aspell plugin is born again 2008-10-18 16:03:16 +02:00
Julien Louis 1f10ee141a - Add FindTCL.cmake to fix FreeBSD detection
- Only call Tcl_CreateNamespace when available in the public API,
  fix compatibility with older release
2008-10-18 13:54:59 +02:00
Sebastien Helleu eab690aaaf Fix wrong hotlist after upgrade when /upgrade is done with empty hotlist 2008-10-14 11:15:22 +02:00
Sebastien Helleu 2a7d572ff1 Fix restore of WeeChat main buffer after /upgrade 2008-10-14 11:06:15 +02:00
Sebastien Helleu 1bb38a732a Fix use of size_max value for bars, fix refresh problem when bar size is changed 2008-10-14 10:33:16 +02:00
Sebastien Helleu c83eef6e82 Remove old title/nicklist/status/input, use of new bars 2008-10-12 19:20:26 +02:00
Sebastien Helleu f6073c8076 Fix refresh of bars when switching active buffer 2008-10-11 16:17:43 +02:00
Sebastien Helleu cd008a1b5c Add exemple of command for server in quickstart guide 2008-10-11 11:18:22 +02:00
Sebastien Helleu 383401900e Add space before day changed message, fix refresh when setting unread marker for buffer(s) 2008-10-11 10:03:53 +02:00
Sebastien Helleu e0c3179f87 Fix name of buffer in bar item for IRC channel when it is closed (kicked or part done) 2008-10-11 09:44:33 +02:00
Sebastien Helleu 8405b55a2e Fix refresh bugs with scroll keys (bug #21738) 2008-10-11 09:33:43 +02:00
Sebastien Helleu f86f306ce2 Fix some display bugs with read marker line, history, max prefix length, and chat refresh (bug #23153)
Some info about bugs fixed:
- when marker line (dotted) was on top of window (and not visible), this caused
  bug on last lines of buffer (not refreshed)
- marker line is not set for a buffer after a switch, only if buffer it not
  displayed in other window
- when we delete lines in a buffer (if lines > weechat.history.max_lines), we
  force a full refresh of chat if remaining lines is < to chat height
  and we compute again max prefix length for buffer (before max prefix length
  was always incremented, never decremented)
2008-10-11 08:55:26 +02:00
Sebastien Helleu bc8f82c3d6 Fix channel modes in status bar item for IRC plugin (do not display parenthesis when there's nothing to display inside) 2008-10-10 16:23:41 +02:00
Sebastien Helleu 349371197c Add 2 new default bar items (input_paste and input_search), used by default input bar 2008-10-10 15:58:11 +02:00
Sebastien Helleu bfc9751fb7 Clean doc/xx/ directory after build with autotools 2008-10-10 15:01:20 +02:00
Sebastien Helleu 11b6aaebb9 Fix nick modes in input bar item for IRC plugin (do not display parenthesis when there's nothing to display inside) 2008-10-10 15:00:17 +02:00
Sebastien Helleu 80018210eb Use key shift-tab to force partial completion (when no completion is pending), remove automatic partial completion on option names
Behaviour of shift-key stays the same if there's a completion found, it completes with previous completion found.
2008-10-10 14:02:25 +02:00
Sebastien Helleu 5d07aa14ed Add function to get plugin name (return "core" for WeeChat core) 2008-10-08 19:04:05 +02:00
Sebastien Helleu 0e053e072b Fix /reload command (now reloads config files with no reload callback) 2008-10-08 16:03:59 +02:00
Sebastien Helleu 4f9843f84c Add config file logger.conf (replaces old logger options in plugins.conf) 2008-10-08 15:50:59 +02:00
Sebastien Helleu d5b78f0d8f Add backlog for IRC channel and private buffers 2008-10-07 14:29:46 +02:00
Sebastien Helleu 44944ef01f Add Tcl script plugin (thanks to Dmitry Kobylin) 2008-10-05 19:06:46 +02:00
Sebastien Helleu 269bf55b1e Update autogen xml doc files 2008-10-05 18:59:58 +02:00
Sebastien Helleu 93f3d42c90 Split default bars creation in many functions 2008-10-04 11:39:28 +02:00
Sebastien Helleu b18a61984f Fix bug with IRC notices for channel: display them in channel instead of server buffer (bug #18730) 2008-10-03 18:09:23 +02:00
Sebastien Helleu dfaa43ff17 Add color for marker on lines where text sought is found 2008-10-03 17:18:25 +02:00
Sebastien Helleu 01ae24ed08 Add missing IRC command 369 (end of whowas) 2008-10-03 16:57:28 +02:00
Sebastien Helleu bc3e5a6f7f Add missing hooks to ChangeLog 2008-10-03 14:57:01 +02:00
Sebastien Helleu 97a2c7bc39 Add missing IRC command 328 (channel url) 2008-10-03 14:54:00 +02:00
Sebastien Helleu e2b60e73c2 Do not write "--" or "++" indicators for bars with items where cursor is moved (like input_text) 2008-10-03 14:22:20 +02:00
Sebastien Helleu b389da832f Fix horitonzal scroll (X) in bars 2008-10-03 12:59:11 +02:00
Sebastien Helleu 6fc2163200 Fix bug with nicklist bar item: remove last new line when used on top or bottom of window 2008-10-03 12:58:42 +02:00
Sebastien Helleu 239dd464d5 Add new option scroll_page_percent to choose percent of height to scroll with page_up and page_down keys (task #8702) 2008-10-02 18:54:06 +02:00
Sebastien Helleu 2ffd141cf4 Add new /layout command and save_layout_on_exit config option, to save/restore windows and buffers order (task #5453) 2008-10-02 18:03:27 +02:00
Sebastien Helleu f51f02547e Fix autorejoin of keyed channels (bug #24131) 2008-10-02 15:27:37 +02:00
Sebastien Helleu 932c5760ed Fix bug with channel modes in buffer_name bar item (IRC plugin) 2008-10-02 15:26:09 +02:00
Sebastien Helleu c2852e9201 Fix refresh of bar item "input_text" when it is used in a root bar 2008-10-01 15:24:16 +02:00
Sebastien Helleu 013e039241 Fill items in bars with spaces when filling is vertical 2008-10-01 12:25:40 +02:00
Sebastien Helleu f51e3020e1 Fix wrong include path 2008-09-30 16:38:40 +02:00
Sebastien Helleu 12421a67da Set unread marker for IRC server/channels/pv buffers when using /away command 2008-09-30 15:39:25 +02:00
Sebastien Helleu 9fa560300f Fix some memory leaks 2008-09-30 12:13:00 +02:00
Sebastien Helleu b4b1bf0522 Update some autogen xml doc file (weechat and irc commands) 2008-09-30 10:42:14 +02:00
Sebastien Helleu 6274ffc8e1 Remove obsolete autogen xml doc files 2008-09-30 09:32:55 +02:00
Sebastien Helleu 813e40632b Fix bug with arguments of function "config_new_option" in scripts API 2008-09-29 18:30:15 +02:00
Sebastien Helleu 966541d416 Remove debug message 2008-09-29 16:33:50 +02:00
Sebastien Helleu b706ee15dc Fix bug with IRC nick modes (was set when receiving channel modes) 2008-09-29 15:45:45 +02:00
Sebastien Helleu 471a7dda67 Add some missing functions in API: hook_connect and infolist creation 2008-09-26 13:26:41 +02:00
Sebastien Helleu 8799fe6963 Add nick modes in bar item "input_prompt" for IRC plugin 2008-09-25 14:25:33 +02:00
Sebastien Helleu 45e1ec094a Fix crash with ping and action IRC messages (bug ##24373) 2008-09-25 08:09:46 +02:00
Sebastien Helleu ace2d20e33 Fix /upgrade when there is one buffer for all IRC servers 2008-09-24 19:39:17 +02:00
Sebastien Helleu 0fd3f8b6eb Option irc.look.one_server_buffer reintroduced (all IRC servers in one buffer) 2008-09-24 18:59:24 +02:00
Sebastien Helleu 6555ff5c7b Fix background bug with bar item "buffer_name" for IRC plugin 2008-09-23 15:48:11 +02:00
Sebastien Helleu 948f47de6b Fix help of /bar command 2008-09-23 15:47:48 +02:00
Sebastien Helleu 1b11f7eb67 Fix bug when changing options look.set_title and look.save_on_exit (bug #24350) 2008-09-23 07:50:56 +02:00
Sebastien Helleu f67daef914 Fix network connection for hostnames resolving to several IPs: try all IPs in list until one succeeds (bug #21473, debian bug #498610) 2008-09-22 17:15:35 +02:00
Sebastien Helleu 87fd5c83ca Return IPv4/IPv6 address to connect hook callback when connection is ok (used by IRC plugin to display IP of IRC server) 2008-09-22 16:30:02 +02:00
Sebastien Helleu 0bfa1ee9ba Fix display of away indicator in irc buffer name bar item 2008-09-22 07:46:50 +02:00
Sebastien Helleu 1129a1f3e5 Remove compilation warning about unused variables in perl plugin 2008-09-22 07:45:17 +02:00
Sebastien Helleu f9722d4b23 Add away indicator in "buffer name" bar item (for IRC plugin) 2008-09-21 21:31:32 +02:00
Sebastien Helleu a8b12f2597 Add IRC bar items (buffer name, lag indicator), use bar items from plugins with callback to core items if not found 2008-09-21 19:32:41 +02:00
Sebastien Helleu e1bb85457a Add doc autogen files to .gitignore 2008-09-21 19:11:47 +02:00
Sebastien Helleu 9c4f98e278 Replace french word "pourcentage" by percentage 2008-09-18 18:53:35 +02:00
Sebastien Helleu c572e393e7 Remove "category" for buffers (keep only name). 2008-09-18 18:44:03 +02:00
Sebastien Helleu c3df7da641 Fix help of /demo_infolist command 2008-09-15 14:48:36 +02:00
Sebastien Helleu 2ff988d352 Fix bug with line filtering on buffers with free content 2008-09-15 14:48:16 +02:00
Emmanuel Bouthenot da4e0e03a5 Fix probable pthread mutex lock on hppa architecture with perl plugin (Debian Bug #495080). 2008-09-07 16:57:39 +00:00
Emmanuel Bouthenot 479ce5d3ca Enable Large File Support. 2008-09-07 12:58:47 +00:00
Sebastien Helleu ae612a811b Many changes in doc 2008-09-05 18:52:59 +02:00
Sebastien Helleu e43dd39646 Reintroduce /ignore command to ignore IRC nicks/hosts, using regex 2008-09-03 18:20:35 +02:00
Sebastien Helleu 909d123692 Update translations 2008-09-03 10:10:33 +02:00
Sebastien Helleu cd586cda77 Add infolist for list of filters ("filter") 2008-09-03 10:09:22 +02:00
Sebastien Helleu 209df25bdb Add "no_filter" tag, to prevent some lines to be filtered (like output of /filter command) 2008-09-03 09:39:08 +02:00
Sebastien Helleu 94c9b21450 Generate list of infos and infolists hooked for documentation (via docgen.pl script) 2008-09-02 17:31:28 +02:00
Sebastien Helleu 95b636c24c Add missing fifo sources for translations 2008-09-02 17:30:41 +02:00
Sebastien Helleu e7dcf13764 Add description for info and infolist hooks 2008-09-02 17:02:59 +02:00
Sebastien Helleu e756f4770a Add new hooks in plugins: info (fifo_filename) and infolists (alias, logger_buffer, xfer) 2008-09-02 15:42:20 +02:00
Sebastien Helleu b03393fd42 Add hotlist infolist 2008-09-02 11:56:38 +02:00
Sebastien Helleu 1b726d3c71 Fix refresh bug with bars when items are empty and size is zero (auto) 2008-09-02 10:38:06 +02:00
Sebastien Helleu aca489be93 Add --disable-doc option for configure (task #8576) 2008-08-30 12:40:39 +02:00
Sebastien Helleu b09f7596e2 Minor changes in doc (intro and install) 2008-08-30 12:20:16 +02:00
Sebastien Helleu c726a65833 Update of english and french quickstart guides 2008-08-30 10:49:46 +02:00
Sebastien Helleu 7f9557e88e Convert all XML doc files to UTF-8 charset 2008-08-30 10:49:19 +02:00
Sebastien Helleu 9e134e6a09 Fix completion for /demo_infolist command 2008-08-30 00:32:32 +02:00
Sebastien Helleu 0839b359f9 Add new hooks (info and infolist), IRC plugin now return infos and infolists 2008-08-30 00:25:56 +02:00
Sebastien Helleu eb57354984 Clear nicklist for all channels when disconnected from IRC server 2008-08-26 18:01:11 +02:00
Sebastien Helleu 451dd58f16 Add nick filtering example in /help filter 2008-08-24 19:16:03 +02:00
Sebastien Helleu 0003ae9251 Add some examples in /help filter 2008-08-24 18:31:13 +02:00
Sebastien Helleu be7f17237f Remove old buildxml.pl script (replaced by docgen.pl) 2008-08-24 12:51:14 +02:00
Sebastien Helleu b7a60502ed New script docgen.pl to build XML doc files with commands and options for core and plugins 2008-08-24 12:48:51 +02:00
Sebastien Helleu 2b8aa56917 Fix crash with filters and day change lines 2008-08-24 09:12:06 +02:00
Sebastien Helleu b009f29021 Add some variables in infolist for config options 2008-08-24 08:57:59 +02:00
Sebastien Helleu 74d595498d Add hook infolist to plugins API, fix bugs with gettext in plugins 2008-08-22 21:34:29 +02:00
Sebastien Helleu 4185de5219 Fix translation bugs 2008-08-22 12:24:24 +02:00
Sebastien Helleu 0a211bdc49 Fix IRC /server command, fix bugs with IRC servers options, remove temporary server feature 2008-08-22 12:16:09 +02:00
Sebastien Helleu cba1ebdbf4 Change version from 0.2.7-dev to 0.2.7-dev-protocols, to prevent confusion with git main branch 2008-08-21 11:39:52 +02:00
Sebastien Helleu 9de580a85b Fix missing self nick display with /msg command 2008-08-21 10:53:12 +02:00
Sebastien Helleu 2c01447358 Fix french translation of /invite command 2008-08-20 15:21:20 +02:00
Sebastien Helleu b76d7e4a5c Reintroduce /upgrade command, working only with core and IRC plugin today
Command will be improved in near future and other plugins like xfer
will be modified to manage upgrade process.
2008-08-19 23:22:52 +02:00
Jiri Golembiovsky ff1983533b Updated czech translations 2008-08-02 22:12:14 +02:00
Sebastien Helleu 43029de8f5 Fix display bug with some weird UTF-8 chars (bugs #19687 and #23943) 2008-07-28 18:20:13 +02:00
Sebastien Helleu 8218151c31 Fix problem with logging of lines "Day changed to" (not logged any more to file) (bug #23886) 2008-07-19 09:37:25 +02:00
Sebastien Helleu 103b627c1d Fix bug with buffer_search function in scripts (with empty arguments, to find current buffer) 2008-07-18 18:33:50 +02:00
Sebastien Helleu 7f7765f7cf Add signals for IRC messages (recv/sent) 2008-07-18 11:16:20 +02:00
Sebastien Helleu fe302c1722 Fix bug with input line when it starts with "//" (command is no more executed) 2008-07-18 08:23:59 +02:00
Sebastien Helleu f93837d5c8 Split "filling" bar value into "filling_top_bottom" and "filling_left_right" to have a filling specific to top/bottom bars (vs left/right bars) 2008-07-10 17:53:22 +02:00
Sebastien Helleu abe0e13068 Fix prefix color in nicklist with nick status (op/voice/..) is changed 2008-07-09 11:00:49 +02:00
Sebastien Helleu 4d76b74ab2 Remove error message when bar is not found for scroll 2008-07-08 08:13:22 +02:00
Julien Louis 1788d95a0b Fix build witch cmake 2.6 when the new cmake_policy is used
Signed-off-by: Julien Louis <ptitlouis@sysif.net>
2008-07-07 13:15:50 +02:00
Sebastien Helleu aa39c0c7ca Fix build with cmake: quotes missing around version 2008-07-07 10:01:18 +02:00
Sebastien Helleu 8d68630eb8 Update ChangeLog: bug #16356 fixed (wide chars in input) 2008-07-06 12:13:31 +02:00
Sebastien Helleu f26c80a483 Fix display bug with history_next in input bar (text not erased) 2008-07-06 12:00:31 +02:00
Sebastien Helleu 28fd76930a Update ChangeLog 2008-07-06 11:45:11 +02:00
Sebastien Helleu 7907fee369 Fix display bug with prefix_align_max for highlighted lines 2008-07-06 11:40:23 +02:00
Sebastien Helleu 9d911f6c11 Display number of lines remaining after last line displayed screen in "-MORE-" indicator 2008-07-06 11:36:05 +02:00
Sebastien Helleu 28088484df Fix other bugs with prefix alignment 2008-07-06 10:52:58 +02:00
Sebastien Helleu c32f244fff Fix display bug with prefix_align_max option (bug #23777) 2008-07-06 10:02:26 +02:00
Julien Louis 1f787ddcba Fix some warnings with cmake 2.6
Signed-off-by: Julien Louis <ptitlouis@sysif.net>
2008-07-04 17:31:22 +02:00
Julien Louis e1fbacff77 Fix Lua detection on FreeBSD (and probably other *BSD)
Signed-off-by: Julien Louis <ptitlouis@sysif.net>
2008-07-04 16:47:47 +02:00
Sebastien Helleu a34e9557cc Fix bug with alias arguments ($1,$2,..) and add new default alias /wii (whois $1 $1) 2008-07-03 17:11:48 +02:00
Sebastien Helleu 44f57d35bc Fix "more" indicator when filters are enabled with some lines hidden (bug #23752) 2008-07-03 16:34:33 +02:00
Sebastien Helleu b97a979f61 Add "buffer_nicklist" bar item and scroll feature in bars with /bar scroll 2008-07-03 16:02:03 +02:00
Sebastien Helleu 31f9a82f16 Fix error displayed with /buffer command 2008-06-29 00:23:37 +02:00
Sebastien Helleu 0e2fa128a6 Add "buffer_title" bar item, and create title bar when using /bar default 2008-06-28 12:59:58 +02:00
Sebastien Helleu 2755ee45f6 Fix error with command /window (sometimes error is displayed and should not) 2008-06-28 12:56:09 +02:00
Sebastien Helleu e5745e4d14 Add "default" option to command /bar, to create default bars (today only input and status) 2008-06-28 12:43:57 +02:00
Sebastien Helleu f7706ff400 Fix display bug with alignment for sublines when there's no prefix displayed in buffer 2008-06-28 11:15:33 +02:00
Sebastien Helleu f75f7f64bc Add "auto_log" option to logger plugin, to enable/disable logging (default is on) 2008-06-27 18:39:01 +02:00
Sebastien Helleu 817f546653 Fix error message for /buffer and /window commands when option is unknown 2008-06-27 17:29:56 +02:00
Sebastien Helleu 50f8bf0043 Add input bar item, add "hidden" flag for bars, fix some display bugs with bars 2008-06-27 17:15:26 +02:00
Sebastien Helleu c38eac19e3 Fix refresh bug when bar priority is changed with /set command 2008-06-24 15:30:25 +02:00
Sebastien Helleu f8e8feb018 Fix typo in french doc 2008-06-23 11:28:22 +02:00
Sebastien Helleu 0eb09f84b5 Display [F] for buffer_filter item only if filters are enabled and that at least a filter exists 2008-06-22 18:17:23 +02:00
Sebastien Helleu 6635c7d617 Add delimiter color for bars, fix some bugs with bars 2008-06-22 12:01:50 +02:00
Sebastien Helleu 96a92eacbf Remove infobar in doc 2008-06-21 12:29:06 +02:00
Sebastien Helleu 9d05dcf175 Remove infobar 2008-06-21 11:49:11 +02:00
Sebastien Helleu 2c04e97523 Scroll to bottom of buffer when using smart jump (alt-a) 2008-06-20 16:32:41 +02:00
Sebastien Helleu 72286fe8bb Fix bug with current buffer and hotlist: now it's added to hotlist if user is scrolling up buffer 2008-06-20 16:32:15 +02:00
Sebastien Helleu 6bb860456c Fix hotlist bug: buffer were added to hotlist even if line is filtered (hidden) 2008-06-19 12:23:09 +02:00
Sebastien Helleu 72f587df06 Fix display bug with marker line when there's some filtered lines (marker was not displayed inside hidden lines) 2008-06-19 12:21:11 +02:00
Sebastien Helleu 20a790a119 Update ChangeLog 2008-06-18 17:16:10 +02:00
Sebastien Helleu 66e8d703bd Add new options for completion, optional stop instead of cycling with words found 2008-06-18 16:47:09 +02:00
Sebastien Helleu 47c9c68b40 Fix bug with system clfags when there's "-g" in option name, like "-mpowerpc-gfxopt" 2008-06-17 17:04:55 +02:00
Sebastien Helleu a96f0b53fd Fix help of /notify command 2008-06-17 16:22:42 +02:00
Sebastien Helleu 1c1f966aba Remove old notify code in irc plugin (done by notify plugin) 2008-06-17 16:22:30 +02:00
Sebastien Helleu af87798455 New plugin "notify", new option for debug messages in plugins 2008-06-17 16:01:09 +02:00
Sebastien Helleu 860842240b Remove space before vertical bar (after prefix), if there's no prefix at all in buffer 2008-06-16 12:47:10 +02:00
Sebastien Helleu e69772b93d New defaut time format for buffer lines 2008-06-16 12:46:34 +02:00
Sebastien Helleu e557fe13af Fix weechat slogan (and it's now translated) (bug #23531) 2008-06-15 15:22:33 +02:00
Sebastien Helleu db8cd1779f Update ChangeLog 2008-06-15 15:00:36 +02:00
Sebastien Helleu 9e03812ed7 Add speed limit for DCC files sending (task #6178) 2008-06-15 13:49:24 +02:00
Sebastien Helleu 5f9763f4ad Fix connection bug in xfer plugin 2008-06-15 13:03:31 +02:00
Sebastien Helleu 18a59cf8aa Fix bug/crash when any color option is changed (bug #23566) 2008-06-15 08:56:40 +02:00
Sebastien Helleu e5bf0a498b Fix crash with config reload and bug with empty key section (no more keys after reload if weechat.conf was deleted) (bug #23514) 2008-06-07 15:46:12 +02:00
Sebastien Helleu 9c90a31d35 Fix display bug with prefix when filters are enable: do not count prefix length if line is not displayed 2008-06-07 10:08:53 +02:00
Sebastien Helleu a3f0281d27 Uncomment code for using keys to jump to previous/next highlight in buffer 2008-06-03 18:22:27 +02:00
Sebastien Helleu feb6862971 Disable aspell and trigger plugins compilation by default (they do not compile today) 2008-06-03 12:59:19 +02:00
Sebastien Helleu d9b08cf6e0 Fix compilation problem with strftime in perl/python/ruby plugins 2008-06-03 12:32:35 +02:00
Sebastien Helleu 3a53257032 Add "const" keyword for some "char *" function arguments (core and plugins API) 2008-06-03 10:56:51 +02:00
Sebastien Helleu 2b1d7df86c Add compiler flag -Werror-implicit-function-declaration 2008-06-02 16:57:31 +02:00
Sebastien Helleu 96a3481b69 Add constants for config file read/write/set/unset callbacks 2008-06-02 15:42:43 +02:00
Sebastien Helleu 40ec612e73 Fix compilation bug when gnutls dev lib is not installed 2008-06-02 12:47:27 +02:00
Sebastien Helleu bd436db2bc Reintroduce highlight (move code from irc plugin to core) 2008-06-01 22:09:12 +02:00
Sebastien Helleu 4fa856c773 Update doc 2008-05-26 14:27:35 +02:00
Sebastien Helleu fb1b3e7cff Fix crash with some highlights in IRC plugin (bug #23342) 2008-05-25 22:53:01 +02:00
Sebastien Helleu a5ec4b7dec Fix compilation bug with gnutls for IRC plugin 2008-05-24 10:56:12 +02:00
Sebastien Helleu 1e377d0b06 Fix help and completion of /input command 2008-05-22 13:06:29 +02:00
Sebastien Helleu a4a4e5126c Increase number of authorized calls to same command (recursive calls), from 1 to 5 (more than 5 is considered as looping) 2008-05-22 12:55:37 +02:00
Sebastien Helleu ec6f2c2e17 Fix bug with plugin path when loading with "/plugin load": replace ~ by user home directory 2008-05-22 12:30:56 +02:00
Sebastien Helleu 59853abbbb Fix crash with version comparison (when loading plugin) 2008-05-22 12:30:13 +02:00
Sebastien Helleu ede921cc4d Remove old dcc code, unused now 2008-05-20 17:29:44 +02:00
Sebastien Helleu 0a225e5cce Fix crash when adding nick after call to nicklist_remove_all 2008-05-20 11:05:10 +02:00
Sebastien Helleu 987234faf9 Add hook_connect (background connection to peer) 2008-05-20 11:00:22 +02:00
Sebastien Helleu 8b62667111 Fix crash on FreeBSD 7 with term title reset 2008-05-15 23:23:50 +02:00
Sebastien Helleu 91084108ae Add arguments for plugin init functions and "irc://.." command line option for irc plugin 2008-05-15 22:13:54 +02:00
Sebastien Helleu f67a516419 Update message from IRC plugin when connection fails thru proxy 2008-05-15 17:23:47 +02:00
Sebastien Helleu 7ea3475b86 Merge branch 'protocols' of ssh://git.sv.gnu.org/srv/git/weechat into protocols 2008-05-02 10:29:09 +02:00
Sebastien Helleu 3c7205aab1 Fix compilation warning with snprintf of time_t (long int) on FreeBSD 2008-05-14 14:53:02 +02:00
Sebastien Helleu 673e4ad3be Disable auto-connect for plugins with command line option ("-a") 2008-05-13 14:27:33 +02:00
Sebastien Helleu a804fb1936 Merge branch 'protocols' of ssh://git.sv.gnu.org/srv/git/weechat into protocols 2008-05-11 12:39:08 +02:00
Sebastien Helleu baeea17773 Add "list" and "listfull" options to /xfer command 2008-05-11 12:38:30 +02:00
Sebastien Helleu 2b1dec1679 New input action "set_unread_current_buffer" to set unread marker for current buffer only (task #7286) 2008-05-11 11:40:23 +02:00
Sebastien Helleu 7871b62ef8 Add message about /upgrade command, temporarirly disabled 2008-05-11 11:21:34 +02:00
Sebastien Helleu 53ad9cddc1 Remove unused variables 2008-05-10 17:55:40 +02:00
Sebastien Helleu ff03d203a1 Fix color display bug on lines (when length of line is more than chat width) 2008-05-09 14:33:29 +02:00
Sebastien Helleu 238c6bf5c2 Mask allowed with /unset command (for mass-reset options) (task #6085) 2008-05-07 15:27:19 +02:00
Sebastien Helleu f71c190a97 New option "xfer.file.use_nick_in_filename" for Xfer files (task #7140) 2008-05-07 14:34:10 +02:00
Sebastien Helleu b0e88590b9 Xfer file resume (for DCC protocol) is back 2008-05-07 13:34:04 +02:00
Sebastien Helleu 3751d6565f Xfer list: help about keys, fix of minor display bugs 2008-05-06 19:17:07 +02:00
Sebastien Helleu aea2a0e31a Do not automatically switch to xfer buffer, except by /xfer command 2008-05-06 18:34:04 +02:00
Sebastien Helleu 5689970cb1 Fix bug when user closes buffer with free content: buffers with higher number were not decreased 2008-05-06 18:33:00 +02:00
Sebastien Helleu 6d37f185c0 Fix crash after closing channels/pv (internal channel structure was not deleted) (bug #23178) 2008-05-06 17:39:44 +02:00
Sebastien Helleu 72721d7205 Do not clean all GUI objects when crashing after SIGSEGV (this can cause crash inside crash!) 2008-05-06 17:30:13 +02:00
Sebastien Helleu e9603acb1a IRC DCC chat and file (without resume) reintroduced, via xfer plugin (called by /dcc command) 2008-05-06 16:51:30 +02:00
Sebastien Helleu e7a16efa0c Added new plugin "xfer" (used by irc plugin for DCC file and chat) (warning: initial commit, not working yet) 2008-05-04 20:24:20 +02:00
Sebastien Helleu ff526c3168 Fixed bug with pv buffer name (this name was changed when someone changes nick on server) 2008-05-04 19:16:09 +02:00
Sebastien Helleu 1525adda5a Fix compilation of xfer plugin on FreeBSD 2008-05-02 10:28:39 +02:00
Sebastien Helleu 1f67c87900 Added CPACK options for cmake build, to build source or binary package
Following cmake commands let you build packages:
- "make package_source": build source package (that can be installed with
  cmake or autotools)
- "make package": build binary package
2008-05-02 09:55:46 +02:00
Sebastien Helleu d970784ec7 Fixed typo in default command for page_up key 2008-04-30 23:42:27 +02:00
Sebastien Helleu a57bc43763 Fixed string explode (when there's only delimiters in string) (bug #23123) 2008-04-30 20:09:43 +02:00
Sebastien Helleu bbde23dec6 IRC colors reintroduced 2008-04-30 18:18:14 +02:00
Sebastien Helleu 339be5544f Updated ChangeLog 2008-04-30 15:51:26 +02:00
Sebastien Helleu f8001cbb6e Added comment in source for SIGHUP signal 2008-04-30 15:51:19 +02:00
Sebastien Helleu 886b81498f Fixed crash with scripts when WeeChat calls functions of many scripts at same time with callbacks (bug #23109) 2008-04-30 13:21:21 +02:00
Sebastien Helleu 760e216c5b Removed key functions (replaced by /input command) 2008-04-29 18:27:43 +02:00
Sebastien Helleu 0470d6b8ac Added bar priority (replaces bar number) 2008-04-29 13:23:53 +02:00
Sebastien Helleu 40b75633e7 Added "current" option for infolist "window", to retrieve infolist for current window 2008-04-29 10:18:23 +02:00
flashcode 81558fe7cb Send quit signal when terminal is lost (clean quit: disconnect from servers, ..) 2008-04-28 17:48:49 +02:00
Sebastien Helleu d32893ec41 Merge branch 'protocols' of ssh://git.sv.gnu.org/srv/git/weechat into protocols 2008-04-28 14:37:08 +02:00
Sebastien Helleu 1e4733b237 Added missing call to config hook when an option is "unset" 2008-04-28 14:36:49 +02:00
Sebastien Helleu d96fe9be98 Fixed infinite loop when closing terminal without using /quit command (bug #23078) 2008-04-28 12:29:39 +02:00
Sebastien Helleu c78fabde1f Added marker line (or dotted line), more visible than single magenta char (char is still possible) 2008-04-27 20:44:14 +02:00
Sebastien Helleu ba37b555a3 Fixed nick display as prefix, use of nickmode and nickmode_empty settings again 2008-04-27 13:00:54 +02:00
Sebastien Helleu 8ac96eca04 New default keys for scroll_top/bottom 2008-04-27 11:59:21 +02:00
Sebastien Helleu 4bef226f33 Fixed bug with print_y: now scripts can print empty line to remove a line 2008-04-25 16:40:11 +02:00
Sebastien Helleu cf4f869174 Added completion with possible values for /set, new possible values "++n" and "--n" for integers and colors 2008-04-24 17:20:07 +02:00
Sebastien Helleu 16e11ef25e Fixed bug with bar auto-sizing in windows 2008-04-24 15:39:34 +02:00
Sebastien Helleu ab6684c60a Added filling/color_fg/color_bg options for bars, added config_get/config_get_plugin/config_set_plugin in script API 2008-04-24 12:18:26 +02:00
Sebastien Helleu a5e5ab6e48 Added missing IRC headers files in cmake and automake targets 2008-04-23 10:27:13 +02:00
Sebastien Helleu a6dfefacfe Fixed perl plugin compilation with old gcc versions 2008-04-23 10:26:41 +02:00
Sebastien Helleu 06fd80e210 Added conditions for bar display and bar max size 2008-04-22 18:11:33 +02:00
Sebastien Helleu 9d49beabf1 Updated README 2008-04-21 09:57:13 +02:00
Sebastien Helleu 33dd793143 Fixed broken completion on buffers where nicklist is not displayed (bug #23006) 2008-04-20 23:35:26 +02:00
Sebastien Helleu 53202f4e31 Updated README 2008-04-20 19:22:54 +02:00
Sebastien Helleu 8965bd484c Fixed display bug with nicklist and option weechat.look.nicklist 2008-04-20 18:33:38 +02:00
Sebastien Helleu 198e0e2375 Close all buffers created by a plugin when plugin is unloaded (bug #22978) 2008-04-19 12:02:06 +02:00
Sebastien Helleu 170192936c Fixed bug with print_y in script API 2008-04-19 12:01:15 +02:00
Sebastien Helleu 30b0e2d777 Fixed output of names on channels (now it's sorted/grouped/colored, like v0.2.6) (bug #22935), added "nicklist" infolist 2008-04-19 11:30:15 +02:00
Sebastien Helleu 49a9e6f79a Fixed bug with use of wrong command hooked (bug #22974) 2008-04-19 01:00:02 +02:00
Sebastien Helleu 1486429cf1 Replaced /builtin command by /command, and can now be used to launch commands with same name from different plugins 2008-04-18 15:39:24 +02:00
Sebastien Helleu 22c619040b Fixed /redraw alias 2008-04-18 13:56:18 +02:00
Sebastien Helleu 2d1176bf53 Delete IRC server when last option for a server is deleted (with /unset) 2008-04-18 13:31:52 +02:00
Sebastien Helleu 27a66b2790 Added option name and value when option is changed with /set command 2008-04-18 13:31:17 +02:00
Sebastien Helleu b31c3efc8a Use of /window command for some key bindings with actions on current window (like scroll, ..) 2008-04-18 12:56:21 +02:00
Sebastien Helleu e349ae491a Added infolist "window", scroll in buffers with free content, fixed config hooks (use of string_match) 2008-04-17 17:59:27 +02:00
Sebastien Helleu 62bcf75851 Fixed refresh problem (empty screen after resizing terminal to very small size, then normal size) 2008-04-17 12:30:48 +02:00
Sebastien Helleu b0ea4715ca Fixed crash when nicklist is top/bottom and that we open a new buffer with a nicklist 2008-04-17 12:30:21 +02:00
Sebastien Helleu 9b87c5bb02 Fixed bug with IRC /query command 2008-04-17 10:31:59 +02:00
Sebastien Helleu ae98666bc6 Added "toggle" value for /set on boolean options, fixed refresh bugs, added option type for infolist "options" 2008-04-16 14:44:02 +02:00
Sebastien Helleu 7489ec9a40 Fixed bug with display of nicklist scroll indicator 2008-04-16 12:20:09 +02:00
Sebastien Helleu dae4068a0e Added keys by buffer (useful for buffers with free content that need own keys)
These keys can be set thru API function "buffer_set", for example:
weechat_buffer_set(my_buffer, "key_bind_meta2-A", "/mycommand up");
weechat_buffer_set(my_buffer, "key_bind_meta2-B", "/mycommand down");
weechat_buffer_set(my_buffer, "key_unbind_meta2-B", "");
weechat_buffer_set(my_buffer, "key_unbind_*", "");
These keys are volatile and not saved in any config file. So they must be set
when buffer is open.
2008-04-15 16:40:08 +02:00
Sebastien Helleu 26f5591732 Fixed bug with alias, use current buffer to run commands (bug #22876) 2008-04-15 13:56:20 +02:00
Sebastien Helleu b87d709a70 New format for [bar] section in weechat.conf file, bar options can be set with /set command 2008-04-15 13:50:01 +02:00
Sebastien Helleu 362ce3eca8 Use of "string_explode" to send many messages to IRC server 2008-04-14 15:58:25 +02:00
Sebastien Helleu 2008806fac Updated svensk quickstart doc 2008-04-13 10:49:33 +02:00
Sebastien Helleu 5c8ef8109a Added new default bar item "time" 2008-04-12 23:59:27 +02:00
Sebastien Helleu 0603a7eb30 Added value and default value for options in infolist 2008-04-12 17:32:36 +02:00
Sebastien Helleu 0c9051f38a Fixed IRC /msg command (text was sent twice when sending "nickserv identify") 2008-04-12 10:37:04 +02:00
Sebastien Helleu 60d239c8f7 Fixed minor bugs with help on options 2008-04-12 09:44:14 +02:00
Sebastien Helleu cd1e12250d Added plugin name in beginning of log filenames 2008-04-11 23:11:56 +02:00
Sebastien Helleu edeabd977b Fixed bugs with nicks color and sorting in nicklist 2008-04-11 22:33:29 +02:00
Sebastien Helleu 00e75b9b94 Fixed bugs with weechat_config_get() in plugin API 2008-04-11 22:05:54 +02:00
Sebastien Helleu d975629686 Improved /set command, added /unset command, new name for config files (*.conf) 2008-04-11 18:36:06 +02:00
Sebastien Helleu 8211dd6043 Added auto-resize feature for bars 2008-04-04 15:50:05 +02:00
Sebastien Helleu 48bbd32f12 Bugs fixed with bars 2008-04-03 18:11:32 +02:00
Sebastien Helleu bab03d044b Fixed compilation problems when gnutls dev lib is not found 2008-04-03 16:05:09 +02:00
Sebastien Helleu 8509f777b4 New features and bug fixes with bars 2008-04-03 15:54:21 +02:00
Sebastien Helleu ad199b41ae Fixed display bug with /me command (IRC plugin) 2008-04-03 15:18:59 +02:00
Sebastien Helleu 8117668827 Fixed bugs with filters (regex and refresh of buffers) 2008-04-03 13:08:39 +02:00
Sebastien Helleu 5fd8c304ce Fixed some printf in logger plugin 2008-04-01 11:21:09 +02:00
Sebastien Helleu 032353ce29 Fixed bug with creation of bar window 2008-03-29 22:27:30 +01:00
Sebastien Helleu 4b2e8b37f7 Fixed display bug when first line displayed is not first of buffer 2008-03-29 19:56:58 +01:00
Sebastien Helleu f1db462136 Fixed bug with bars refresh 2008-03-29 15:07:52 +01:00
Sebastien Helleu 7a1a79424e Lines of buffers with free content are now truncated according to window width 2008-03-29 12:29:13 +01:00
Sebastien Helleu 868bc6b63d Added preliminary support of new buffer type, with free content 2008-03-28 18:57:10 +01:00
Sebastien Helleu 34a3c8637d New alias by default: /redraw (same action as Ctrl-L to redraw screen) (task #7806) 2008-03-25 12:55:37 +01:00
Sebastien Helleu 57323fa71e Removed sizeof(char) and useless type casts from void* to another pointer type (patch from Leonid Evdokimov) 2008-03-23 23:00:04 +01:00
Sebastien Helleu 14feea7ab8 Fixed bug with charset in IRC plugin 2008-03-23 20:25:39 +01:00
Sebastien Helleu d9a4bdf629 Check plugin version when loading it, to prevent crash when loading old plugins 2008-03-23 11:41:09 +01:00
Sebastien Helleu 61ca929728 Added tags for lines and custom filtering by tags or regex (task #7674), fixed many memory leaks 2008-03-22 23:36:12 +01:00
Sebastien Helleu 8c4dc57d8e Added comments in code for core sources 2008-03-16 21:25:39 +01:00
Sebastien Helleu 73d1629c76 Update of README and INSTALL files 2008-03-15 20:53:41 +01:00
Sebastien Helleu c4ae815a32 New format for some IRC protocol commands 2008-03-15 17:54:55 +01:00
Sebastien Helleu fe8d679362 Fixed bugs with bars size and refresh 2008-03-15 10:49:42 +01:00
Sebastien Helleu 08522770e8 New format for many IRC protocol commands, bugs fixed in IRC plugin 2008-03-15 09:50:37 +01:00
Sebastien Helleu 13c6866c80 New default settings for action/network prefixes, new default color for network prefix 2008-03-15 09:48:13 +01:00
Sebastien Helleu 68b586c229 Fixed bug in string_explode function, new function string_strip 2008-03-15 09:47:27 +01:00
Sebastien Helleu 9f840e514e Fixed bug in string_explode function, introduced with previous commit 2008-03-14 00:14:27 +01:00
Sebastien Helleu 0890ca2d12 Fixed IRC invite command, use of hosts for IRC kickban command 2008-03-13 23:08:33 +01:00
Sebastien Helleu 5d740b882c Fixed string_explode function, when string ends with separator(s) 2008-03-13 22:50:01 +01:00
Sebastien Helleu 88133a7b9a Fix bug with options startup_command_{before|after}_plugins 2008-03-11 17:53:08 +01:00
Sebastien Helleu 469ff93d91 Added "startup" section in config, new options "startup_command_{before|after}_plugins" 2008-03-11 14:52:57 +01:00
Sebastien Helleu 24ea547090 Fix hotlist update when buffer is current one 2008-03-11 12:27:07 +01:00
Sebastien Helleu 3a5625f2f4 Fixed warnings about "PL_na" in Perl plugin on FreeBSD 2008-03-10 23:11:10 +01:00
Sebastien Helleu 51043471b9 Removed typedef for GUI structure (use only struct) 2008-03-10 14:03:37 +01:00
Sebastien Helleu 44d152a877 Minor changes in /buffer command and topic of WeeChat buffer 2008-03-09 12:03:59 +01:00
Sebastien Helleu 0e869a67c9 Fixed permission of plugin directories (was 0644, set to 0755) 2008-03-09 11:27:11 +01:00
Sebastien Helleu 0bcb399670 Removed compiler warning in Perl plugin on FreeBSD 2008-03-08 18:02:07 +01:00
Sebastien Helleu 69cdb6ca1c Update of README and man page 2008-03-08 12:20:15 +01:00
Sebastien Helleu 93007b29fe Fixed help of /bar command 2008-03-08 11:04:47 +01:00
Sebastien Helleu cec447e4d9 Added missing keywords for cmake gettext build 2008-03-07 23:57:21 +01:00
Sebastien Helleu 324eaa5069 Save of bars in main WeeChat config file (weechat.rc) 2008-03-07 18:39:14 +01:00
Sebastien Helleu 75e8c9a2f5 New option DISABLE_COMPILE_DEBUG for cmake
Default behaviour is debug info enabled, i.e. "-g" flag for C compiler.
2008-03-07 18:38:43 +01:00
Sebastien Helleu b361066e69 Cleanup of Curses and Gtk makefiles 2008-03-07 17:43:30 +01:00
Sebastien Helleu 468422e130 Fix of link with cmake for Curses and Gtk executables 2008-03-07 17:22:32 +01:00
Sebastien Helleu 519f62c11d Added "max_height" parameter for bar item rebuild callbacks 2008-03-07 10:54:33 +01:00
Sebastien Helleu 32e976ae72 Fix of IRC plugin compilation with cmake 2008-03-05 18:33:07 +01:00
Sebastien Helleu 573b4d9dec New default value for logger time format (prevents problem with backlog when locale is changed) 2008-03-05 18:32:46 +01:00
Sebastien Helleu 4d2925ef1c Added file FindPkgConfig.cmake (for old cmake versions) 2008-03-05 18:01:49 +01:00
Sebastien Helleu f6e2e5d38d Fix of cmake build process 2008-03-05 17:11:32 +01:00
Sebastien Helleu 14d393b11e Partial support of bars, with custom items.
Today only root bars are partially working (refresh is not always performed),
and bars are not saved in configuration file. To be continued...
2008-03-05 16:19:10 +01:00
Sebastien Helleu d64e852a38 Fixed bug with config file write (crash on FreeBSD) 2008-03-02 14:50:44 +01:00
Sebastien Helleu 17804ea08b Fix bug with weechat_plugin_end() function, now returns "int" everywhere 2008-02-25 17:31:04 +01:00
Sebastien Helleu 8d23a7b4da Fix Perl plugin build when system Perl is built without multiplicity 2008-02-25 11:07:51 +01:00
Sebastien Helleu 27d1d81f98 Command /whois is now authorized in private without argument (task #7482) 2008-02-24 23:15:23 +01:00
Sebastien Helleu b7513da92b Moved sigsegv function to wee-debug.c 2008-02-24 18:10:11 +01:00
Sebastien Helleu af12f3e99c XML doc files (weechat.XX.xml) splitted in many XML files 2008-02-24 10:45:55 +01:00
Sebastien Helleu c5a30be877 New "irc/debug" buffer (replaces old IRC raw buffer), improved status bar display, fixed nick in input for IRC buffers
The "irc/debug" buffer is displayed when IRC debug is enabled (with "/debug irc" thru debug plugin).
If the buffer is closed, it is reopen when new messages are written, until debug is disabled by user (with "/debug irc").
2008-02-22 14:29:34 +01:00
Sebastien Helleu 3187d9627b Removed kernel info in CTCP VERSION reply (IRC plugin) (task #7494) 2008-02-21 18:46:10 +01:00
Sebastien Helleu dec0e7dc12 Added new plugin "debug" 2008-02-21 17:31:59 +01:00
Sebastien Helleu 155e689a26 Removed typedef for keyboard structures in gui-keyboard.h 2008-02-04 10:36:16 +01:00
Sebastien Helleu 763bb073b4 Added string_tolower/upper in plugins API, added "name_lower_case" option in logger plugin (bug #19522)
The new option "name_lower_case" is "on" by default and will convert category/name to lower case for log filename.
2008-02-04 10:07:19 +01:00
Sebastien Helleu 9f0b722793 Fixed "irc_server_nicks" completion (now completes with current server only) (bug #21558) 2008-02-03 17:09:13 +01:00
Sebastien Helleu 960d10cad0 Removed option "-command" for command "/server" in IRC plugin 2008-02-03 16:34:19 +01:00
Sebastien Helleu 1e0753e08b Use of many addresses for one IRC server (auto-switch when a connexion fails), nicks are now set with one option "nicks" (task #6088) 2008-02-03 16:12:52 +01:00
Sebastien Helleu 181e52affa Fixed bug in Makefile.am of IRC plugin 2008-02-03 00:19:31 +01:00
Sebastien Helleu cb657254bb Replaced options nick1/nick2/nick3 by nicks in IRC servers 2008-02-03 00:09:35 +01:00
Sebastien Helleu 28e811c09c Use of sizeof(char) in all malloc/realloc for strings 2008-02-02 21:12:16 +01:00
Sebastien Helleu d7cc27f713 Fixed bugs/crashs when closing buffers 2008-02-01 22:50:03 +01:00
Sebastien Helleu 184700e597 New "close callback" for buffers, use of this callback in IRC plugin to leave channel or disconnect from server when buffer is closed 2008-02-01 18:56:12 +01:00
Sebastien Helleu d15c1956b5 Fixed some refreshs 2008-02-01 17:35:25 +01:00
Sebastien Helleu b2c5a94e5d Fixed bug with prefixes in config file 2008-02-01 16:45:43 +01:00
Sebastien Helleu c3aa3efac8 Fixed minor display bug with doc in result of configure script 2008-01-30 17:49:45 +01:00
Sebastien Helleu b52690d119 Nick completion enabled again, plugins can now override default nick completion (IRC plugin uses that feature) 2008-01-30 17:38:09 +01:00
Sebastien Helleu adab75c345 Updated translations 2008-01-29 15:21:00 +01:00
Sebastien Helleu a8f4f0c66d Reduced number of screen refreshs, fixed display bug with title bar 2008-01-29 14:50:09 +01:00
Sebastien Helleu 498dbc9243 Added command in demo plugin to set a buffer property 2008-01-29 14:24:31 +01:00
Sebastien Helleu c35fb9e847 Fixed bug when switching window, scrollback is now preserved (task #7680) 2008-01-28 18:26:56 +01:00
Sebastien Helleu ad41486543 Added config file functions in plugins API, improved /reload and /save commands (now possible to reload/save some files only), fixed completion bug 2008-01-27 10:48:29 +01:00
Sebastien Helleu ed26a0389c Add of "modifier" hook, migration of charset plugin to new API, SIGHUP signal catched (reload all config files), better config files reloading 2008-01-24 16:50:20 +01:00
Sebastien Helleu 25c5bc6421 Removed use of config.h file in script plugins, not needed 2008-01-21 12:40:18 +01:00
Sebastien Helleu 4cdcb11415 Updated translations 2008-01-19 17:20:07 +01:00
Sebastien Helleu 697f070725 Added new functions and script name completion in script plugins, fixed some bugs in weelist management and script plugins
New functions in script plugins API: gettext, ngettext, list_new, list_add,
list_search, list_casesearch, list_get, list_set, list_next, list_prev,
list_string, list_size, list_remove, list_remove_all, list_free.
2008-01-16 10:19:25 +01:00
Sebastien Helleu e173014aec Fixed default alias "c" and "cl", now pointing to "/buffer clear" 2008-01-15 15:30:24 +01:00
Sebastien Helleu eabb65aca1 Fixed refresh problem when a buffer is cleared 2008-01-15 15:18:39 +01:00
Sebastien Helleu da2ce1dd04 Merge /clear command into /buffer command (/buffer clear something) 2008-01-15 15:18:11 +01:00
Sebastien Helleu 337908e9ef Update of translations for scripts, fix bugs and code factorized in script plugins 2008-01-14 11:18:39 +01:00
Sebastien Helleu 68f7238887 Migration of Lua plugin to new API 2008-01-13 23:29:43 +01:00
Sebastien Helleu 05e1e4715c Migration of Ruby plugin to new API, new functions to dump script plugin data to WeeChat log file 2008-01-13 13:22:22 +01:00
Sebastien Helleu c17a4d5c76 Migration of Python plugin to new API, bugs fixed in Perl/Python plugins 2008-01-12 15:25:38 +01:00
Sebastien Helleu add64d6f47 New arguments for function "register" in scripts (author, license), with optional check of license when script is loaded 2008-01-11 15:08:36 +01:00
Sebastien Helleu 8a67299912 Added some missing functions in Perl plugin API 2008-01-10 18:37:31 +01:00
Sebastien Helleu 938574feec Updated .gitignore file 2008-01-10 14:46:40 +01:00
Sebastien Helleu ce6485a47e Removed file ABOUT-NLS (not needed, built by autogen.sh script) 2008-01-10 14:45:29 +01:00
Sebastien Helleu 9f2fc59569 Partial migration of Perl plugin to new API 2008-01-09 18:26:17 +01:00
Sebastien Helleu f94b679a4a Added hotlist option for buffer in plugins API, improved buffer refreshs 2008-01-06 12:44:54 +01:00
Sebastien Helleu 2b7c8eb73b Fixed data input in channel buffers (IRC plugin) 2008-01-04 23:47:26 +01:00
Sebastien Helleu 23273bf47a Added macros for name/description/author/version/license of plugins 2008-01-04 23:13:33 +01:00
Sebastien Helleu fd7b2f4fab Fixed bug with nicklist size 2008-01-03 14:21:49 +01:00
Sebastien Helleu e3b52115c7 Update of year in some copyrights 2008-01-02 12:47:09 +01:00
Sebastien Helleu 8256ffb89e Fixed translations in /help command 2008-01-02 12:46:47 +01:00
Sebastien Helleu 9222a7b109 Added group support for nicklist, fixed some bugs in plugins API and IRC plugin
Added group support for nicklist (with subgroups).
Partial changes in IRC protocol functions (new arguments with argv and argv_eol).
Fixed some bugs:
- nicklist in plugins API
- problem in main loop with select() when SIGWINCH is received (terminal resize)
- bug in string explode function
- bug in infobar countdown.
2008-01-01 18:22:26 +01:00
Sebastien Helleu cdbffe40da Fixed bug with display of errors received from IRC server 2007-12-19 22:10:48 +01:00
Sebastien Helleu 14656acc67 Fixed crash with display of status bar when exiting WeeChat 2007-12-19 18:42:10 +01:00
Sebastien Helleu 1172159421 Fixed crash when removing hook 2007-12-19 18:34:37 +01:00
Sebastien Helleu 6fd0bd2158 All messages translated to french, fixed bugs/typos in some messages 2007-12-18 17:20:08 +01:00
Sebastien Helleu 7873047e55 New signals logger_start/stop, to start/stop logging for a buffer 2007-12-17 18:26:17 +01:00
Sebastien Helleu dba084f3d6 New backlog option in logger plugin, added variable names in .h files, replaced "void *" pointers by structures 2007-12-17 17:07:08 +01:00
Sebastien Helleu e62ec5204c Improved main loop (less CPU usage), better precision for timers, use of one list by hook type (for fast search in hooks) 2007-12-14 17:01:02 +01:00
Sebastien Helleu 70e44d3c54 Function "hook_signal_send" added to plugin API 2007-12-13 11:55:50 +01:00
Sebastien Helleu 2e74526bb9 Renamed hook "event" to "signal" 2007-12-13 11:47:12 +01:00
Sebastien Helleu 7a8fb5b2da Fixed bug in IRC plugin when receiving data from server 2007-12-12 15:56:32 +01:00
Sebastien Helleu 15b2c85ea4 Added "dump_data" event, added dump of data in IRC plugin 2007-12-11 17:46:06 +01:00
Sebastien Helleu 061b0e5c58 Many changes in IRC plugin, added IRC specific completions 2007-12-11 17:34:31 +01:00
Sebastien Helleu 43c49926d4 Changes in IRC plugin 2007-12-10 21:14:20 +01:00
Sebastien Helleu 4993b2f661 Renamed constants for return codes in plugins 2007-12-10 18:42:07 +01:00
Sebastien Helleu c9ceee421e Fixed typos in 2 plugin API function names 2007-12-10 18:28:09 +01:00
Sebastien Helleu da95d22587 Added UTF-8 functions to plugins API 2007-12-10 18:07:20 +01:00
Sebastien Helleu 256557f900 Many changes in IRC plugin 2007-12-10 17:18:40 +01:00
Sebastien Helleu 8b3980f508 Changes in IRC plugin to use new API 2007-12-09 11:47:34 +01:00
Sebastien Helleu 30ab415dc0 Added gettext for some plugins messages 2007-12-08 10:36:17 +01:00
Sebastien Helleu 7b4af2b243 Added config_reload event for IRC plugin 2007-12-08 00:34:17 +01:00
Sebastien Helleu 1e2eacdfe5 Cleanup IRC commands structure 2007-12-08 00:30:44 +01:00
Sebastien Helleu 72a694ed4c Added completion hook, to let plugins add custom completions for commands 2007-12-07 15:01:37 +01:00
Sebastien Helleu 495e6bd5df Many changes in IRC plugin and plugins API 2007-12-07 13:12:46 +01:00
Sebastien Helleu 3c8276bc57 Fixed bug with command history: now test with previous is case sensitive 2007-12-06 09:53:07 +01:00
Sebastien Helleu 5e39a2c477 Removed logger.h file in logger plugin 2007-12-05 10:21:46 +01:00
Sebastien Helleu 26b659ae9e Added "config_reload" event, fixed some bugs in hook execution 2007-12-04 18:01:28 +01:00
Sebastien Helleu bda2cdd408 Removed WeeChat "command" structure, now all internal commands are hooked when WeeChat starts 2007-12-04 13:25:02 +01:00
Sebastien Helleu c94056b2c8 Updated ChangeLog file 2007-12-03 18:04:43 +01:00
Sebastien Helleu 2888d41425 Added alias plugin, added missing config file functions in plugins API 2007-12-03 18:03:10 +01:00
Sebastien Helleu e0826e1ce7 Fixed bug with colors in demo plugin 2007-12-02 19:31:50 +01:00
Sebastien Helleu fab33dc4df Added config files management in plugins API 2007-12-02 18:02:18 +01:00
Sebastien Helleu 5c579ec3b8 Remove all plugin options before reloading plugins.rc file (with /reload command) 2007-12-01 10:49:15 +01:00
Sebastien Helleu d9755e237b Added /reload command 2007-12-01 10:25:59 +01:00
Sebastien Helleu 59fb878b77 New config functions, almost entirely rewritten from scratch 2007-12-01 00:35:57 +01:00
Sebastien Helleu 32cc6ae5d8 Added message when using "/debug buffer" command 2007-11-29 12:21:57 +01:00
Sebastien Helleu 288034f83f Use of only one pointer to value for plugin list variables 2007-11-28 17:49:36 +01:00
Sebastien Helleu b4bd4876fd Added command hooks to completion, removed obsolete "IRC commands" completion 2007-11-26 14:37:12 +00:00
Sebastien Helleu f5d026a775 Added input_data callback argument to gui_buffer_new() function 2007-11-26 14:27:53 +00:00
Sebastien Helleu 7cc78f4172 Added buffer argument in command hooks, code cleanup in IRC plugin 2007-11-25 00:17:43 +01:00
Sebastien Helleu ab2dbe8151 Renamed WeeChat log functions 2007-11-24 18:08:41 +01:00
Sebastien Helleu 26f31bb367 Start logging in a log file only when first message is printed (not when buffer was opened) 2007-11-21 13:38:03 +01:00
Sebastien Helleu ac30e2226d Added log directory creation in logger plugin, removed unused log config options in core 2007-11-11 17:05:42 +01:00
Sebastien Helleu cdc08d6fc3 Added logger plugin 2007-11-11 14:36:34 +01:00
Sebastien Helleu 4478777876 Event hook added 2007-11-11 13:34:43 +01:00
Sebastien Helleu 60428b0d2e Fixed some string functions to make them compatible with UTF-8 charset 2007-11-11 13:28:24 +01:00
Sebastien Helleu 53328f4138 Added default keys for alt-left/right for konsole 2007-11-08 17:09:06 +01:00
Sebastien Helleu 50889eaf3b Added print hooks (to catch any printf on buffers) 2007-11-07 15:11:06 +01:00
Sebastien Helleu dc4f5ea2e2 Added option "set" for /buffer command 2007-11-06 13:17:28 +01:00
Sebastien Helleu c8abd99a64 Fixed typo in demo plugin 2007-11-06 13:16:17 +01:00
Sebastien Helleu 26cdaccef7 Added some functions to demo plugin 2007-11-05 23:53:24 +01:00
Sebastien Helleu b64b0fe6ca Added string_remove_quotes() function, use of argv and argv_eol for WeeChat commands arguments 2007-11-05 18:51:53 +01:00
Sebastien Helleu 0d66286efe Added date option for printf functions (weechat core and plugins API) 2007-11-05 15:59:43 +01:00
Sebastien Helleu a97e2955be Added keep_eol flag to string_explode(), updated hook command callback arguments 2007-11-05 13:29:54 +01:00
Sebastien Helleu a98feff2bb Fixed display bug with truncation of long lines 2007-11-04 18:48:57 +01:00
Sebastien Helleu 1a0472c5dd Added check of buffer pointer in weechat_printf (plugins API) 2007-11-04 15:32:32 +01:00
Sebastien Helleu f8c8ee1600 Fixed display bug with long lines 2007-11-04 15:21:44 +01:00
Sebastien Helleu 24bcc4de4b Update of plugin API list functions 2007-11-04 12:16:22 +01:00
Sebastien Helleu 2e18be982f Added demo plugin 2007-11-03 12:42:30 +01:00
Sebastien Helleu f6ed0f2e5b Added some list functions in plugin API 2007-11-03 12:42:02 +01:00
Sebastien Helleu 04e5afe6e4 Cleanup WeeChat error and warning messages, updated po files 2007-11-01 11:19:46 +01:00
Sebastien Helleu 0c2c41b134 Changed default color for prefix suffix (from blue to green) 2007-10-31 22:25:56 +01:00
Sebastien Helleu 41f55965ed Renamed source file wee-session to wee-upgrade 2007-10-31 18:40:22 +01:00
Sebastien Helleu 90262cbcfe Added trigger plugin 2007-10-31 18:30:21 +01:00
Sebastien Helleu 2ab46db3ad Updated po files 2007-10-31 18:28:30 +01:00
Sebastien Helleu 3a13f4c9b4 Updated doc 2007-10-31 18:28:19 +01:00
Sebastien Helleu ed8906f2e1 Modified general configure and makefiles 2007-10-31 18:28:08 +01:00
Sebastien Helleu 652a6fa47e Added/renamed some files, many changes in IRC sources for running as plugin (still under development) 2007-10-31 18:22:38 +01:00
Sebastien Helleu 13e58a4ecb Updated Makefile for aspell (new name for sources) 2007-10-31 18:15:44 +01:00
Sebastien Helleu bf40cfbdfd Improved plugin API, most functions rewritten from scratch 2007-10-31 18:04:44 +01:00
Sebastien Helleu 02c0dec9cb Renamed sources files in script plugins 2007-10-31 17:39:25 +01:00
Sebastien Helleu c008e6474d FIFO feature rewritten as plugin 2007-10-31 17:33:09 +01:00
Sebastien Helleu 1b9f91849e Renamed charset and aspell sources 2007-10-31 17:32:46 +01:00
Sebastien Helleu 40fe3abc11 Removed all files in src/protocols (IRC is now a plugin) 2007-10-31 17:21:04 +01:00
Sebastien Helleu 7f90ccd2ad Renamed many sources and functions in src/gui, improved display of messages in buffer (faster and using less memory) 2007-10-31 17:19:41 +01:00
Sebastien Helleu 140623a314 Added sources to manage input data (from user input to weechat or plugin) 2007-10-31 17:11:32 +01:00
Sebastien Helleu 886b5bc8dd Added some string functions 2007-10-31 17:11:00 +01:00
Sebastien Helleu a664e70488 Added hook functions 2007-10-31 17:10:38 +01:00
Sebastien Helleu 985db1a103 Added sources to manage config options and files 2007-10-31 17:10:23 +01:00
Sebastien Helleu a3cb19dbea Renamed many functions, removed all IRC specific stuff 2007-10-31 17:09:43 +01:00
Sebastien Helleu eb2835fa24 Moved files from src/common to core, gui and plugins directories 2007-10-31 17:00:31 +01:00
Sebastien Helleu 7fd804eab5 Moved IRC files from src/protocols/irc to src/plugins/irc (IRC is now a "plugin", not a "protocol") 2007-10-31 16:38:17 +01:00
Sebastien Helleu 6ed8f34fdb Added build of protocols lib, IRC protocol is now optional for build
Build of src/protocols/lib_weechat_protocols.a was added.
IRC protocol is now optional in configure and cmake builds.
2007-09-21 16:53:18 +02:00
FlashCode 16f2d59a6b Updated WeeChat description 2007-09-21 16:45:47 +02:00
FlashCode ce75572f42 Added plural form in gettext files (for cmake build) 2007-09-21 14:23:41 +02:00
Sebastien Helleu 8ecb7a4d4a Moved IRC sources from src/irc/ to src/protocols/irc/ 2007-09-20 18:06:38 +02:00
Sebastien Helleu a679f70bd1 Added missing options in /server completion: "add" and "keep" 2007-09-19 18:17:34 +02:00
Sebastien Helleu f24034ba30 Fixed nick completion bug (missing space after nick) 2007-09-19 18:15:41 +02:00
Sebastien Helleu beb0c9b645 Removed source locations in gettext files (for cmake build) 2007-09-19 13:47:47 +02:00
Sebastien Helleu 8ac688d6d0 Removed source locations in gettext files 2007-09-19 12:18:33 +02:00
Sebastien Helleu a1d6cdcf2e Added file remove-potcdate.sed in .gitignore 2007-09-19 12:17:37 +02:00
Sebastien Helleu 247baad4c7 Replaced CVS by GIT in doc 2007-09-17 14:51:44 +02:00
Sebastien Helleu 232b464960 Fixed /server command in quickstart guide 2007-09-17 14:51:13 +02:00
Sebastien Helleu 57f2c6f0ef Updated version in doc 2007-09-07 17:55:50 +02:00
Sebastien Helleu e3c41c785e Removed wrong directory "scripts" in git root (added by mistake) 2007-09-06 17:55:48 +02:00
Sebastien Helleu a0e8ec4062 Removed wrong directory "weechat" in git root (added by mistake) 2007-09-06 17:52:24 +02:00
Sebastien Helleu 8e338c6327 Added .gitignore file 2007-09-06 17:12:37 +02:00
Sebastien Helleu d13f3b1265 Version 0.2.7-dev 2007-09-06 10:51:11 +00:00
751 changed files with 190486 additions and 281142 deletions
+55
View File
@@ -0,0 +1,55 @@
# ignored files for Git
*.a
*.css
*.gmo
*.html
*.la
*.lai
*.lo
*.m4
*.o
*.pdf
*.Plo
*.Po
*.so
*.so.0
*.so.0.0.0
*.xsl
ABOUT-NLS
autom4te*
build*/*
config.guess
config.h*
config.log
config.rpath
config.status
config.sub
configure
date.xml
debian/*.log
depcomp
insert-header.sin
install-sh
intl/*
libtool
ltmain.sh
Makefile
Makefile.in*
Makevars.template
missing
po/*quot*
POTFILES
remove-potcdate.sed
Rules-quot
weechat.pc
doc/de/build/*
doc/en/build/*
doc/fr/build/*
*stamp
stamp*
src/gui/curses/weechat-curses
src/gui/gtk/weechat-gtk
-1111
View File
File diff suppressed because it is too large Load Diff
+23 -28
View File
@@ -1,47 +1,42 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat Authors
===============
Developers:
Developers
----------
* General code
FlashCode <flashcode@flashtux.org>
Web : http://weechat.flashtux.org
IRC : nick is "FlashCode" @ irc.freenode.net
* Scripts plugins
kolter <kolter@openics.org>
IRC : nick is "kolter" @ irc.freenode.net
** FlashCode <flashcode@flashtux.org>
*** Web: http://weechat.flashtux.org/
*** IRC: 'FlashCode' on irc.freenode.net
Debian packager:
---------------
* Scripts plugins, debian packager
Julien Louis <ptitlouis@sysif.net>
IRC : nick is "ptitlouis" @ irc.freenode.net
Jabber: ptitlouis@amessage.info
** kolter <kolter@openics.org>
*** IRC: 'kolter' on irc.freenode.net
Contributors:
Contributors
------------
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"
* 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'
=====
Contact
-------
Whole team is connected to IRC:
server: irc.freenode.net, channels: #weechat and #weechat-fr (french)
server: 'irc.freenode.net', channels: '#weechat' (english) and '#weechat-fr' (french)
See README file for licence detail.
-5
View File
@@ -1,5 +0,0 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat known bugs:
please look at https://savannah.nongnu.org/bugs/?group=weechat
+72 -22
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -16,39 +16,52 @@
PROJECT(weechat)
cmake_minimum_required(VERSION 2.4)
SET(CMAKE_VERBOSE_MAKEFILE OFF)
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
SET(CMAKE_SKIP_RPATH ON)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -W -Werror-implicit-function-declaration")
IF(PREFIX)
SET(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
ENDIF(PREFIX)
SET(VERSION 0.2.6)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "3")
SET(VERSION_PATCH "0-rc3")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/weechat)
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share/weechat)
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME})
SET(LOCALEDIR ${CMAKE_INSTALL_PREFIX}/share/locale)
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
OPTION(ENABLE_GTK "Enable GTK interface")
OPTION(DISABLE_NLS "Disable Native Language Support")
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
OPTION(DISABLE_PLUGINS "Disable Plugins support")
OPTION(DISABLE_PERL "Disable Perl scripting language")
OPTION(DISABLE_PYTHON "Disable Python scripting language")
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
OPTION(DISABLE_LUA "Disable Lua scripting language")
OPTION(DISABLE_ASPELL "Disable Aspell plugin")
OPTION(DISABLE_CHARSET "Disable Charset plugin")
OPTION(DISABLE_DOC "Disable Doc")
OPTION(DISABLE_NCURSES "Disable Ncurses interface")
OPTION(ENABLE_GTK "Enable GTK interface")
OPTION(DISABLE_NLS "Disable Native Language Support")
OPTION(DISABLE_GNUTLS "Disable SSLv3/TLS connection support")
OPTION(DISABLE_LARGEFILE "Disable Large File Support")
OPTION(DISABLE_ALIAS "Disable Alias plugin")
OPTION(DISABLE_ASPELL "Disable Aspell plugin")
OPTION(DISABLE_CHARSET "Disable Charset plugin")
OPTION(ENABLE_DEMO "Enable Demo plugin")
OPTION(DISABLE_FIFO "Disable FIFO plugin")
OPTION(DISABLE_IRC "Disable IRC plugin")
OPTION(DISABLE_LOGGER "Disable Logger plugin")
OPTION(ENABLE_RELAY "Enable Relay plugin")
OPTION(DISABLE_SCRIPTS "Disable script plugins")
OPTION(DISABLE_PERL "Disable Perl scripting language")
OPTION(DISABLE_PYTHON "Disable Python scripting language")
OPTION(DISABLE_RUBY "Disable Ruby scripting language")
OPTION(DISABLE_LUA "Disable Lua scripting language")
OPTION(DISABLE_TCL "Disable Tcl scripting language")
OPTION(DISABLE_XFER "Disable Xfer plugin (file transfer and direct chat)")
OPTION(DISABLE_DOC "Disable Doc")
ADD_SUBDIRECTORY( po )
ADD_SUBDIRECTORY( src )
IF(NOT DISABLE_DOC)
ADD_SUBDIRECTORY( doc )
ENDIF(NOT DISABLE_DOC)
ADD_SUBDIRECTORY( po )
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( doc )
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
@@ -70,3 +83,40 @@ ADD_CUSTOM_TARGET(dist
DEPENDS doc
WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
# pkgconfig file
SET(PACKAGE "${PROJECT_NAME}")
SET(prefix "${CMAKE_INSTALL_PREFIX}")
SET(exec_prefix "\${prefix}")
SET(libdir "\${exec_prefix}/lib")
SET(includedir "\${prefix}/include")
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.pc.in ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc @ONLY)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.pc DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig)
# packages
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
SET(CPACK_PACKAGE_VENDOR "FlashCode")
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})
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
# binary package
SET(CPACK_GENERATOR "STGZ;TGZ;TBZ2")
SET(CPACK_PACKAGE_FILE_NAME weechat-binary-${VERSION})
# source package
SET(CPACK_SOURCE_GENERATOR "TGZ;TBZ2")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME weechat-${VERSION})
SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
"/autom4te\\\\.cache/" "/ABOUT-NLS$" "/config\\\\.guess$" "/config\\\\.h$"
"/config\\\\.h.in$" "/config\\\\.log$" "/config\\\\.rpath$"
"/config\\\\.status$" "/config\\\\.sub$" "/configure$" "/depcomp$"
"/install-sh$" "/missing$" "/intl/" "/libtool$" "/\\\\.libs/"
"/ltmain\\\\.sh$" "/\\\\.deps/" "/date\\\\.xml$" "/html/" "/html1/"
"\\\\.pdf$" "/Makefile$" "/Makefile\\\\.in$" "stamp" "/po/.*\\\\.header$"
"\\\\.gmo$" "~$" "\\\\.o$" "\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$"
"\\\\.Plo$" "/weechat-curses$" "/weechat-gtk$"
)
INCLUDE(CPack)
+773 -634
View File
File diff suppressed because it is too large Load Diff
-274
View File
@@ -1,274 +0,0 @@
WeeChat FAQ, 2007-09-06
=======================
Intended audience:
All WeeChat users.
Before reading the following:
the following Q/A list is *not* exhaustive.
It is also possible that you won't find any Q/A that matches your problem.
Please read them anyway, they may provide you help in fixing your problem
anyway.
And even if your problem is listed below, it is possible that the answers don't
help you anymore to solve it. Then, please contact us, we will try to help you
finding a solution.
1 - Compiling
2 - Using WeeChat
3 - Development
1.1
================================================================================
Q: I heard about many GUI for WeeChat. How can I compile/use them?
A: Curses GUI is built by default.
To build Gtk, wxWidgets or Qt GUI you've to specify extra options to
./configure script:
--enable-gtk to enable Gtk GUI
--enable-wxwidgets to enable wxWidgets GUI
--enable-qt to enable Qt QUI
Type ./configure --help to see available options.
WARNING: only Curses GUI is ok today. Other GUI are under development!
1.2
================================================================================
Q: I can't compile WeeChat CVS.
A: Check that you have latest version of autoconf and automake.
WeeChat has been developed with autoconf version 2.59 and automake
version 1.9.5.
You should have at least these versions in order to compile WeeChat CVS.
If you can't or don't want to install these versions, you can download and
install "devel package", a package built almost every day, based on CVS.
Note that this package may not correspond exactly to CVS base.
2.1
================================================================================
Q: Why using WeeChat ? X-Chat and Irssi are so good...
A: Because WeeChat is very light and has new features.
Some new features:
* many GUI (Curses, Gtk, wxWidgets, Qt)
* available in many languages
* nicklist available in all GUI
* extensible with plugins (C, Perl, Python, Ruby, Lua)
* horizontal and vertical window split
* infobar highlight
* FIFO pipe for remote control
* developed from scratch (not based on any other IRC client)
* multi-platform
* 100% GPL and free
This is the "geekest" IRC client ;)
More info on this page: http://weechat.flashtux.org/features.php
2.2
================================================================================
Q: I've launched WeeChat, but I'm lost, what can I do?
A: For help you can type /help. For help about a command, type /help command.
Keys and commands are listed in documentation.
2.3
================================================================================
Q: I heard about "buffers" and "windows", what's the difference?
A: A window is used when you split screen vertically or horizontally.
A buffer is a "view" for a window. Each window displays a buffer, and
many windows may display same buffer.
Examples of buffers: server messages, channel, DCC list, ..
2.4
================================================================================
Q: I don't see some chars with accents, what can I do?
A: For versions < 0.2.3, please upgrade to last stable version.
For versions >= 0.2.3 :
- check that weechat-curses is linked to libncursesw (warning: needed
on most distributions but not all) :
ldd /path/to/weechat-curses
- check that "Charset" plugin is loaded with /plugin command
(if it is not, then you probably need "weechat-plugins" package)
- check charset line (on server buffer), you should see ISO-XXXXXX or
UTF-8 for terminal charset. If you see ANSI_X3.4-1968 or other values,
probably your locale is wrong.
- setup global decode value, for example:
/setp charset.global.decode = ISO-8859-15
- if you are using UTF-8 locale, check that your terminal is UTF-8
ready. Terminal recommended for UTF-8 is rxvt-unicode.
2.5
================================================================================
Q: How can I customize key bindings?
A: Key bindings are customizable with /key command.
Default key Meta-k (usually Alt-k) lets you grab key code and insert it
in input zone.
2.6
================================================================================
Q: How can I load Perl scripts?
Are Perl scripts compatible with other IRC clients ?
A: You can use /perl command to load scripts (default path is
~/.weechat/perl).
Note that scripts in ~/.weechat/perl/autoload are automatically loaded
when WeeChat is starting up.
Perl scripts are not compatible with other IRC clients.
2.7
================================================================================
Q: How can I load Python scripts?
Are Python scripts compatible with other IRC clients ?
A: You can use /python command to load scripts (default path is
~/.weechat/python).
Note that scripts in ~/.weechat/python/autoload are automatically loaded
when WeeChat is starting up.
Python scripts are not compatible with other IRC clients.
2.8
================================================================================
Q: How can I load Ruby scripts?
Are Ruby scripts compatible with other IRC clients ?
A: You can use /ruby command to load scripts (default path is
~/.weechat/ruby).
Note that scripts in ~/.weechat/ruby/autoload are automatically loaded
when WeeChat is starting up.
Ruby scripts are not compatible with other IRC clients.
2.9
================================================================================
Q: How can I load Lua scripts?
Are Lua scripts compatible with other IRC clients ?
A: You can use /lua command to load scripts (default path is
~/.weechat/lua).
Note that scripts in ~/.weechat/lua/autoload are automatically loaded
when WeeChat is starting up.
Lua scripts are not compatible with other IRC clients.
2.10
================================================================================
Q: When I'm using weechat under screen, I have weird chars, when I switch
window for example, how to fix that?
A: This may be caused by bad value of TERM variable (look at echo $TERM).
For example, "xterm-color" displays such weird chars, use "xterm" which
is ok (like many other values).
2.11
================================================================================
Q: I want to change language used by WeeChat for messages, but without
exiting WeeChat, is it possible?
A: Yes, you have to use python script shell.py (available on WeeChat
website) and issue these commands when script is loaded:
/shell setenv LANG=en_US.UTF-8
/upgrade
(to have english messages with UTF-8 encoding for terminal, for ISO
users, you can issue: /shell setenv LANG=en_US)
2.12
================================================================================
Q: With Curses GUI, how can I copy/paste text without pasting nicklist ?
A: You can use a terminal with rectangular selection (like rxvt-unicode,
konsole, ...).
Other solution is to move nicklist to top or bottom, for example:
/set look_nicklist_position = top
2.13
================================================================================
Q: How to be warned when someone highlights me on a channel ?
A: You can use sound.pl script (available on scripts page), and then
setup a system command (to play sound, display message, ..) with this
command :
/setp perl.sound.cmd_highlight = "/usr/bin/command arguments..."
3.1
================================================================================
Q: How should I report bugs?
A: There is 3 ways to report bugs:
1. you can join us on IRC: irc.freenode.net, channel #weechat
2. you can submit your bug at this URL:
http://savannah.nongnu.org/bugs/?func=addbug&group=weechat
3. you can mail your problem, look at support page for developer's mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
3.2
================================================================================
Q: How should I submit patches?
A: There is 3 ways to submit patches:
1. you can join us on IRC: irc.freenode.net, channel #weechat
2. you can submit your patch at this URL:
http://savannah.nongnu.org/patch/?func=addpatch&group=weechat
3. you can mail your patch, look at support page for developer's mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
3.3
================================================================================
Q: How should I submit new feature request?
A: There is 2 ways to submit your feature request:
1. you can join us on IRC: irc.freenode.net, channel #weechat
2. you can mail your feature request, look at support page for developer's
mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
3.4
================================================================================
Q: What is the list of supported platforms for WeeChat?
A: Full list is on this page:
http://weechat.flashtux.org/download.php?lang=en&view=supported_os
3.5
================================================================================
Q: Will WeeChat be ported to QNX or other operating systems?
A: Yes. Future versions will be available for these OS.
We need help for such systems, any help is welcome :)
3.6
================================================================================
Q: I want to help WeeChat developers. What can I do?
A: There's many tasks to do (code, documentation, ...)
Please contact us with IRC or mail, look at support page:
http://weechat.flashtux.org/support.php
3.7
================================================================================
Q: Can I give money or other things to WeeChat developers?
A: You can give us money to help development.
Details on http://weechat.flashtux.org/donate.php?lang=en
-292
View File
@@ -1,292 +0,0 @@
WeeChat FAQ, 2007-09-06
=======================
Public concerné :
Tous les utilisateurs de WeeChat.
Avant de lire la suite ceci :
la liste suivante de questions/réponses n'est *pas* exhaustive.
Il est donc possible que vous ne trouviez pas de question/réponse correspondant
à votre problème.
Lisez les quand même SVP, elles peuvent vous aider à corriger votre problème.
Et même si votre problème est mentionné ci-dessous, il est possible que la
réponse ne vous aide pas à corriger le problème. Dans ce cas, contactez-nous,
nous essaierons de vous aider Ă  trouver une solution.
1 - Compilation
2 - Utilisation de WeeChat
3 - Développement
1.1
================================================================================
Q: J'ai entendu parler de plusieurs interfaces pour WeeChat.
Comment puis-je les compiler/utiliser ?
R: L'interface Curses est construite par défaut.
Pour construire l'interface Gtk, wxWidgets ou Qt, vous devez spécifier des
options pour le script ./configure :
--enable-gtk pour activer l'interface Gtk
--enable-wxwidgets pour activer l'interface wxWidgets
--enable-qt pour activer l'interface Qt
Tapez ./configure --help pour voir les options disponibles.
ATTENTION : seule l'interface Curses est ok aujourd'hui.
Les autres interfaces sont en développement.
1.2
================================================================================
Q: Je ne peux pas compiler le CVS WeeChat.
R: Vérifiez que vous avez bien la dernière version d'autoconf et automake.
WeeChat a été développé avec autoconf version 2.59 et automake
version 1.9.5.
Vous devez avoir au moins ces versions pour compiler le CVS WeeChat.
Si vous n'avez pas ou ne souhaitez pas installer ces versions, vous
pouvez télécharger et installer le paquet "devel", un paquet construit
quasiment tous les jours, basé sur le CVS.
Notez que ce paquet peut ne pas correspondre exactement Ă  la base CVS.
2.1
================================================================================
Q: Pourquoi utiliser WeeChat ? X-Chat et Irssi sont si bien...
R: Parce que WeeChat est très léger et a de nouvelles fonctionnalités.
Quelques nouvelles fonctionnalités :
* plusieurs interfaces (Curses, Gtk, wxWidgets, Qt)
* disponible en plusieurs langues
* liste des pseudos disponible dans toutes les interfaces
* extensible par des extensions (C, Perl, Python, Ruby, Lua)
* découpage de la fenêtre horizontalement et verticalement
* highlight dans la barre d'infos
* tube FIFO pour contrĂ´le Ă  distance
* développé à partir de zéro (non basé sur un quelconque client IRC)
* multi-platformes
* 100% GPL et libre
C'est le client IRC le plus "geek" ;)
Plus d'infos sur cette page: http://weechat.flashtux.org/features.php
2.2
================================================================================
Q: J'ai lancé WeeChat, mais je suis perdu, que puis-je faire ?
R: Pour obtenir de l'aide tapez /help. Pour de l'aide sur une commande,
tapez /help commande.
Les touches et commandes sont listées dans la documentation.
2.3
================================================================================
Q: J'ai entendu parler de "buffers" et "windows", quelle est la
différence ?
R: Une fenêtre ("window") est utilisée quand vous partagez l'écran
verticalement ou horizontalement.
Un tampon ("buffer") est une "vue" pour une fenĂŞtre. Chaque fenĂŞtre
affiche un tampon, et plusieurs fenĂŞtres peuvent afficher le mĂŞme
tampon.
Exemples de tampons: messages serveur, canal, liste des DCC, etc...
2.4
================================================================================
Q: Je ne vois pas bien certains accents dans WeeChat, que faire ?
R: Pour les versions < 0.2.3, merci d'installer la dernière version stable.
Pour les versions >= 0.2.3 :
- vérifiez que weechat-curses est lié avec libncursesw (attention:
nécessaire sur beaucoup de distributions, mais pas toutes) :
ldd /chemin/vers/weechat-curses
- vérifiez que l'extension "Charset" est chargée avec la commande
/plugin (s'il ne l'est pas, vous devez peut-ĂŞtre installer le
paquet "weechat-plugins")
- vérifiez la ligne charset (sur le tampon serveur), vous devriez voir
ISO-XXXXXX ou UTF-8 pour le charset du terminal. Si vous voyez
ANSI_X3.4-1968 ou d'autres valeurs, votre locale est probablement
erronée.
- affectez la valeur pour le décodage global, par exemple :
/setp charset.global.decode = ISO-8859-15
- si vous utilisez la locale UTF-8, vérifiez que votre terminal est
compatible UTF-8. Un terminal conseillé pour l'UTF-8 est rxvt-unicode.
2.5
================================================================================
Q: Comment puis-je configurer les raccourcis clavier ?
R: Les raccourcis clavier sont modifiables avec la commande /key.
La touche par défaut Meta-k (souvent Alt-k) permet de capturer le code
d'une touche et de l'inclure dans la zone de saisie.
2.6
================================================================================
Q: Comment puis-je charger des scripts Perl ?
Les scripts Perl sont-ils compatibles avec d'autres clients IRC ?
R: La commande /perl permet de charger les scripts Perl (le chemin par défaut
est ~/.weechat/perl).
Notez que les scripts dans ~/.weechat/perl/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Perl ne sont pas compatibles avec d'autres clients IRC.
2.7
================================================================================
Q: Comment puis-je charger les scripts Python ?
Les scripts Python sont-ils compatibles avec d'autres clients IRC ?
R: La commande /python permet de charger les scripts Python (le chemin par
défaut est ~/.weechat/python).
Notez que les scripts dans ~/.weechat/python/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Python ne sont pas compatibles avec d'autres clients IRC.
2.8
================================================================================
Q: Comment puis-je charger des scripts Ruby ?
Les scripts Ruby sont-ils compatibles avec d'autres clients IRC ?
R: La commande /ruby permet de charger les scripts Ruby (le chemin par
défaut est ~/.weechat/ruby).
Notez que les scripts dans ~/.weechat/ruby/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Ruby ne sont pas compatibles avec d'autres clients IRC.
2.9
================================================================================
Q: Comment puis-je charger des scripts Lua ?
Les scripts Lua sont-ils compatibles avec d'autres clients IRC ?
R: La commande /lua permet de charger les scripts Lua (le chemin par
défaut est ~/.weechat/lua).
Notez que les scripts dans ~/.weechat/lua/autoload sont automatiquement
chargés par WeeChat lorsqu'il démarre.
Les scripts Lua ne sont pas compatibles avec d'autres clients IRC.
2.10
================================================================================
Q: Quand j'utilise weechat sous screen, j'ai des caractères bizarres
notamment en changeant de fenêtre, comment corriger ça ?
R: Cela peut ĂŞtre du Ă  la variable TERM qui n'a pas la bonne valeur
(regardez echo $TERM). Par exemple "xterm-color" provoque ce genre de
problèmes, utilisez "xterm" qui est ok (comme plein d'autres valeurs).
2.11
================================================================================
Q: Je souhaite changer la langue des messages affichés par WeeChat, mais
sans quitter WeeChat, est-ce possible ?
R: Oui, il faut utiliser le script python shell.py (disponible sur le site
de WeeChat) et taper ces commandes une fois le script chargé :
/shell setenv LANG=en_US.UTF-8
/upgrade
(pour avoir des messages anglais avec encodage UTF-8 pour le terminal,
pour les utilisateurs en ISO, vous pouvez taper:
/shell setenv LANG=en_US)
2.12
================================================================================
Q: Avec l'interface Curses, comment puis-je copier/coller du texte sans
coller la liste des pseudos ?
R: Vous pouvez utiliser un terminal qui propose la sélection rectangulaire
(comme rxvt-unicode, konsole, etc...).
Une autre solution est de déplacer la liste des pseudos en haut ou en
bas, par exemple :
/set look_nicklist_position = top
2.13
================================================================================
Q: Comment ĂŞtre averti lorsque quelqu'un prononce mon pseudo sur un canal ?
R: Vous pouvez utiliser le script sound.pl (disponible sur la page des
scripts), puis configurer une commande système (jouant un son, affichant
un message à l'écran, etc...) comme ceci :
/setp perl.sound.cmd_highlight = "/usr/bin/commande parametres..."
3.1
================================================================================
Q: Comment dois-je reporter les bugs ?
R: Il y a 3 manières de reporter les bugs :
1. vous pouvez nous joindre sur IRC: irc.freenode.net, canal #weechat
2. vous pouvez soumettre votre bug Ă  cette adresse :
http://savannah.nongnu.org/bugs/?func=addbug&group=weechat
3. vous pouvez envoyer votre problème par mail, consultez la page
support pour les mails des développeurs :
http://weechat.flashtux.org/support.php
(vous pouvez souscrire et envoyer Ă  la liste de diffusion
"support")
3.2
================================================================================
Q: Comment dois-je soumettre les patches ?
R: Il y a 3 manières de soumettre les patches :
1. vous pouvez nous joindre sur IRC: irc.freenode.net, canal #weechat
2. vous pouvez soumettre votre patch Ă  cette adresse :
http://savannah.nongnu.org/patch/?func=addpatch&group=weechat
3. vous pouvez envoyer votre patch par mail, consultez la page
support pour les mails des développeurs :
http://weechat.flashtux.org/support.php
(vous pouvez souscrire et envoyer Ă  la liste de diffusion
"support")
3.3
================================================================================
Q: Comment dois-je soumettre les demandes de nouvelles fonctionnalités ?
R: Il y a 2 manières :
1. vous pouvez nous joindre sur IRC: irc.freenode.net, channel #weechat
2. vous pouvez envoyer un mail, consultez la page support pour les
mails des développeurs :
http://weechat.flashtux.org/support.php
(vous pouvez souscrire et envoyer Ă  la liste de diffusion
"support")
3.4
================================================================================
Q: Quelle est la liste des plate-formes supportées par WeeChat ?
R: La liste complète est sur cette page :
http://weechat.flashtux.org/download.php?lang=fr&view=supported_os
3.5
================================================================================
Q: WeeChat sera-t-il porté sur QNX ou d'autres systèmes d'exploitation ?
R: Oui. Les futures versions seront disponibles pour ces OS.
Nous avons besoin d'aide pour ces systèmes, toute aide est la bienvenue :)
3.6
================================================================================
Q: Je souhaiterai aider les développeurs WeeChat. Que puis-je faire ?
R: Il y a plusieurs choses Ă  faire (code, documentation, ...)
Merci de prendre contact avec nous par IRC ou mail, consultez la page
support :
http://weechat.flashtux.org/support.php
3.7
================================================================================
Q: Puis-je donner de l'argent ou d'autres choses aux développeurs WeeChat ?
R: Vous pouvez donner de l'argent pour aider le développement.
Plus de détails sur http://weechat.flashtux.org/donate.php
+30 -7
View File
@@ -1,13 +1,36 @@
WeeChat - Installation instructions
===================================
WeeChat Installation instructions
=================================
1) Run './configure'
(./configure --help so see options)
You can build WeeChat with cmake (recommended way) or autotools.
2) Run 'make'
3) As root, run 'make install'
With cmake
----------
------------------------------------------------------------------
mkdir build
cd build
cmake .. -DPREFIX=/where/you/want/install -DCMAKE_BUILD_TYPE=Debug
make
make install (as root for installation in system directories)
------------------------------------------------------------------
With autotools
--------------
----------------------------------------------------------------------
./autogen.sh (for cloned git repository only, not .tar.XX package)
./configure --prefix=/where/you/want/install
make
make install (as root for installation in system directories)
----------------------------------------------------------------------
If you want to report bugs/crashs to developers, please:
- compile with debug info (type "Debug" for cmake build, default for autotools),
- enable core files (for bash shell, add "ulimit -c unlimited" to your ~/.bashrc).
4) Enjoy ! :-)
See AUTHORS for support, feel free to contact us for any problem.
+33 -11
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,16 +14,38 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
SUBDIRS = po doc intl src
if DOC
doc_dir = doc
endif
EXTRA_DIST = config.rpath BUGS FAQ FAQ.fr \
debian/changelog debian/control \
debian/copyright debian/compat \
debian/rules debian/weechat-common.docs \
debian/lintian-override \
debian/weechat-common.install debian/weechat-curses.dirs \
debian/weechat-curses.install debian/weechat-plugins.install \
debian/weechat-curses.menu debian/NEWS debian/weechat.xpm \
weechat.spec weechat_icon_32.png
SUBDIRS = po $(doc_dir) intl src
EXTRA_DIST = CMakeLists.txt \
config.rpath \
config.h.cmake \
cmake/cmake_uninstall.cmake.in \
cmake/FindAsciidoc.cmake \
cmake/FindAspell.cmake \
cmake/FindGettext.cmake \
cmake/FindGnuTLS.cmake \
cmake/FindIconv.cmake \
cmake/FindLua.cmake \
cmake/FindNcurses.cmake \
cmake/FindPerl.cmake \
cmake/FindPkgConfig.cmake \
cmake/FindPython.cmake \
cmake/FindRuby.cmake \
cmake/FindSourcehighlight.cmake \
cmake/FindTCL.cmake \
cmake/makedist.sh.in \
po/CMakeLists.txt \
po/srcfiles.cmake \
weechat.spec \
weechat_icon_32.png \
weechat.pc.in \
UPGRADE_0.3
ACLOCAL_AMFLAGS = -I m4
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = weechat.pc
+94 -106
View File
@@ -1,94 +1,104 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat News
============
* FlashCode, 2007-09-06
FlashCode, 2009-08-10::
WeeChat 0.3.0 will bring major changes, especially for configuration files
and plugin API.
+
For more information about this version, please read file UPGRADE_0.3.
FlashCode, 2009-06-13::
WeeChat 0.2.6.3 released.
+
This version fixes gnutls detection.
FlashCode, 2009-04-18::
WeeChat 0.2.6.2 released.
+
This version fixes a bug with charset decoding (like iso2022jp).
FlashCode, 2009-03-14::
WeeChat 0.2.6.1 released.
+
This version fixes a major bug: crash with some special chars in IRC
messages.
FlashCode, 2007-09-06::
WeeChat 0.2.6 released.
* FlashCode, 2007-06-07
FlashCode, 2007-06-07::
WeeChat 0.2.5 released.
* FlashCode, 2007-03-29
FlashCode, 2007-03-29::
WeeChat 0.2.4 released.
* FlashCode, 2007-01-10
FlashCode, 2007-01-10::
WeeChat 0.2.3 released.
+
This version fixes several major bugs of version 0.2.2.
All users of version 0.2.2 should upgrade to this version.
* FlashCode, 2007-01-06
FlashCode, 2007-01-06::
WeeChat 0.2.2 released.
+
Important release notes:
- new charset plugin:
- for users of any previous version, all your charset settings
in weechat.rc will be LOST! You should save your weechat.rc
to keep your values and set them again with new "charset" plugin.
- for ISO users: history of channels may be without accents
(after /upgrade), this is not recoverable, but this is not a bug.
All new messages should be ok.
- be careful, now default encode is UTF-8 for all channels (before
it was terminal charset). If you still want to send messages as
ISO-8859-1, you should send either global encode or server specific
encode to ISO-8859-1.
For global encode: /setp charset.global.encode = "ISO-8859-1"
For server encode: (on server buffer) /charset encode ISO-8859-1
- new keys for topic scroll:
- new keys for scrolling topic: F9/F10
- key F10 was used for "infobar_clear" in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
/key <press alt-k then F10> scroll_topic_right
which gives something like this:
/key meta2-21~ scroll_topic_right
* FlashCode, 2006-10-01
* new charset plugin:
** for users of any previous version, all your charset settings
in weechat.rc will be LOST! You should save your weechat.rc
to keep your values and set them again with new "charset" plugin.
** for ISO users: history of channels may be without accents
(after /upgrade), this is not recoverable, but this is not a bug.
All new messages should be ok.
** be careful, now default encode is UTF-8 for all channels (before
it was terminal charset). If you still want to send messages as
ISO-8859-1, you should send either global encode or server specific
encode to ISO-8859-1.
For global encode: /setp charset.global.encode = "ISO-8859-1"
For server encode: (on server buffer) /charset encode ISO-8859-1
* new keys for topic scroll:
** new keys for scrolling topic: F9/F10
** key F10 was used for "infobar_clear" in previous WeeChat versions,
you have to manually rebind this key (except for new WeeChat users):
/key <press alt-k then F10> scroll_topic_right
which gives something like this:
/key meta2-21~ scroll_topic_right
FlashCode, 2006-10-01::
WeeChat 0.2.1 released.
* FlashCode, 2006-08-19
FlashCode, 2006-08-19::
WeeChat 0.2.0 released.
+
Important release notes:
- if you upgraded with /upgrade in WeeChat, you should /disconnect and
* if you upgraded with /upgrade in WeeChat, you should /disconnect and
then /reconnect on each server, to display properly channel/user modes
- if you're using plugins, you should remove some old plugins libraries
* if you're using plugins, you should remove some old plugins libraries
in WeeChat system library directory (commonly
/usr/local/lib/weechat/plugins): remove lib* files (like libperl.*,
libpython.*, ..) and keep only new libraries (perl.*, python.*, ..)
* FlashCode, 2006-05-25
/usr/local/lib/weechat/plugins): remove `lib*` files (like `libperl.*`,
`libpython.*`, ..) and keep only new libraries (`perl.*`, `python.*`, ..)
FlashCode, 2006-05-25::
WeeChat 0.1.9 released.
+
Important release notes:
- please close all DCC chat buffers before using /upgrade command,
* please close all DCC chat buffers before using /upgrade command,
otherwise you may experience problems with DCC chats.
- some changes in script API: now timer handlers functions takes exactly
* some changes in script API: now timer handlers functions takes exactly
0 (zero) argument (in version 0.1.8, two arguments were mandatory but
not used: server and args)
* FlashCode, 2006-03-18
FlashCode, 2006-03-18::
WeeChat 0.1.8 released.
+
Important release notes:
- it is recommended for users of version 0.1.7 (or any older), to
* it is recommended for users of version 0.1.7 (or any older), to
replace values in setup file (~/.weechat/weechat.rc) :
- option: log_path: replace "~/.weechat/logs" by "%h/logs"
- option: plugins_path: replace "~/.weechat/plugins" by "%h/plugins"
"%h" is replaced by WeeChat home (default: ~/.weechat, may be overriden
by new command line arg --dir)
- after installing 0.1.8 (or with /upgrade), issue both commands (if you
** option: log_path: replace "~/.weechat/logs" by "%h/logs"
** option: plugins_path: replace "~/.weechat/plugins" by "%h/plugins"
+
"%h" is replaced by WeeChat home (default: ~/.weechat, may be overriden
by new command line arg --dir)
* after installing 0.1.8 (or with /upgrade), issue both commands (if you
didn't redefined these keys (alt-home/end):
/key unbind meta-meta2-1~
/key unbind meta-meta2-4~
@@ -96,94 +106,72 @@ WeeChat - Wee Enhanced Environment for Chat
Alt-home/end were used for nicklist scroll, they're now replaced by
Alt-F11/F12.
* FlashCode, 2006-01-14
FlashCode, 2006-01-14::
WeeChat 0.1.7 released.
+
Important release notes:
- Ruby script plugin has been added but is experimental in this release.
* Ruby script plugin has been added but is experimental in this release.
You're warned!
- "/away" command was changed to be RFC 2812 compliant.
* "/away" command was changed to be RFC 2812 compliant.
Now argument is required to set away, and no argument means
remove away ("back"). Setting "irc_default_msg_away" has been removed.
* FlashCode, 2005-11-11
FlashCode, 2005-11-11::
WeeChat 0.1.6 released.
+
Important release notes:
- incompatibility with some old scripts: now all handlers have to return
* incompatibility with some old scripts: now all handlers have to return
a code for completion, and to do some actions about message to ignore
(please look at documentation for detail)
- on OpenBSD, the new option "plugins_extension" should be set to ".so.0.0"
* on OpenBSD, the new option "plugins_extension" should be set to ".so.0.0"
since the plugins names are ending by ".so.0.0" and not ".so"
- with new and full UTF-8 support, the option "look_charset_internal"
* with new and full UTF-8 support, the option "look_charset_internal"
should be set to blank for most cases. Forces it only if your locale is
not properly detected by WeeChat (you can set "UTF-8" or "ISO-8859-15"
for example, depending on your locale). WeeChat is looking for "UTF-8" in
your locale name at startup.
* FlashCode, 2005-09-24
FlashCode, 2005-09-24::
WeeChat 0.1.5 released.
* FlashCode, 2005-07-30
FlashCode, 2005-07-30::
WeeChat 0.1.4 released.
* FlashCode, 2005-07-02
FlashCode, 2005-07-02::
WeeChat 0.1.3 released.
* FlashCode, 2005-05-21
FlashCode, 2005-05-21::
WeeChat 0.1.2 released.
* FlashCode, 2005-03-20
FlashCode, 2005-03-20::
WeeChat 0.1.1 released.
* FlashCode, 2005-02-12
FlashCode, 2005-02-12::
WeeChat 0.1.0 released.
* FlashCode, 2005-01-01
FlashCode, 2005-01-01::
WeeChat 0.0.9 released.
* FlashCode, 2004-10-30
FlashCode, 2004-10-30::
WeeChat 0.0.8 released.
* FlashCode, 2004-08-08
FlashCode, 2004-08-08::
WeeChat 0.0.7 released.
* FlashCode, 2004-06-05
FlashCode, 2004-06-05::
WeeChat 0.0.6 released.
* FlashCode, 2004-02-07
FlashCode, 2004-02-07::
WeeChat 0.0.5 released.
* FlashCode, 2004-01-01
FlashCode, 2004-01-01::
WeeChat 0.0.4 released.
* FlashCode, 2003-11-03
FlashCode, 2003-11-03::
WeeChat 0.0.3 released.
* FlashCode, 2003-10-05
FlashCode, 2003-10-05::
WeeChat 0.0.2 released.
* FlashCode, 2003-09-27
FlashCode, 2003-09-27::
WeeChat 0.0.1 released.
+16 -19
View File
@@ -1,5 +1,5 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat Readme
==============
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
@@ -9,23 +9,25 @@ It is customizable and extensible with scripts.
Features
--------
* IRC chat client with multi-server connection
* many GUI (curses, Gtk, Qt) (1)
* small, fast and very light
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua)
* compliant with RFC 1459,2810,2811,2812,2813
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) (2)
* 100% GPL & free
* chat client with multi-protocols/servers connection
* many GUI (curses, Gtk, Qt) (1)
* small, fast and very light
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua)
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other) (2)
* free software, released under GPLv3
NOTE: (1) only Curses interface is available today
+
(2) Windows version is under construction
Copyright
---------
WeeChat (c) Copyright 2003-2007 by FlashCode <flashcode@flashtux.org>
(see AUTHORS file if you want to contact authors)
WeeChat is distributed under GPL licence (see COPYING file for complete license):
WeeChat (c) Copyright 2003-2009 by FlashCode <flashcode@flashtux.org>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -39,8 +41,3 @@ GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
---
(1) only Curses interface is available today
(2) Windows version is under construction
-5
View File
@@ -1,5 +0,0 @@
WeeChat - Wee Enhanced Environment for Chat
===========================================
WeeChat TODO:
please look at https://savannah.nongnu.org/task/?group=weechat
+83
View File
@@ -0,0 +1,83 @@
WeeChat Upgrade to 0.3.x
========================
FlashCode <flashcode@flashtux.org>
v0.3.0, 2009-08-09
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://weechat.flashtux.org/doc.php
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://weechat.flashtux.org/plugins.php
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-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+43
View File
@@ -0,0 +1,43 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# - Find Asciidoc
# This module finds if asciidoc (version 8 or newer) is installed.
IF (ASCIIDOC_FOUND)
# Already in cache, be silent
SET(ASCIIDOC_FIND_QUIETLY TRUE)
ENDIF (ASCIIDOC_FOUND)
FIND_PROGRAM(
ASCIIDOC_EXECUTABLE asciidoc
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ASCIIDOC_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${ASCIIDOC_EXECUTABLE} --version
OUTPUT_VARIABLE ASCIIDOC_VERSION
)
IF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
SET(ASCIIDOC_FOUND TRUE)
ENDIF(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
MARK_AS_ADVANCED(
ASCIIDOC_EXECUTABLE
)
ENDIF(ASCIIDOC_EXECUTABLE)
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+7 -5
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -30,19 +30,21 @@ IF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
set(GNUTLS_FIND_QUIETLY TRUE)
ENDIF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
FIND_PROGRAM(GNUTLS_CONFIG_EXECUTABLE NAMES libgnutls-config)
FIND_PROGRAM(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
EXECUTE_PROCESS(COMMAND ${GNUTLS_CONFIG_EXECUTABLE} --prefix
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
OUTPUT_VARIABLE GNUTLS_PREFIX
)
EXECUTE_PROCESS(COMMAND ${GNUTLS_CONFIG_EXECUTABLE} --cflags
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
OUTPUT_VARIABLE GNUTLS_CFLAGS
)
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_FLAGS}")
EXECUTE_PROCESS(COMMAND ${GNUTLS_CONFIG_EXECUTABLE} --libs
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
OUTPUT_VARIABLE GNUTLS_LDFLAGS
)
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${GNUTLS_LDFLAGS}")
SET(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
SET(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+6 -3
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -39,6 +39,7 @@ FIND_PATH(
FIND_LIBRARY(
LUA51_LIBRARY NAMES lua51 lua5.1 lua-5.1 lua
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua51 lua5.1 lua-5.1
)
IF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
@@ -56,11 +57,13 @@ ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
FIND_LIBRARY(
LUA50_LIBRARY NAMES lua50 lua5.0 lua-5.0 lua
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
FIND_LIBRARY(
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
LUALIB50_LIBRARY NAMES lualib50 lualib5.0 lualib-5.0 lualib
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
IF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
+360
View File
@@ -0,0 +1,360 @@
# - a pkg-config module for CMake
#
# Usage:
# pkg_check_modules(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
# checks for all the given modules
#
# pkg_search_module(<PREFIX> [REQUIRED] <MODULE> [<MODULE>]*)
# checks for given modules and uses the first working one
#
# When the 'REQUIRED' argument was set, macros will fail with an error
# when module(s) could not be found
#
# It sets the following variables:
# PKG_CONFIG_FOUND ... true iff pkg-config works on the system
# PKG_CONFIG_EXECUTABLE ... pathname of the pkg-config program
# <PREFIX>_FOUND ... set to 1 iff module(s) exist
#
# For the following variables two sets of values exist; first one is the
# common one and has the given PREFIX. The second set contains flags
# which are given out when pkgconfig was called with the '--static'
# option.
# <XPREFIX>_LIBRARIES ... only the libraries (w/o the '-l')
# <XPREFIX>_LIBRARY_DIRS ... the paths of the libraries (w/o the '-L')
# <XPREFIX>_LDFLAGS ... all required linker flags
# <XPREFIX>_LDFLAGS_OTHER ... all other linker flags
# <XPREFIX>_INCLUDE_DIRS ... the '-I' preprocessor flags (w/o the '-I')
# <XPREFIX>_CFLAGS ... all required cflags
# <XPREFIX>_CFLAGS_OTHER ... the other compiler flags
#
# <XPREFIX> = <PREFIX> for common case
# <XPREFIX> = <PREFIX>_STATIC for static linking
#
# There are some special variables whose prefix depends on the count
# of given modules. When there is only one module, <PREFIX> stays
# unchanged. When there are multiple modules, the prefix will be
# changed to <PREFIX>_<MODNAME>:
# <XPREFIX>_VERSION ... version of the module
# <XPREFIX>_PREFIX ... prefix-directory of the module
# <XPREFIX>_INCLUDEDIR ... include-dir of the module
# <XPREFIX>_LIBDIR ... lib-dir of the module
#
# <XPREFIX> = <PREFIX> when |MODULES| == 1, else
# <XPREFIX> = <PREFIX>_<MODNAME>
#
# A <MODULE> parameter can have the following formats:
# {MODNAME} ... matches any version
# {MODNAME}>={VERSION} ... at least version <VERSION> is required
# {MODNAME}={VERSION} ... exactly version <VERSION> is required
# {MODNAME}<={VERSION} ... modules must not be newer than <VERSION>
#
# Examples
# pkg_check_modules (GLIB2 glib-2.0)
#
# pkg_check_modules (GLIB2 glib-2.0>=2.10)
# requires at least version 2.10 of glib2 and defines e.g.
# GLIB2_VERSION=2.10.3
#
# pkg_check_modules (FOO glib-2.0>=2.10 gtk+-2.0)
# requires both glib2 and gtk2, and defines e.g.
# FOO_glib-2.0_VERSION=2.10.3
# FOO_gtk+-2.0_VERSION=2.8.20
#
# pkg_check_modules (XRENDER REQUIRED xrender)
# defines e.g.:
# XRENDER_LIBRARIES=Xrender;X11
# XRENDER_STATIC_LIBRARIES=Xrender;X11;pthread;Xau;Xdmcp
#
# pkg_search_module (BAR libxml-2.0 libxml2 libxml>=2)
# Copyright (C) 2006 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
#
# Redistribution and use, with or without modification, are permitted
# provided that the following conditions are met:
#
# 1. Redistributions must retain the above copyright notice, this
# list of conditions and the following disclaimer.
# 2. The name of the author may not be used to endorse or promote
# products derived from this software without specific prior
# written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
### Common stuff ####
set(PKG_CONFIG_VERSION 1)
set(PKG_CONFIG_FOUND 0)
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config DOC "pkg-config executable")
mark_as_advanced(PKG_CONFIG_EXECUTABLE)
if(PKG_CONFIG_EXECUTABLE)
set(PKG_CONFIG_FOUND 1)
endif(PKG_CONFIG_EXECUTABLE)
# Unsets the given variables
macro(_pkgconfig_unset var)
set(${var} "" CACHE INTERNAL "")
endmacro(_pkgconfig_unset)
macro(_pkgconfig_set var value)
set(${var} ${value} CACHE INTERNAL "")
endmacro(_pkgconfig_set)
# Invokes pkgconfig, cleans up the result and sets variables
macro(_pkgconfig_invoke _pkglist _prefix _varname _regexp)
set(_pkgconfig_invoke_result)
execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE} ${ARGN} ${_pkglist}
OUTPUT_VARIABLE _pkgconfig_invoke_result
RESULT_VARIABLE _pkgconfig_failed)
if (_pkgconfig_failed)
set(_pkgconfig_${_varname} "")
_pkgconfig_unset(${_prefix}_${_varname})
else(_pkgconfig_failed)
string(REGEX REPLACE "[\r\n]" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
string(REGEX REPLACE " +$" "" _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
if (NOT ${_regexp} STREQUAL "")
string(REGEX REPLACE "${_regexp}" " " _pkgconfig_invoke_result "${_pkgconfig_invoke_result}")
endif(NOT ${_regexp} STREQUAL "")
separate_arguments(_pkgconfig_invoke_result)
#message(STATUS " ${_varname} ... ${_pkgconfig_invoke_result}")
set(_pkgconfig_${_varname} ${_pkgconfig_invoke_result})
_pkgconfig_set(${_prefix}_${_varname} "${_pkgconfig_invoke_result}")
endif(_pkgconfig_failed)
endmacro(_pkgconfig_invoke)
# Invokes pkgconfig two times; once without '--static' and once with
# '--static'
macro(_pkgconfig_invoke_dyn _pkglist _prefix _varname cleanup_regexp)
_pkgconfig_invoke("${_pkglist}" ${_prefix} ${_varname} "${cleanup_regexp}" ${ARGN})
_pkgconfig_invoke("${_pkglist}" ${_prefix} STATIC_${_varname} "${cleanup_regexp}" --static ${ARGN})
endmacro(_pkgconfig_invoke_dyn)
# Splits given arguments into options and a package list
macro(_pkgconfig_parse_options _result _is_req)
set(${_is_req} 0)
foreach(_pkg ${ARGN})
if (_pkg STREQUAL "REQUIRED")
set(${_is_req} 1)
endif (_pkg STREQUAL "REQUIRED")
endforeach(_pkg ${ARGN})
set(${_result} ${ARGN})
list(REMOVE_ITEM ${_result} "REQUIRED")
endmacro(_pkgconfig_parse_options)
###
macro(_pkg_check_modules_internal _is_required _is_silent _prefix)
_pkgconfig_unset(${_prefix}_FOUND)
_pkgconfig_unset(${_prefix}_VERSION)
_pkgconfig_unset(${_prefix}_PREFIX)
_pkgconfig_unset(${_prefix}_INCLUDEDIR)
_pkgconfig_unset(${_prefix}_LIBDIR)
_pkgconfig_unset(${_prefix}_LIBS)
_pkgconfig_unset(${_prefix}_LIBS_L)
_pkgconfig_unset(${_prefix}_LIBS_PATHS)
_pkgconfig_unset(${_prefix}_LIBS_OTHER)
_pkgconfig_unset(${_prefix}_CFLAGS)
_pkgconfig_unset(${_prefix}_CFLAGS_I)
_pkgconfig_unset(${_prefix}_CFLAGS_OTHER)
_pkgconfig_unset(${_prefix}_STATIC_LIBDIR)
_pkgconfig_unset(${_prefix}_STATIC_LIBS)
_pkgconfig_unset(${_prefix}_STATIC_LIBS_L)
_pkgconfig_unset(${_prefix}_STATIC_LIBS_PATHS)
_pkgconfig_unset(${_prefix}_STATIC_LIBS_OTHER)
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS)
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS_I)
_pkgconfig_unset(${_prefix}_STATIC_CFLAGS_OTHER)
# create a better addressable variable of the modules and calculate its size
set(_pkg_check_modules_list ${ARGN})
list(LENGTH _pkg_check_modules_list _pkg_check_modules_cnt)
if(PKG_CONFIG_EXECUTABLE)
# give out status message telling checked module
if (NOT ${_is_silent})
if (_pkg_check_modules_cnt EQUAL 1)
message(STATUS "checking for module '${_pkg_check_modules_list}'")
else(_pkg_check_modules_cnt EQUAL 1)
message(STATUS "checking for modules '${_pkg_check_modules_list}'")
endif(_pkg_check_modules_cnt EQUAL 1)
endif(NOT ${_is_silent})
set(_pkg_check_modules_packages)
set(_pkg_check_modules_failed)
# iterate through module list and check whether they exist and match the required version
foreach (_pkg_check_modules_pkg ${_pkg_check_modules_list})
set(_pkg_check_modules_exist_query)
# check whether version is given
if (_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\1" _pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\2" _pkg_check_modules_pkg_op "${_pkg_check_modules_pkg}")
string(REGEX REPLACE "(.*[^><])(>=|=|<=)(.*)" "\\3" _pkg_check_modules_pkg_ver "${_pkg_check_modules_pkg}")
else(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
set(_pkg_check_modules_pkg_name "${_pkg_check_modules_pkg}")
set(_pkg_check_modules_pkg_op)
set(_pkg_check_modules_pkg_ver)
endif(_pkg_check_modules_pkg MATCHES ".*(>=|=|<=).*")
# handle the operands
if (_pkg_check_modules_pkg_op STREQUAL ">=")
list(APPEND _pkg_check_modules_exist_query --atleast-version)
endif(_pkg_check_modules_pkg_op STREQUAL ">=")
if (_pkg_check_modules_pkg_op STREQUAL "=")
list(APPEND _pkg_check_modules_exist_query --exact-version)
endif(_pkg_check_modules_pkg_op STREQUAL "=")
if (_pkg_check_modules_pkg_op STREQUAL "<=")
list(APPEND _pkg_check_modules_exist_query --max-version)
endif(_pkg_check_modules_pkg_op STREQUAL "<=")
# create the final query which is of the format:
# * --atleast-version <version> <pkg-name>
# * --exact-version <version> <pkg-name>
# * --max-version <version> <pkg-name>
# * --exists <pkg-name>
if (_pkg_check_modules_pkg_op)
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_ver}")
else(_pkg_check_modules_pkg_op)
list(APPEND _pkg_check_modules_exist_query --exists)
endif(_pkg_check_modules_pkg_op)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_VERSION)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_PREFIX)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_INCLUDEDIR)
_pkgconfig_unset(${_prefix}_${_pkg_check_modules_pkg_name}_LIBDIR)
list(APPEND _pkg_check_modules_exist_query "${_pkg_check_modules_pkg_name}")
list(APPEND _pkg_check_modules_packages "${_pkg_check_modules_pkg_name}")
# execute the query
execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE} ${_pkg_check_modules_exist_query}
RESULT_VARIABLE _pkgconfig_retval)
# evaluate result and tell failures
if (_pkgconfig_retval)
if(NOT ${_is_silent})
message(STATUS " package '${_pkg_check_modules_pkg}' not found")
endif(NOT ${_is_silent})
set(_pkg_check_modules_failed 1)
endif(_pkgconfig_retval)
endforeach(_pkg_check_modules_pkg)
if(_pkg_check_modules_failed)
# fail when requested
if (${_is_required})
message(SEND_ERROR "A required package was not found")
endif (${_is_required})
else(_pkg_check_modules_failed)
# when we are here, we checked whether requested modules
# exist. Now, go through them and set variables
_pkgconfig_set(${_prefix}_FOUND 1)
list(LENGTH _pkg_check_modules_packages pkg_count)
# iterate through all modules again and set individual variables
foreach (_pkg_check_modules_pkg ${_pkg_check_modules_packages})
# handle case when there is only one package required
if (pkg_count EQUAL 1)
set(_pkg_check_prefix "${_prefix}")
else(pkg_count EQUAL 1)
set(_pkg_check_prefix "${_prefix}_${_pkg_check_modules_pkg}")
endif(pkg_count EQUAL 1)
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" VERSION "" --modversion )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" PREFIX "" --variable=prefix )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" INCLUDEDIR "" --variable=includedir )
_pkgconfig_invoke(${_pkg_check_modules_pkg} "${_pkg_check_prefix}" LIBDIR "" --variable=libdir )
message(STATUS " found ${_pkg_check_modules_pkg}, version ${_pkgconfig_VERSION}")
endforeach(_pkg_check_modules_pkg)
# set variables which are combined for multiple modules
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARIES "(^| )-l" --libs-only-l )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LIBRARY_DIRS "(^| )-L" --libs-only-L )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS "" --libs )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" LDFLAGS_OTHER "" --libs-only-other )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" INCLUDE_DIRS "(^| )-I" --cflags-only-I )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS "" --cflags )
_pkgconfig_invoke_dyn("${_pkg_check_modules_packages}" "${_prefix}" CFLAGS_OTHER "" --cflags-only-other )
endif(_pkg_check_modules_failed)
else(PKG_CONFIG_EXECUTABLE)
if (${_is_required})
message(SEND_ERROR "pkg-config tool not found")
endif (${_is_required})
endif(PKG_CONFIG_EXECUTABLE)
endmacro(_pkg_check_modules_internal)
###
### User visible macros start here
###
###
macro(pkg_check_modules _prefix _module0)
# check cached value
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION})
_pkgconfig_parse_options (_pkg_modules _pkg_is_required "${_module0}" ${ARGN})
_pkg_check_modules_internal("${_pkg_is_required}" 0 "${_prefix}" ${_pkg_modules})
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION})
endmacro(pkg_check_modules)
###
macro(pkg_search_module _prefix _module0)
# check cached value
if (NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
set(_pkg_modules_found 0)
_pkgconfig_parse_options(_pkg_modules_alt _pkg_is_required "${_module0}" ${ARGN})
message(STATUS "checking for one of the modules '${_pkg_modules_alt}'")
# iterate through all modules and stop at the first working one.
foreach(_pkg_alt ${_pkg_modules_alt})
if(NOT _pkg_modules_found)
_pkg_check_modules_internal(0 1 "${_prefix}" "${_pkg_alt}")
endif(NOT _pkg_modules_found)
if (${_prefix}_FOUND)
set(_pkg_modules_found 1)
endif(${_prefix}_FOUND)
endforeach(_pkg_alt)
if (NOT ${_prefix}_FOUND)
if(${_pkg_is_required})
message(SEND_ERROR "None of the required '${_pkg_modules_alt}' found")
endif(${_pkg_is_required})
endif(NOT ${_prefix}_FOUND)
_pkgconfig_set(__pkg_config_checked_${_prefix} ${PKG_CONFIG_VERSION})
endif(NOT DEFINED __pkg_config_checked_${_prefix} OR __pkg_config_checked_${_prefix} LESS ${PKG_CONFIG_VERSION} OR NOT ${_prefix}_FOUND)
endmacro(pkg_search_module)
### Local Variables:
### mode: cmake
### End:
+3 -3
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -30,7 +30,7 @@ IF(PYTHON_FOUND)
ENDIF(PYTHON_FOUND)
FIND_PROGRAM(PYTHON_EXECUTABLE
NAMES python python2.5 python2.4 python2.3 python2.2
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
@@ -61,7 +61,7 @@ IF(PYTHON_EXECUTABLE)
)
FIND_LIBRARY(PYTHON_LIBRARY
NAMES python python2.5 python2.4 python2.3 python2.2
NAMES python python2.6 python2.5 python2.4 python2.3 python2.2
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
)
+1 -1
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,25 +14,22 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
IF(NCURSES_FOUND)
SET(NCURSES_FIND_QUIETLY TRUE)
ENDIF(NCURSES_FOUND)
# - Find Source-Highlight
# This module finds if source-highlight is installed.
FIND_PATH(NCURSES_INCLUDE_PATH
NAMES ncurses.h curses.h
PATHS /usr/include /usr/local/include /usr/pkg/include
IF (SOURCEHIGHLIGHT_FOUND)
# Already in cache, be silent
SET(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
ENDIF (SOURCEHIGHLIGHT_FOUND)
FIND_PROGRAM(
SOURCEHIGHLIGHT_EXECUTABLE source-highlight
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
FIND_LIBRARY(NCURSES_LIBRARY
NAMES ncursesw ncurses
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
SET(NCURSES_FOUND TRUE)
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
MARK_AS_ADVANCED(
NCURSES_INCLUDE_PATH
NCURSES_LIBRARY
)
IF(SOURCEHIGHLIGHT_EXECUTABLE)
SET(SOURCEHIGHLIGHT_FOUND TRUE)
MARK_AS_ADVANCED(
SOURCEHIGHLIGHT_EXECUTABLE
)
ENDIF(SOURCEHIGHLIGHT_EXECUTABLE)
+159
View File
@@ -0,0 +1,159 @@
# - Find Tcl includes and libraries.
# This module finds if Tcl is installed and determines where the
# include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables:
# TCL_FOUND = Tcl was found
# TK_FOUND = Tk was found
# TCLTK_FOUND = Tcl and Tk were found
# TCL_LIBRARY = path to Tcl library (tcl tcl80)
# TCL_INCLUDE_PATH = path to where tcl.h can be found
# TCL_TCLSH = path to tclsh binary (tcl tcl80)
# TK_LIBRARY = path to Tk library (tk tk80 etc)
# TK_INCLUDE_PATH = path to where tk.h can be found
# TK_WISH = full path to the wish executable
#
# In an effort to remove some clutter and clear up some issues for people
# who are not necessarily Tcl/Tk gurus/developpers, some variables were
# moved or removed. Changes compared to CMake 2.4 are:
# - The stub libraries are now found in FindTclStub.cmake
# => they were only useful for people writing Tcl/Tk extensions.
# - TCL_LIBRARY_DEBUG and TK_LIBRARY_DEBUG were removed.
# => these libs are not packaged by default with Tcl/Tk distributions.
# Even when Tcl/Tk is built from source, several flavors of debug libs
# are created and there is no real reason to pick a single one
# specifically (say, amongst tcl84g, tcl84gs, or tcl84sgx).
# Let's leave that choice to the user by allowing him to assign
# TCL_LIBRARY to any Tcl library, debug or not.
# - TK_INTERNAL_PATH was removed.
# => this ended up being only a Win32 variable, and there is a lot of
# confusion regarding the location of this file in an installed Tcl/Tk
# tree anyway (see 8.5 for example). If you need the internal path at
# this point it is safer you ask directly where the *source* tree is
# and dig from there.
IF(TCL_FOUND)
SET(TCL_FIND_QUIETLY TRUE)
ENDIF(TCL_FOUND)
INCLUDE(CMakeFindFrameworks)
INCLUDE(FindTclsh)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH "${TCL_TCLSH}" PATH)
GET_FILENAME_COMPONENT(TCL_TCLSH_PATH_PARENT "${TCL_TCLSH_PATH}" PATH)
STRING(REGEX REPLACE
"^.*tclsh([0-9]\\.*[0-9]).*$" "\\1" TCL_TCLSH_VERSION "${TCL_TCLSH}")
GET_FILENAME_COMPONENT(TCL_INCLUDE_PATH_PARENT "${TCL_INCLUDE_PATH}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH "${TCL_LIBRARY}" PATH)
GET_FILENAME_COMPONENT(TCL_LIBRARY_PATH_PARENT "${TCL_LIBRARY_PATH}" PATH)
STRING(REGEX REPLACE
"^.*tcl([0-9]\\.*[0-9]).*$" "\\1" TCL_VERSION "${TCL_LIBRARY}")
SET(TCL_POSSIBLE_LIB_PATHS
"${TCL_INCLUDE_PATH_PARENT}/lib"
"${TCL_LIBRARY_PATH}"
"${TCL_TCLSH_PATH_PARENT}/lib"
/usr/lib
/usr/local/lib
)
IF(WIN32)
GET_FILENAME_COMPONENT(
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
NAME)
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/lib"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/lib"
"$ENV{ProgramFiles}/Tcl/Lib"
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
)
ENDIF(WIN32)
FIND_LIBRARY(TCL_LIBRARY
NAMES
tcl
tcl${TCL_VERSION} tcl${TCL_TCLSH_VERSION}
tcl86 tcl8.6
tcl85 tcl8.5
tcl84 tcl8.4
tcl83 tcl8.3
tcl82 tcl8.2
tcl80 tcl8.0
PATHS ${TCL_POSSIBLE_LIB_PATHS}
)
CMAKE_FIND_FRAMEWORKS(Tcl)
SET(TCL_FRAMEWORK_INCLUDES)
IF(Tcl_FRAMEWORKS)
IF(NOT TCL_INCLUDE_PATH)
FOREACH(dir ${Tcl_FRAMEWORKS})
SET(TCL_FRAMEWORK_INCLUDES ${TCL_FRAMEWORK_INCLUDES} ${dir}/Headers)
ENDFOREACH(dir)
ENDIF(NOT TCL_INCLUDE_PATH)
ENDIF(Tcl_FRAMEWORKS)
SET(TCL_POSSIBLE_INCLUDE_PATHS
"${TCL_LIBRARY_PATH_PARENT}/include"
"${TCL_INCLUDE_PATH}"
${TCL_FRAMEWORK_INCLUDES}
"${TCL_TCLSH_PATH_PARENT}/include"
/usr/include
/usr/local/include
/usr/include/tcl${TCL_VERSION}
/usr/include/tcl8.6
/usr/include/tcl8.5
/usr/include/tcl8.4
/usr/include/tcl8.3
/usr/include/tcl8.2
/usr/include/tcl8.0
/usr/local/include/tcl${TCL_VERSION}
/usr/local/include/tcl8.6
/usr/local/include/tcl8.5
/usr/local/include/tcl8.4
/usr/local/include/tcl8.3
/usr/local/include/tcl8.2
/usr/local/include/tcl8.0
)
IF(WIN32)
SET(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl\\${ActiveTcl_CurrentVersion}]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.6;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.5;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.4;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.3;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.2;Root]/include"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Scriptics\\Tcl\\8.0;Root]/include"
"$ENV{ProgramFiles}/Tcl/include"
"C:/Program Files/Tcl/include"
"C:/Tcl/include"
)
ENDIF(WIN32)
FIND_PATH(TCL_INCLUDE_PATH
NAMES tcl.h
PATHS ${TCL_POSSIBLE_INCLUDE_PATHS}
)
IF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
SET(TCL_VERSION ${TCL_VERSION})
SET(TCL_LIBARY ${TCL_LIBRARY})
SET(TCL_INCLUDE_PATH ${TCL_INCLUDE_PATH})
SET(TCL_FOUND TRUE)
ENDIF(TCL_LIBRARY AND TCL_INCLUDE_PATH)
MARK_AS_ADVANCED(
TCL_INCLUDE_PATH
TCL_LIBRARY
TCL_VERSION
)
+16
View File
@@ -1,3 +1,19 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
IF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
MESSAGE(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt\"")
ENDIF(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
+17
View File
@@ -1,4 +1,21 @@
#!/bin/sh
#
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
VERSION=@VERSION@
SRCROOT=@CMAKE_SOURCE_DIR@
BUILDDIR=@CMAKE_BINARY_DIR@
+2
View File
@@ -18,7 +18,9 @@
#cmakedefine HAVE_FLOCK
#cmakedefine HAVE_LANGINFO_CODESET
#cmakedefine HAVE_STRNDUP
#cmakedefine HAVE_BACKTRACE
#cmakedefine ICONV_2ARG_IS_CONST 1
#cmakedefine HAVE_TCL_CREATE_NS
#define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@"
+464 -260
View File
File diff suppressed because it is too large Load Diff
Vendored
+3 -2
View File
@@ -1,6 +1,7 @@
weechat (0.1.6-1) unstable; urgency=low
This release introduces some incompatible changes with old scripts and locale
support, you can read the upstream NEWS file for more information.
* This release introduces some incompatible changes with old scripts
and locale support, you can read the upstream NEWS file for more
information.
-- Julien Louis <ptitlouis@sysif.net> Fri, 11 Nov 2005 20:45:46 +0100
+69 -126
View File
@@ -1,3 +1,72 @@
weechat (0.3.0-1) experimental; urgency=low
* New (major) upstream release.
- Fix the excessive number of wakeups (Closes: #461945)
* Packaging changes:
- Drop weechat-common
- Add weechat-doc (Documentation)
- Add weechat-core (locales files, essential plugins)
- Add weechat-dbg (gdb debugging symbols)
- Add weechat-dev (plugins developement files)
* Adjust Build-Depends for new tcl plugin (update debian/copyright).
* Remove quilt from Build-Depends (patches merged upstream).
* Switch packaging from cdbs to plain debhelper.
* Update packages descriptions.
* Add a lintian-override against manpage line wrapping error.
-- Emmanuel Bouthenot <kolter@openics.org> Fri, 08 May 2009 13:36:39 +0000
weechat (0.2.6-2) unstable; urgency=low
* Setting me as maintainer with previous maintainer agreement.
* Remove Uploaders field.
* Add quilt to Build-Depends.
* Add a patch to fix probable pthread mutex locks on hppa architecture
with perl plugin (Closes: #495080).
* Add a Homepage field.
* Update Standards-Version to 3.8.0.
* Reformat NEWS file to avoid lintian warnings.
* Fix typos in control file.
-- Emmanuel Bouthenot <kolter@openics.org> Sun, 30 Nov 2008 16:38:54 +0100
weechat (0.2.6-1) unstable; urgency=low
* New Upstream Version
* Switch to GPLv3 (update copyright)
* Update menu entry
-- Emmanuel Bouthenot <kolter@openics.org> Thu, 06 Sep 2007 20:10:26 +0200
weechat (0.2.5-1) unstable; urgency=low
* New Upstream Version
-- Julien Louis <ptitlouis@sysif.net> Tue, 12 Jun 2007 19:42:15 +0200
weechat (0.2.4-2) unstable; urgency=low
* Backport iso-2022-jp patch from upstream CVS (Closes: #421833).
* Set myself as Maintainer with previous Maintainer agreement.
-- Julien Louis <ptitlouis@sysif.net> Thu, 03 May 2007 21:15:59 +0200
weechat (0.2.4-1) unstable; urgency=low
* New upstream release
-- Julien Louis <ptitlouis@sysif.net> Thu, 29 Mar 2007 21:01:46 +0200
weechat (0.2.3-1) unstable; urgency=low
* New upstream release
* Bump lua build-dependency to liblua5.1-0-dev
* Add pkg-config to Build-Depends
* Remove some duplited changelog entries.
* Improve weechat-plugins description
-- Julien Louis <ptitlouis@sysif.net> Fri, 12 Jan 2007 09:01:46 +0100
weechat (0.2.1-1) unstable; urgency=low
* New upstream release
@@ -215,129 +284,3 @@ weechat (0.0.1-1) unstable; urgency=low
* First version.
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
weechat (0.1.5-1) unstable; urgency=low
* New upstream release
-- Julien Louis <ptitlouis@sysif.net> Sat, 24 Sep 2005 14:08:55 +0200
weechat (0.1.4-2) unstable; urgency=low
* Add autotools-dev to Build-Depends.
* update autotools stuff automatically to always
have up-to-date config.{guess,sub}
* Update Build-Depends: libgnutls11-dev -> libgnutls-dev
-- Julien Louis <ptitlouis@sysif.net> Mon, 1 Aug 2005 11:46:39 +0200
weechat (0.1.4-1) unstable; urgency=low
* New upstream release.
-- Julien Louis <ptitlouis@sysif.net> Sat, 30 Jul 2005 16:26:55 +0200
weechat (0.1.3-2) unstable; urgency=low
* Update config.{guess,sub} to fix FTBFS on k*BSD (Closes: #316791)
-- Julien Louis <ptitlouis@sysif.net> Fri, 8 Jul 2005 21:30:38 +0200
weechat (0.1.3-1) unstable; urgency=low
* New upstream release.
-- Julien Louis <ptitlouis@sysif.net> Sat, 2 Jul 2005 20:06:29 +0200
weechat (0.1.2-3) unstable; urgency=low
* Apply patch against gui-display.c to fix curses color bug.
* remove dh_install --sourcedir to allow builds on woody.
-- Julien Louis <ptitlouis@sysif.net> Sun, 19 Jun 2005 22:37:11 +0200
weechat (0.1.2-2) unstable; urgency=low
* Patch src/gui/curse/gui-display.c to fix segfault
when config file does not exists (Closes: #310589).
-- Julien Louis <ptitlouis@sysif.net> Tue, 24 May 2005 20:55:02 +0200
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
weechat (0.1.1-2) unstable; urgency=low
* debian/control:
- Add myself to uploaders.
- Remove unecessary dependency on weechat-gtk (Closes: #308287).
-- Julien Louis <ptitlouis@sysif.net> Tue, 10 May 2005 22:38:52 +0200
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
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
weechat (0.0.9-1) unstable; urgency=low
* WeeChat version 0.0.9, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 01 Jan 2005 13:00:00 +0200
weechat (0.0.8-1) unstable; urgency=low
* WeeChat version 0.0.8, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 30 Oct 2004 11:40:00 +0200
weechat (0.0.7-1) unstable; urgency=low
* WeeChat version 0.0.7, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 08 Aug 2004 21:00:00 +0200
weechat (0.0.6-1) unstable; urgency=low
* WeeChat version 0.0.6, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 05 Jun 2004 11:30:00 +0200
weechat (0.0.5-1) unstable; urgency=low
* WeeChat version 0.0.5, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sat, 07 Feb 2004 20:30:00 +0200
weechat (0.0.4-1) unstable; urgency=low
* WeeChat version 0.0.4, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Thu, 01 Jan 2004 13:00:00 +0200
weechat (0.0.3-1) unstable; urgency=low
* WeeChat version 0.0.3, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Mon, 03 Nov 2003 23:15:00 +0200
weechat (0.0.2-1) unstable; urgency=low
* WeeChat version 0.0.2, see ChangeLog for detail.
-- FlashCode <flashcode@flashtux.org> Sun, 05 Oct 2003 12:00:00 +0200
weechat (0.0.1-1) unstable; urgency=low
* First version.
-- FlashCode <flashcode@flashtux.org> Sat, 27 Sep 2003 12:00:00 +0200
+1 -1
View File
@@ -1 +1 @@
5
7
+68 -24
View File
@@ -1,17 +1,19 @@
Source: weechat
Section: net
Priority: optional
Maintainer: Sebastien Helleu <flashcode@flashtux.org>
Uploaders: Julien Louis <ptitlouis@sysif.net>
Maintainer: Emmanuel Bouthenot <kolter@openics.org>
Build-Depends-Indep: xsltproc, docbook-xsl, docbook-xml
Build-Depends: cdbs, debhelper (>= 5), libncursesw5-dev, ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblualib50-dev, libgnutls-dev, libtool, dpkg-dev (>= 1.13.19)
Standards-Version: 3.7.2
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby, ruby1.8-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl-dev, libgnutls-dev, dpkg-dev (>= 1.13.19), pkg-config
Standards-Version: 3.8.1
Homepage: http://weechat.flashtux.org/
Package: weechat
Architecture: all
Depends: weechat-common (= ${source:Version}), weechat-curses (>= ${binary:Version})
Description: Fast, light and extensible IRC client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
Depends: ${misc:Depends}, weechat-curses (>= ${source:Version})
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:
- nicklist
@@ -21,15 +23,13 @@ Description: Fast, light and extensible IRC client
- double charset support (decode/encode)
- FIFO pipe for remote control
- and much more!
.
Homepage: http://weechat.flashtux.org/
Package: weechat-curses
Architecture: any
Depends: ${shlibs:Depends}, weechat-common (= ${source:Version})
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-core (= ${binary:Version})
Recommends: weechat-plugins (= ${binary:Version})
Description: Fast, light and extensible IRC client
WeeChat (Wee Enhanced Environment for Chat) is a fast and light IRC client
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:
- nicklist
@@ -40,20 +40,64 @@ Description: Fast, light and extensible IRC client
- FIFO pipe for remote control
- and much more!
.
Homepage: http://weechat.flashtux.org/
This package provides the console client (ncurses).
Package: weechat-common
Architecture: all
Replaces: weechat
Recommends: weechat-curses
Description: Common files for WeeChat
Documentation, examples, and locale files for WeeChat - fast, light and
extensible IRC client. It is useless without weechat-curses.
Package: weechat-core
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Suggests: weechat-doc (= ${source:Version})
Conflicts: weechat-common, weechat-plugins (<< 0.3.0)
Description: Fast, light and extensible chat client - core files
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides core plugins and locales files for WeeChat. It
currently ships the following plugins: xfer, notify, irc, charset and
logger. It is useless without weechat-curses.
Package: weechat-plugins
Architecture: any
Depends: ${shlibs:Depends}
Depends: ${misc:Depends}, ${shlibs:Depends}, weechat-curses (= ${binary:Version})
Suggests: weechat-scripts
Description: Plugins for WeeChat
This package provides some plugins to enhance weechat with scripting languages
such as perl python or ruby.
Description: Fast, light and extensible chat client - plugins
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package provides some plugins to enhance WeeChat. It currently
ships the following plugins:
- Perl, Python, Ruby, Lua, and Tcl scripting.
- Spell checking (thanks to aspell).
- Charsets management
- And many others (Relay, Fifo, ...)
Package: weechat-doc
Section: doc
Architecture: all
Depends: ${misc:Depends}
Description: Fast, light and extensible chat client - documentation
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package contains the html documentation for WeeChat.
Package: weechat-dev
Section: devel
Architecture: all
Depends: ${misc:Depends}
Description: Fast, light and extensible chat client - developement headers
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package contains the headers needed to build plugins.
Package: weechat-dbg
Section: debug
Priority: extra
Architecture: any
Depends: ${misc:Depends}, weechat-curses (= ${binary:Version}) |
weechat-core (= ${binary:Version}), weechat-plugins (= ${binary:Version})
Description: Fast, light and extensible chat client - debugging symbols
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat client
for many operating systems. Everything can be done with a keyboard.
.
This package contains gdb debugging symbols for the WeeChat packages.
+7 -7
View File
@@ -3,17 +3,17 @@ Sat, 21 May 2005 08:00:00 +0200.
It was downloaded from http://weechat.flashtux.org/download
Upstream Authors:
- FlashCode <flashcode@flashtux.org>
- kolter <kolter@free.fr>
Copyright:
(2003) FlashCode <flashcode@flashtux.org>
Emmanuel Bouthenot <kolter@openics.org>
(2008) Dmitry Kobylin <fnfal@academ.tsc.ru> (tcl plugin)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
the Free Software Foundation; either version 3 of the License, or (at
your option) any later version.
On Debian systems, the complete text of the GNU General Public
License, Version 2 can be found in the file
/usr/share/common-licenses/GPL
License, Version 3 can be found in the file
/usr/share/common-licenses/GPL-3
-1
View File
@@ -1 +0,0 @@
weechat-curses: menu-icon-missing /usr/share/pixmaps/weechat.xpm
+29 -29
View File
@@ -1,37 +1,37 @@
#!/usr/bin/make -f
# Sample debian/rules that uses cdbs. Originaly written by Robert Millan.
# This file is public domain.
DEB_AUTO_CLEANUP_RCS := yes
builddir/Makefile:
mkdir -p builddir
cd builddir && \
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS="$(CFLAGS)" \
-DCMAKE_LD_FLAGS="-Wl,-z,defs" \
-DCMAKE_CXX_FLAGS="$(CXXFLAGS)" \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON
# Add here any variable or target overrides you need
build: build-stamp
build-stamp: builddir/Makefile
dh_testdir
$(MAKE) -C builddir
touch $@
DEB_CONFIGURE_USER_FLAGS := --with-debug=0
DEB_STRIP_EXCLUDE := libperl.a
DEB_DH_INSTALL_SOURCEDIR := $(CURDIR)/debian/tmp
DEB_INSTALL_DOCS_weechat-common := FAQ FAQ.fr
DEB_DH_MAKESHLIBS_ARGS_weechat-plugins := -n
override_dh_auto_configure:
# the package also has autotools buildsys and
# debhelper try to use it but that's not needed
echo
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
override_dh_install:
$(MAKE) -C builddir DESTDIR=$(CURDIR)/debian/tmp install
dh_install
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
override_dh_strip:
dh_strip --dbg-package=weechat-dbg
ifeq ($(DEB_HOST_ARCH_OS),hurd)
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-lpthread"
endif
clean:
rm -rf builddir
dh $@
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
install/weechat-common::
install -D -o root -g root -m 644 debian/weechat.xpm $(CURDIR)/debian/weechat-common/usr/share/pixmaps/weechat.xpm
install/weechat-curses::
install -D -o root -g root -m 644 debian/lintian-override $(CURDIR)/debian/weechat-curses/usr/share/lintian/overrides/weechat-curses
%:
dh $@
-7
View File
@@ -1,7 +0,0 @@
AUTHORS
BUGS
FAQ
FAQ.fr
NEWS
README
TODO
-2
View File
@@ -1,2 +0,0 @@
usr/share/locale/
usr/share/doc/weechat/html usr/share/doc/weechat-common
+3
View File
@@ -0,0 +1,3 @@
AUTHORS
NEWS
README
+6
View File
@@ -0,0 +1,6 @@
usr/share/locale/
usr/lib/weechat/plugins/alias.so
usr/lib/weechat/plugins/xfer.so
usr/lib/weechat/plugins/irc.so
usr/lib/weechat/plugins/charset.so
usr/lib/weechat/plugins/logger.so
+1
View File
@@ -1 +1,2 @@
usr/bin
usr/share/pixmaps
+1
View File
@@ -1 +1,2 @@
usr/bin/weechat-curses
debian/weechat.xpm usr/share/pixmaps
+1
View File
@@ -0,0 +1 @@
weechat-curses: manpage-has-errors-from-man usr/share/man/man1/weechat-curses.1.gz 54: warning [p 1, 8.2i]: cannot adjust line
+1 -1
View File
@@ -1,4 +1,4 @@
?package(weechat-curses):needs="text" section="Apps/Net" \
?package(weechat-curses):needs="text" section="Applications/Network/Communication" \
title="weechat-curses" \
icon="/usr/share/pixmaps/weechat.xpm" \
command="/usr/bin/weechat-curses"
+1
View File
@@ -0,0 +1 @@
usr/include/weechat
+2
View File
@@ -0,0 +1,2 @@
usr/include/weechat/*
usr/lib/pkgconfig/*
+6
View File
@@ -0,0 +1,6 @@
doc/en/weechat_faq.en.txt
doc/en/weechat_quickstart.en.txt
doc/en/weechat_tester.en.txt
doc/fr/weechat_faq.fr.txt
doc/fr/weechat_quickstart.fr.txt
doc/fr/weechat_tester.fr.txt
+1
View File
@@ -0,0 +1 @@
usr/share/doc/weechat usr/share/doc/weechat-doc
-1
View File
@@ -1 +0,0 @@
usr/bin
-1
View File
@@ -1 +0,0 @@
usr/bin/weechat-gtk
+7 -1
View File
@@ -1 +1,7 @@
usr/lib/weechat/plugins/*so*
usr/lib/weechat/plugins/aspell.so
usr/lib/weechat/plugins/fifo.so
usr/lib/weechat/plugins/perl.so
usr/lib/weechat/plugins/python.so
usr/lib/weechat/plugins/ruby.so
usr/lib/weechat/plugins/lua.so
usr/lib/weechat/plugins/tcl.so
+9 -148
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,154 +14,15 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
SET(DOC_LANGS
cs
de
en
fr
pl
ru
sco
sv
)
IF(NOT DISABLE_DOC)
FIND_PROGRAM(
COPY cp
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
FIND_PACKAGE(Sourcehighlight)
FIND_PACKAGE(Asciidoc)
IF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
ADD_SUBDIRECTORY( en )
ADD_SUBDIRECTORY( fr )
ENDIF(ASCIIDOC_FOUND AND SOURCEHIGHLIGHT_FOUND)
FIND_PROGRAM(
XSLTPROC xsltproc
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
FIND_PROGRAM(
DBLATEX dblatex
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
FIND_FILE(DOC_XSL_PREFIX chunk.xsl PATHS
/usr/share/xml/docbook/stylesheet/nwalsh/
/usr/share/xml/docbook/xsl-stylesheets-1.69/
PATH_SUFFIXES html
DOC "Path to nwalsh xsl stylesheet"
)
STRING(REPLACE "/html/chunk.xsl" "" DOC_XSL_PREFIX "${DOC_XSL_PREFIX}")
IF(XSLTPROC AND DOC_XSL_PREFIX AND COPY)
SET(BUILD_HTML TRUE)
ENDIF(XSLTPROC AND DOC_XSL_PREFIX AND COPY)
IF(DBLATEX AND COPY)
SET(BUILD_PDF TRUE)
ENDIF(DBLATEX AND COPY)
IF(BUILD_HTML)
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html.xsl.in
${CMAKE_CURRENT_BINARY_DIR}/weechat-html.xsl
@ONLY
)
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
${CMAKE_CURRENT_BINARY_DIR}/weechat-html-one.xsl
@ONLY
)
ENDIF(BUILD_HTML)
IF(BUILD_HTML OR BUILD_PDF)
EXECUTE_PROCESS(
COMMAND date "+%F %T"
OUTPUT_VARIABLE DOC_DATE
)
STRING(REPLACE "\n" "" DOC_DATE "${DOC_DATE}")
CONFIGURE_FILE(
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
${CMAKE_CURRENT_BINARY_DIR}/date.xml
@ONLY
)
FOREACH(dlang ${DOC_LANGS})
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml)
IF(BUILD_HTML)
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang})
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build)
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang})
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/index.html ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_BINARY_DIR}/date.xml" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css" "${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css" "${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}"
COMMAND ${XSLTPROC} ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/ ${CMAKE_CURRENT_BINARY_DIR}/weechat-html.xsl ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build/weechat.${dlang}.xml
COMMAND ${XSLTPROC} ARGS -o ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html ${CMAKE_CURRENT_BINARY_DIR}/weechat-html-one.xsl ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}-build/weechat.${dlang}.xml
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html.xsl.in
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
${CMAKE_CURRENT_SOURCE_DIR}/weechat-doc.css
COMMENT "Building html doc (${dlang})"
)
ADD_CUSTOM_TARGET(doc-html-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang}/index.html)
ADD_CUSTOM_TARGET(doc-html-one-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/html-one/${dlang}/weechat.${dlang}.html)
INSTALL(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/${dlang} DESTINATION share/doc/${PROJECT_NAME}/html)
ENDIF(BUILD_HTML)
IF(BUILD_PDF)
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang})
FILE(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${COPY} ARGS "${CMAKE_CURRENT_BINARY_DIR}/date.xml" "${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build"
COMMAND ${DBLATEX} ARGS -c ${CMAKE_CURRENT_SOURCE_DIR}/dblatex.conf -o ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}-build/weechat.${dlang}.xml
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/config.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/irc_commands.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/key_functions.xml
${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_commands.xml
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
${CMAKE_CURRENT_SOURCE_DIR}/weechat-html-one.xsl.in
${CMAKE_CURRENT_SOURCE_DIR}/date.xml.in
COMMENT "Building pdf doc (${dlang})"
)
ADD_CUSTOM_TARGET(doc-pdf-${dlang} ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/pdf/${dlang}/weechat.${dlang}.pdf DESTINATION share/doc/${PROJECT_NAME})
ENDIF(BUILD_PDF)
ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat.${dlang}.xml)
ENDFOREACH(dlang ${DOC_LANGS})
ENDIF(BUILD_HTML OR BUILD_PDF)
FOREACH(dlang ${DOC_LANGS})
IF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt DESTINATION share/doc/${PROJECT_NAME})
ENDIF(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dlang}/weechat_quickstart.${dlang}.txt)
ENDFOREACH(dlang ${DOC_LANGS})
ENDIF(NOT DISABLE_DOC)
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat-curses.1 DESTINATION share/man/man1)
+3 -14
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,19 +14,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
SUBDIRS = . en fr de ru pl cs sco sv
SUBDIRS = . en fr
man_MANS = weechat-curses.1
EXTRA_DIST = $(man_MANS) weechat-doc.css weechat-html-one.xsl.in weechat-html.xsl.in weechat-pdf.xsl dblatex.conf
all-local: weechat-html.xsl weechat-html-one.xsl
weechat-html.xsl: weechat-html.xsl.in
sed -e 's,\@DOC_XSL_PREFIX\@,$(DOC_XSL_PREFIX),g' < weechat-html.xsl.in > weechat-html.xsl
weechat-html-one.xsl: weechat-html-one.xsl.in
sed -e 's,\@DOC_XSL_PREFIX\@,$(DOC_XSL_PREFIX),g' < weechat-html-one.xsl.in > weechat-html-one.xsl
clean-local:
-rm -f weechat-html.xsl weechat-html-one.xsl
EXTRA_DIST = $(man_MANS) CMakeLists.txt
-188
View File
@@ -1,188 +0,0 @@
#!/usr/bin/perl
#
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# Build some XML code for WeeChat doc
# with weechat-curses command
#
@all_lang = ("fr_FR", "en_US", "de_DE");
%all_encodings = ("fr_FR" => "iso-8859-1",
"en_US" => "iso-8859-1",
"de_DE" => "iso-8859-1");
%all_types = ("fr_FR" => "type",
"en_US" => "type",
"de_DE" => "Typ",
"es_ES" => "tipo");
%all_values = ("fr_FR" => "valeurs",
"en_US" => "values",
"de_DE" => "Werte",
"es_ES" => "valores");
%all_default = ("fr_FR" => "valeur par défaut",
"en_US" => "default value",
"de_DE" => "Standardwert",
"es_ES" => "valor por defecto");
%all_desc = ("fr_FR" => "description",
"en_US" => "description",
"de_DE" => "Beschreibung",
"es_ES" => "descripciĂłn");
$warning_do_not_edit = "\n<!-- ********* WARNING! *********\n\n"
." This file is automatically built with a Perl script. DO NOT EDIT!\n"
."-->\n\n";
foreach $lng (@all_lang)
{
create_commands ($lng, $all_encodings{$lng},
"weechat-curses -w | sed 1,2d", "weechat_commands");
create_commands ($lng, $all_encodings{$lng},
"weechat-curses -i | sed 1,2d", "irc_commands");
create_key_func ($lng, $all_encodings{$lng},
"weechat-curses -f | sed 1,2d", "key_functions");
create_config ($lng, $all_encodings{$lng},
"weechat-curses -c | sed 1,2d", "config");
print "\n";
}
sub toxml
{
$_ = $_[0];
$_ =~ s/&/&amp;/g;
$_ =~ s/</&lt;/g;
$_ =~ s/>/&gt;/g;
return $_;
}
sub create_commands
{
$lang = $_[0];
$lang2 = substr ($lang, 0, 2);
$encoding = $_[1];
$command = $_[2];
$file = $_[3];
print "Creating $lang2/$file.xml ($lang)...\n";
open XML, ">$lang2/$file.xml" or die "Error: can't write file!";
print XML "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
print XML $warning_do_not_edit;
$started = 0;
$ENV{"LANG"} = $lang;
foreach (`$command`)
{
if (/\* (.*)/)
{
print XML "</programlisting>\n" if ($started == 1);
$started = 1;
print XML "<command>".toxml($1)."</command>\n";
print XML "<programlisting>";
}
else
{
chomp ($_);
print XML toxml($_)."\n";
}
}
print XML "</programlisting>\n";
close XML;
iconv_file ($lang2."/".$file, $encoding);
}
sub create_key_func
{
$lang = $_[0];
$lang2 = substr ($lang, 0, 2);
$encoding = $_[1];
$command = $_[2];
$file = $_[3];
print "Creating $lang2/$file.xml ($lang)...\n";
open XML, ">$lang2/$file.xml" or die "Error: can't write file!";
print XML "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
print XML $warning_do_not_edit;
$ENV{"LANG"} = $lang;
foreach (`$command`)
{
if (/\* (.*): (.*)/)
{
print XML "<row>\n";
print XML " <entry><literal>$1</literal></entry>\n";
print XML " <entry>$2</entry>\n";
print XML "</row>\n";
}
}
close XML;
iconv_file ($lang2."/".$file, $encoding);
}
sub create_config
{
$lang = $_[0];
$lang2 = substr ($lang, 0, 2);
$encoding = $_[1];
$command = $_[2];
$file = $_[3];
print "Creating $lang2/$file.xml ($lang)...\n";
open XML, ">$lang2/$file.xml" or die "Error: can't write file!";
print XML "<?xml version=\"1.0\" encoding=\"$encoding\"?>\n";
print XML $warning_do_not_edit;
$type = "";
$values = "";
$default = "";
$desc = "";
$ENV{"LANG"} = $lang;
foreach (`weechat-curses -c`)
{
if (/\* (.*):/)
{
print XML "<row>\n";
print XML " <entry><option>$1</option></entry>\n";
}
elsif (/ \. $all_types{$lang}: (.*)/)
{
$type = $1;
}
elsif (/ \. $all_values{$lang}: (.*)/)
{
$values = $1;
}
elsif (/ \. $all_default{$lang}: (.*)/)
{
$default = $1;
}
elsif (/ \. $all_desc{$lang}: (.*)/)
{
$_ = $1;
s/(.*)/\u$1/;
$desc = $_;
print XML " <entry>".toxml($type)."</entry>\n";
print XML " <entry>".toxml($values)."</entry>\n";
print XML " <entry>".toxml($default)."</entry>\n";
print XML " <entry>".toxml($desc)."</entry>\n";
print XML "</row>\n";
}
}
close XML;
iconv_file ($lang2."/".$file, $encoding);
}
sub iconv_file
{
print "Converting $_[0].xml to $_[1]...\n";
system ("iconv -t $encoding -o $_[0].xml.$_[1] $_[0].xml");
system ("mv $_[0].xml.$_[1] $_[0].xml");
}
-104
View File
@@ -1,104 +0,0 @@
WeeChat (česká verze)
=========================
1. Spuštění weechat
Podle požadovaného GUI je třeba spustit:
- weechat-curses pro Curses GUI
- weechat-gtk pro GTK GUI (vyvĂ­jĂ­ se)
- weechat-qt pro Qt GUI (nenĂ­ vyvĂ­jeno)
- weechat-wxwidgets pro WxWidgets GUI (nenĂ­ vyvĂ­jeno)
2. Online nápověda / možnosti
WeeChat má nápovědu pro všechny příkazy (/help příkaz)
Pro získání nápovědy k příkazu se používá /help příkaz
Pro nastavenĂ­ voleb pouĹľijte /set volba = hodnota
Lze použít /set volba s částečným jménem (zobrazí všechny možnosti
obsahující písmena), nebo pouze s celým jménem volby bez hodnoty
(pro zobrazení dlouhé nápovědy k volbě).
Důležitá poznámka: nastavení je ukládáno při skončení WeeChat
(nebo pomocí příkazu /save). NEEDITUJTE kontiguracni soubor za
běhu WeeChat, protože do něj můŽe WeeChat kdykoliv zapsat
a není možné jej znovu načíst. Pro změnu jakýchkoliv voleb
použijte příkaz /set, WeeChat okamžitě použije nové nastavení.
3. Vytvoření serveru
Například irc.quakenet.org, port 6667:
/server quakenet irc.quakenet.org 6667
(pro kompletní nápovědu použijte /help server)
4. NastavenĂ­ vlastnĂ­ch voleb serveru
Přezdívky:
/set quakenet.server_nick1 = "mujeprezdivka"
/set quakenet.server_nick2 = "mujeprezdivka2"
/set quakenet.server_nick3 = "mujeprezdivka3"
Uživatelské jméno / skutečné jméno:
/set quakenet.server_username = "moje uživatelské jméno"
/set quakenet.server_realname = "moje skutečné jméno"
Automatické připojení k serveru:
/set quakenet.server_autoconnect = on
OstatnĂ­ volby:
Pro zobrazenĂ­ voleb serveru a jejich hodnot pouĹľijte /set quakenet
Pro nastavenĂ­ volby pouĹľijte /set quakenet.volba_serveru = hodnota
5. Připojení k serveru a automatické připojení ke kanálům
/connect quakenet
6. Příchod/odchod na/z kanálu
Příchod na kanál:
/join #kanál
Odchod z kanálu:
/part [ukončovací zpráva]
Odchod z kanálu a zavření bufferu:
/close [ukončovací zpráva]
(/close je alias na /buffer close)
7. Správa bufferů/oken
Buffery lze spravovat pomocí příkazu "/buffer" a okna pomocí
příkazu "/window".
Například pro rozdělení okna vertikálně na malé okno (1/3 šíčky)
a velké (2/3) použijte příkaz:
/window splitv 33
8. Klávesové zkratky
Podle Vaší klávesnice a/nebo potřeb si můžete změnit jakoukoliv
klávesu pomocí příkazu "/key".
Užitečná klávesa je meta-k (alt-k) pro nalezení klávesového kódu.
Například pro napojení meta-y (alt-y) na příkaz "/buffer close""
/key (stiskněte meta-k) (stiskněte meta-y) /buffer close
Dostanete řádek podobný tomuto:
/key meta-y /buffer close
9. Pluginy/skripty
Na některých distibucích jako Debian, jsou pluginy dostupné v samostatném
balĂ­ÄŤku (jako weechat-plugins).
Pluginy jsou automatikcy načteny při nalezení.
Pro WeeChat je dostupných spousta pluginů/skriptů, více na:
http://weechat.flashtux.org/plugins.php
Pro načítání/rušení pluginů/skriptů se podívejde do dokumentace WeeChat.
10. Další dokumentace
Nyní můžete používat WeeChat a číst FAQ/dokumentaci v případě dalších dotazů:
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
UĹľivejte si WeeChat!
--
(c) 2006-05-31, napsal FlashCode <flashcode@flashtux.org>, přeložil GolemJ <golemj@gmail.com>
This document is part of WeeChat and is distributed under GPL licence.
Tento dokunet je součástí WeeChat a je distribuován pod licencí GPL.
-1
View File
@@ -1 +0,0 @@
<pubdate>@DOC_DATE@</pubdate>
-1
View File
@@ -1 +0,0 @@
XslParam: weechat-pdf.xsl
-78
View File
@@ -1,78 +0,0 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
LANGCODE = de
BOOK = weechat.$(LANGCODE)
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
if DBLATEX_FOUND
PDF = pdf-stamp
endif
docdir = $(datadir)/doc/$(PACKAGE)
all-local: html-stamp $(PDF)
# HTML output with chunks (many pages)
html: html-stamp
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html/
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
cp ../weechat-doc.css html/
touch html-stamp
# HTML output, all in one page
html1: html1-stamp
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html1/
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
cp ../weechat-doc.css html1/
touch html1-stamp
# PDF output
pdf: pdf-stamp
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
dblatex -c ../dblatex.conf $(BOOK).xml || true
touch pdf-stamp
# install docs
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
if DBLATEX_FOUND
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
endif
# clean
clean-local:
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
-rm -rf html/ html1/
-rm -f html-stamp html1-stamp pdf-stamp
-1288
View File
File diff suppressed because it is too large Load Diff
-443
View File
@@ -1,443 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>admin [Ziel]</command>
<programlisting>
Information ĂĽber den Server-Administrator abfragen
Ziel: Server
</programlisting>
<command>ame Nachricht</command>
<programlisting>
Nachricht an alle Channels aller verbundenen Server schicken
zu sendende Nachricht
</programlisting>
<command>amsg Text</command>
<programlisting>
Nachricht an alle Channels aller verbundener Server schicken
Text: zu sendender Text
</programlisting>
<command>away [-all] [Nachricht]</command>
<programlisting>
Abwesenheitsnachricht ein/ausschalten
-all: Abwesenheitszustand auf allen Servern ändern
Nachricht: Abwesenheitsnachricht (bzw. keine, um den Abwesenheitszustand zu deaktivieren)
</programlisting>
<command>ban [Channel] [Nickname [Nickname ...]]</command>
<programlisting>
Nicknames oder Hosts sperren/verbannen
Channel: Channel fĂĽr die Sperre
Nickname: zu sperrender User oder Host
</programlisting>
<command>ctcp Empfänger Typ [Argumente]</command>
<programlisting>
CTCP-Nachricht verschicken
Empfänger: User, an den die CTCP-Nachricht geschickt werden soll
Typ: Typ der CTCP-Nachricht (z.B. "version", "ping", ..)
Argumente: Argumente fĂĽr CTCP
</programlisting>
<command>cycle [Channel[,Channel]] [Abschiedsnachricht]</command>
<programlisting>
einen Channel verlassen und wieder betreten
Channel: zu verlassender Channel
Abschiedsnachricht: Abschiedsnachricht (die den anderen Usern angezeigt wird)
</programlisting>
<command>dehalfop Nickname [Nickname]</command>
<programlisting>
Halb-Operatorstatus aberkennen
</programlisting>
<command>deop Nickname [Nickname]</command>
<programlisting>
Operatorstatus aberkennen
</programlisting>
<command>devoice Nickname [Nickname]</command>
<programlisting>
Voice wegnehmen
</programlisting>
<command>die</command>
<programlisting>
Server herunterfahren
</programlisting>
<command>halfop Nickname [Nickname]</command>
<programlisting>
Halb-Operatorstatus verleihen
</programlisting>
<command>info [Ziel]</command>
<programlisting>
Information ĂĽber den Server abfragen
Ziel: Servername
</programlisting>
<command>invite Nickname Channel</command>
<programlisting>
jemanden in einen Channel einladen
Nickname: Chatname des Einzuladenden
Channel: Channel, in den er eingeladen werden soll
</programlisting>
<command>ison Nickname [Nickname ...]</command>
<programlisting>
ĂĽberprĂĽfen, ob jemand zur Zeit im IRC ist
Nickname: Nickname
</programlisting>
<command>join Channel[,Channel] [Passwort[,Passwort]]</command>
<programlisting>
einen Channel betreten
Channel: zu betretender Channel
Passwort: Channelpasswort (+k-Mode)
</programlisting>
<command>kick [Channel] Nickname [Kommentar]</command>
<programlisting>
einen User aus einem Channel herauskicken
Channel: Channel des Benutzers
Nickname: Nickname des Benutzers
Kommentar: BegrĂĽndung fĂĽr den Kick
</programlisting>
<command>kickban [Channel] Nickname [Kommentar]</command>
<programlisting>
kickt und verbannt jemanden von einem Channel
Channel: Channel des Benutzers
Nickname: Nickname des Benutzers
Kommentar: BegrĂĽndung fĂĽr den Kickban
</programlisting>
<command>kill Nickname Kommentar</command>
<programlisting>
Jemanden vom Server werfen
Nickname: Chatname
Kommentar: BegrĂĽndung
</programlisting>
<command>links [[Server] Servermaske]</command>
<programlisting>
Alle dem antwortenden Server bekannten Servernamen auflisten
Server: dieser Server soll die Anfrage beantworten
Servermaske: die aufzulistenden Server sollen diesem Muster entsprechen
</programlisting>
<command>list [Channel[,Channel] [Server]]</command>
<programlisting>
Channels mit ihren Topics auflisten
Channel: aufzulistender Channel (reguläre Ausdrücke sind möglich)
Server: Servername
</programlisting>
<command>lusers [Maske [Ziel]]</command>
<programlisting>
Statistik über die Größe dieses IRC-Netzwerks abfragen
Maske: Nur Server, die diesem Muster entsprechen
Ziel: Server, der die Anfrage weiterleiten soll
</programlisting>
<command>me Nachricht</command>
<programlisting>
eine CTCP ACTION an den aktuellen Channel senden
zu sendende Nachricht
</programlisting>
<command>mode { Channel {[+|-]|o|p|s|i|t|n|b|v} [Limit] [User] [Bannmaske] } | {Nickname {[+|-]|i|w|s|o} }</command>
<programlisting>
Channel- oder Usermode ändern
Channelmodi:
Channel: zu ändernder Channel
o: gib/nimm Operatorstatus
p: privater Channel
s: geheimer Channel
i: geschlossener Channel (Zutritt nur mit Einladung)
t: nur Operatoren dĂĽrfen das Topic setzen
n: keine Channelnachrichten von auĂźerhalb des Channels
m: moderierter Channel (schreiben nur mit Voice)
l: maximale Anzahl an Usern im Channel festlegen
b: Bannmaske fĂĽr zu sperrende User (in nick!ident@host-Form)
e: lege Ausnahmemaske fest
v: gib/nimm Voice (d.h. Schreibrecht bei moderierten Channels)
k: Channelkey/Channelpasswort festlegen
Usermodi:
Nickname: zu ändernder Nickname
i: User als unsichtbar kennzeichnen
s: User empfängt Server-Nachrichten
w: User empfängt WALLOPS
o: User ist Channeloperator
</programlisting>
<command>motd [Ziel]</command>
<programlisting>
die "Nachricht von heute" abfragen
Ziel: Servername
</programlisting>
<command>msg Empfänger[,Empfänger] Text</command>
<programlisting>
Nachricht an Nick/Channel verschicken
Empfänger: Nick/Channel (darf eine Maske sein, '*' = aktueller Channel)
Text: zu sendender Text
</programlisting>
<command>names [Channel[,Channel]]</command>
<programlisting>
Nicknames in Channels auflisten
Channel: Channelname
</programlisting>
<command>nick [-all] Nickname</command>
<programlisting>
aktuellen Nickname wechseln
-all: Nickname auf allen verbundenen Servern ändern
Nickname: neuer Nickname
</programlisting>
<command>notice Nickname Text</command>
<programlisting>
NOTICE an einen User verschicken
Nickname: Empfänger der Nachricht
Text: zu sendender Text
</programlisting>
<command>op Nickname [Nickname]</command>
<programlisting>
Channeloperatorstatus verleihen
</programlisting>
<command>oper Benutzername Passwort</command>
<programlisting>
Serveroperatorprivilegien anfordern
Benutzername/Passwort: Account im IRC-Server
</programlisting>
<command>part [Channel[,Channel]] [Abschiedsnachricht]</command>
<programlisting>
einen Channel verlassen
Channel: zu verlassender Channel
Abschiedsnachricht: Abschiedsnachricht, die den anderen Usern angezeigt wird
</programlisting>
<command>ping Server1 [Server2]</command>
<programlisting>
Server anpingen
Server1: Anzupingender Server
Server2: Ping an diesen Server weiterleiten
</programlisting>
<command>pong Daemon [Daemon2]</command>
<programlisting>
auf Ping antworten
Daemon: Daemon, der auf die Ping-Nachricht geantwortet hat
Daemon2: Nachricht an diesen Daemon weiterleiten
</programlisting>
<command>query Nickname [Text]</command>
<programlisting>
private Nachricht an jemanden schicken
Nickname: Nickname fĂĽr privaten Chat
Text: zu sendender Text
</programlisting>
<command>quit [Abschiedsnachricht]</command>
<programlisting>
alle Verbindungen trennen und Programm beenden
Abschiednachricht: anderen Usern zu zeigende Nachricht
</programlisting>
<command>quote Daten</command>
<programlisting>
Daten direkt an Server senden (siehe RFC 2812)
Daten: zu sendende Rohdaten
</programlisting>
<command>rehash</command>
<programlisting>
den Server dazu bringen, seine Konfigurationsdatei neu zu laden
</programlisting>
<command>restart</command>
<programlisting>
den Server dazu bringen, sich selbst neu zu starten
</programlisting>
<command>service Nickname reserviert Distribution Typ reserviert Info</command>
<programlisting>
einen neuen Service eintragen
Distribution: Sichtbarkeit des Services
Typ: für spätere Verwendung reserviert
</programlisting>
<command>servlist [Maske [Typ]]</command>
<programlisting>
zur Zeit verbundene Services auflisten
Maske: nur zutreffende Services auflisten
Typ: nur Services von diesem Typ auflisten
</programlisting>
<command>squery Service Text</command>
<programlisting>
Nachricht an einen Service senden
Service: Name des Service
Text: zu sendender Text
</programlisting>
<command>squit Server Kommentar</command>
<programlisting>
Serververbindungen trennen
Server: Servername
Kommentar: Trennungsgrund
</programlisting>
<command>stats [Anfrage [Server]]</command>
<programlisting>
Serverstatistik abfragen
Anfrage: c/h/i/k/l/m/o/y/u (siehe RFC1459)
Server: zu befragender Server
</programlisting>
<command>summon User [Ziel [Channel]]</command>
<programlisting>
Nutzer, die auf dem IRC-Server arbeiten, darum bitten, auf den IRC-Server zu kommen
User: Benutzername
Ziel: Servername
Channel: Channelname
</programlisting>
<command>time [Ziel]</command>
<programlisting>
Ortszeit des Servers abfragen
Ziel: der zu fragende Server
</programlisting>
<command>topic [Channel] [Topic]</command>
<programlisting>
Channeltopic abfragen/setzen
Channel: Channelname
Topic: neues Topic (oder "-delete" zum Entfernen des Topics)
</programlisting>
<command>trace [Ziel]</command>
<programlisting>
Route zum angegebenen Server ermitteln
Ziel: Server
</programlisting>
<command>unban [Channel] nickname [nickname ...]</command>
<programlisting>
Bann aufheben
Channel: Channel, in dem der Bann aufzuheben ist
Nickname: User, fĂĽr den der Bann aufzuheben ist
</programlisting>
<command>userhost Nickname [Nickname ...]</command>
<programlisting>
liste von Nickname-Informationen ermitteln
Nickname: Nickname
</programlisting>
<command>users [Ziel]</command>
<programlisting>
auf dem Server eingeloggte User auflisten
Ziel: Server
</programlisting>
<command>version [Server | Nickname]</command>
<programlisting>
Versionsinformationen von Nickname oder Server ermitteln
Server: Servername
Nickname: Nickname
</programlisting>
<command>voice Nickname [Nickname]</command>
<programlisting>
Voice vergeben
</programlisting>
<command>wallops Text</command>
<programlisting>
Nachricht an alle User schicken, die den 'w'-Mode gesetzt haben
zu sendender Text
</programlisting>
<command>who [Maske ["o"]]</command>
<programlisting>
erweiterte Nicknameliste
Maske: nur Information ĂĽber betreffende Nicknames abfragen
o: nur Operatoren ausgeben, die dem Filter entsprechen
</programlisting>
<command>whois [Server] Nickname[,Nickname]</command>
<programlisting>
Information ĂĽber User abfragen
Server: Servername
Nickname: Nickname (oder eine Maske)
</programlisting>
<command>whowas Nickname [,Nickname [,Nickname ...]] [Anzahl [Ziel]]</command>
<programlisting>
Information ĂĽber die Vergangenheit eines Nicknames erfragen
Nickname: abzufragende Nicknames
Anzahl: maximale Anzahl an Antworten (negative Zahl für eine vollständige Liste)
Ziel: zu suchende Hostmaske
</programlisting>
-215
View File
@@ -1,215 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<row>
<entry><literal>return</literal></entry>
<entry>Zeile terminieren</entry>
</row>
<row>
<entry><literal>tab</literal></entry>
<entry>Wort vervollständigen</entry>
</row>
<row>
<entry><literal>tab_previous</literal></entry>
<entry>finde letzte Wortvervollständigung</entry>
</row>
<row>
<entry><literal>backspace</literal></entry>
<entry>vorheriges Zeichen löschen</entry>
</row>
<row>
<entry><literal>delete</literal></entry>
<entry>nächstes Zeichen löschen</entry>
</row>
<row>
<entry><literal>delete_end_line</literal></entry>
<entry>bis zum Zeilenende löschen</entry>
</row>
<row>
<entry><literal>delete_beginning_line</literal></entry>
<entry>bis zum Zeilenanfang löschen</entry>
</row>
<row>
<entry><literal>delete_line</literal></entry>
<entry>ganze Zeile löschen</entry>
</row>
<row>
<entry><literal>delete_previous_word</literal></entry>
<entry>vorheriges Wort löschen</entry>
</row>
<row>
<entry><literal>delete_next_word</literal></entry>
<entry>nächstes Wort löschen</entry>
</row>
<row>
<entry><literal>clipboard_paste</literal></entry>
<entry>einfĂĽgen</entry>
</row>
<row>
<entry><literal>transpose_chars</literal></entry>
<entry>Zeichen vertauschen</entry>
</row>
<row>
<entry><literal>home</literal></entry>
<entry>zum Zeilenanfang gehen</entry>
</row>
<row>
<entry><literal>end</literal></entry>
<entry>zum Zeilenende gehen</entry>
</row>
<row>
<entry><literal>left</literal></entry>
<entry>ein Zeichen nach links gehen</entry>
</row>
<row>
<entry><literal>previous_word</literal></entry>
<entry>ein Wort nach links gehen</entry>
</row>
<row>
<entry><literal>right</literal></entry>
<entry>ein Zeichen nach rechts gehen</entry>
</row>
<row>
<entry><literal>next_word</literal></entry>
<entry>ein Wort nach rechts gehen</entry>
</row>
<row>
<entry><literal>up</literal></entry>
<entry>vorherigen Befehl aus dem Verlauf abfragen</entry>
</row>
<row>
<entry><literal>up_global</literal></entry>
<entry>vorherigen Befehl aus dem globalen Verlauf abfragen</entry>
</row>
<row>
<entry><literal>down</literal></entry>
<entry>nächsten Befehl aus dem Verlauf abfragen</entry>
</row>
<row>
<entry><literal>down_global</literal></entry>
<entry>nächsten Befehl aus dem globalen Verlauf abfragen</entry>
</row>
<row>
<entry><literal>page_up</literal></entry>
<entry>eine Seite hochscrollen</entry>
</row>
<row>
<entry><literal>page_down</literal></entry>
<entry>eine Seite herunterscrollen</entry>
</row>
<row>
<entry><literal>scroll_up</literal></entry>
<entry>einige Zeilen hochscrollen</entry>
</row>
<row>
<entry><literal>scroll_down</literal></entry>
<entry>einige Zeilen herunterscrollen</entry>
</row>
<row>
<entry><literal>scroll_top</literal></entry>
<entry>nach ganz oben scrollen</entry>
</row>
<row>
<entry><literal>scroll_bottom</literal></entry>
<entry>nach ganz unten scrollen</entry>
</row>
<row>
<entry><literal>scroll_topic_left</literal></entry>
<entry>Topic nach links scrollen</entry>
</row>
<row>
<entry><literal>scroll_topic_right</literal></entry>
<entry>Topic nach rechts scrollen</entry>
</row>
<row>
<entry><literal>nick_beginning</literal></entry>
<entry>zum Anfang der Nicklist gehen</entry>
</row>
<row>
<entry><literal>nick_end</literal></entry>
<entry>zum Ende der Nicklist gehen</entry>
</row>
<row>
<entry><literal>nick_page_up</literal></entry>
<entry>Nickliste eine Seite hochscrollen</entry>
</row>
<row>
<entry><literal>nick_page_down</literal></entry>
<entry>Nickliste eine Seite herunterscrollen</entry>
</row>
<row>
<entry><literal>jump_smart</literal></entry>
<entry>zu nächstem aktiven Puffer springen</entry>
</row>
<row>
<entry><literal>jump_dcc</literal></entry>
<entry>zum DCC-Puffer springen</entry>
</row>
<row>
<entry><literal>jump_raw_data</literal></entry>
<entry>gehe zum IRC-Rohdaten-Puffer</entry>
</row>
<row>
<entry><literal>jump_last_buffer</literal></entry>
<entry>zum letzten Puffer springen</entry>
</row>
<row>
<entry><literal>jump_previous_buffer</literal></entry>
<entry>jump to previous buffer</entry>
</row>
<row>
<entry><literal>jump_server</literal></entry>
<entry>zum Serverpuffer springen</entry>
</row>
<row>
<entry><literal>jump_next_server</literal></entry>
<entry>zum nächsten Server springen</entry>
</row>
<row>
<entry><literal>switch_server</literal></entry>
<entry>wechsel den aktiven Server im Server-Puffer</entry>
</row>
<row>
<entry><literal>scroll_previous_highlight</literal></entry>
<entry>scrolle zur vorherigen hervorhebung im Puffer</entry>
</row>
<row>
<entry><literal>scroll_next_highlight</literal></entry>
<entry>scrolle zur nächsten Hervorhebung im Puffer</entry>
</row>
<row>
<entry><literal>scroll_unread</literal></entry>
<entry>scrolle zur ersten, ungelesenen Zeile im Puffer</entry>
</row>
<row>
<entry><literal>set_unread</literal></entry>
<entry>set unread marker on all buffers</entry>
</row>
<row>
<entry><literal>hotlist_clear</literal></entry>
<entry>Hotlist leeren</entry>
</row>
<row>
<entry><literal>infobar_clear</literal></entry>
<entry>Infobar leeren</entry>
</row>
<row>
<entry><literal>refresh</literal></entry>
<entry>Bild neu aufbauen</entry>
</row>
<row>
<entry><literal>grab_key</literal></entry>
<entry>Tastencode ermitteln und einfĂĽgen</entry>
</row>
<row>
<entry><literal>insert</literal></entry>
<entry>fĂĽge eine Zeichenkette in der Befehlszeile ein</entry>
</row>
<row>
<entry><literal>search_text</literal></entry>
<entry>suche Text im Pufferverlauf</entry>
</row>
File diff suppressed because it is too large Load Diff
-280
View File
@@ -1,280 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>alias [Aliasname [Befehl [Argumente]]]</command>
<programlisting>
einen Alias fĂĽr einen Befehl anlegen
Aliasname: Name des Alias
Befehl: Befehlsname (WeeChat- oder IRC-Befehl ohne führenden '/', mehrere Befehle können durch Semikola getrennt werden)
Argumente: Argumente fĂĽr den Befehl
</programlisting>
<command>wird durch alle Argumente ersetzt.</command>
<programlisting>Die Variablen $nick, $channel and $server werden durch den aktuellen Nick/Channel oder Server ersetzt.
</programlisting>
<command>buffer [Aktion [Argumente] | Nummer | [[Server] [Channel]]]</command>
<programlisting>
Puffer verwalten
action: action to do:
move: move buffer in the list (may be relative, for example -1)
close: close buffer (optional arg is part message, for a channel)
list: list open buffers (no parameter implies this list)
notify: set notify level for buffer (0=never, 1=highlight, 2=1+msg, 3=2+join/part)
(when executed on server buffer, this sets default notify level for whole server)
scroll: scroll in history (may be relative, and may end by a letter: s=sec, m=min, h=hour, d=day, M=month, y=year); if there is only letter, then scroll to beginning of this item
number: jump to buffer by number
server,
channel: jump to buffer by server and/or channel name
Examples:
move buffer: /buffer move 5
close buffer: /buffer close this is part msg
set notify: /buffer notify 2
scroll 1 day up: /buffer scroll 1d == /buffer scroll -1d == /buffer scroll -24h
scroll to beginning
of this day: /buffer scroll d
scroll 15 min down: /buffer scroll +15m
scroll 20 msgs up: /buffer scroll -20
jump to #weechat: /buffer #weechat
</programlisting>
<command>builtin Befehl</command>
<programlisting>
starte eingebauten WeeChat/IRC-Befehl (ohne Plugin-Handler oder Aliase)
Befehl: auszufĂĽhrender Befehl (falls nicht vorhanden wird automatisch ein '/' vorangestellt)
</programlisting>
<command>clear [-all | number [number ...]]</command>
<programlisting>
Fenster leeren
-all: lösche alle Puffer
Nummer: lösche den Puffer mit der angegebenen Nummer
</programlisting>
<command>connect [-all [-nojoin] | servername [servername ...] [-nojoin] | hostname [-port port] [-ipv6] [-ssl]]</command>
<programlisting>
mit Server verbinden
-all: connect to all servers
servername: internal server name to connect
-nojoin: do not join any channel (even if autojoin is enabled on server)
hostname: hostname to connect, creating temporary server
port: port for server (integer, default is 6667)
ipv6: use IPv6 protocol
ssl: use SSL protocol
</programlisting>
<command>disconnect [-all | Servername [Servername ...]]</command>
<programlisting>
Serververbindung(en) trennen
-all: Trenne von allen Servern
servername: Servername, von dem getrennt werden soll
</programlisting>
<command>dcc Aktion [Nickname [Datei]]</command>
<programlisting>
DCC (Filetransfer oder Chat) starten oder Chat beenden
Aktion: 'send' (Datei) oder 'chat' oder 'close' (Chat)
Nickname: Empfänger der Datei bzw. Chatpartner
Datei: zu versendende (lokal vorliegende) Datei
</programlisting>
<command>debug dump | buffer | windows</command>
<programlisting>
Debugging-Nachricht ausgeben
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
</programlisting>
<command>help [Befehl]</command>
<programlisting>
Hilfe zu Befehlen abfragen
Befehl: Name eines WeeChat- oder IRC-Befehls
</programlisting>
<command>history [clear | Anzahl]</command>
<programlisting>
zeigt Befehlsverlauf des Puffers
clear: Löscht Verlauf
Anzahl: zeigt die gewünschte Anzahl an Verlaufseinträgen
</programlisting>
<command>ignore [Maske [[Typ | Befehl] [Channel [Server]]]]</command>
<programlisting>
IRC-Nachrichten und/oder Hosts ignorieren
Nummer: Nummer des zu entfernenden Eintrags (siehe Liste)
Maske: Nickname oder Hostmaske, die ignoriert werden soll
Typ: Typ der Nachrichten, die ignoriert werden sollen (action, ctcp, dcc, pv)
Befehl: IRC-Befehl
Channel: Channel, in dem ignoriert werden soll
Server: Server, auf dem ignoriert werden soll
Bei jedem Argument steht '*' fĂĽr 'alle'.
Ohne Argumente listet /ignore alle definierten /ignore-Regeln auf.
</programlisting>
<command>key [Taste [Funktion/Befehl]] [unbind Taste] [functions] [call Funktion ["Argumente"]] [reset -yes] </command>
<programlisting>
belegen/freigeben von Tasten
Taste: diese Taste anzeigen oder mit einer internen Funktion oder einem Befehl, beginnend mit "/", belegen
unbind: Tastenbelegung aufheben
functions: interne Funktionen fĂĽr Tastenbelegungen auflisten
call: rufe eine Funktion ĂĽber ihren Namen auf (mit optionalen Argumenten)
reset: Standardbelegung wiederherstellen und entferne ALLE eigenen Belegungen (Vorsicht!)
</programlisting>
<command>plugin [list [Name]] | [listfull [Name]] | [load Dateiname] | [autoload] | [reload [Name]] | [unload [Name]]</command>
<programlisting>
auflisten/laden/entladen von Plugins
list: geladene Plugins auflisten
listfull: geladene Plugins mit Details fĂĽr jedes Plugin auflisten
load: lade ein Plugin
autoload: lade automatisch alle Plugins im System- oder Benutzerverzeichnis
reload: lade ein Plugin erneut (wenn kein Name vorgegeben ist, werden alle Plugins entladen und autolade die Plugins)
unload: entlade eines oder alle Plugins
Ohne Argument, listet /plugin alle geladenen Plugins auf.
</programlisting>
<command>reconnect [-all [-nojoin] | servername [servername ...] [-nojoin]]</command>
<programlisting>
mit einem Server oder mehreren Servern neu verbinden
-all: reconnect to all servers
servername: server name to reconnect
-nojoin: do not join any channel (even if autojoin is enabled on server)
</programlisting>
<command>save [Datei]</command>
<programlisting>
Konfiguration abspeichern
Datei: Name der zu speichernden Konfigurationsdatei
</programlisting>
<command>server [list [servername]] | [listfull [servername]] | [add servername hostname [-port port] [-temp] [-auto | -noauto] [-ipv6] [-ssl] [-pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname realname] [-command command] [-autojoin channel[,channel]] ] | [copy servername newservername] | [rename servername newservername] | [keep servername] | [del servername]</command>
<programlisting>
Auflisten, HinzufĂĽgen oder Entfernen von Servern
list: list servers (no parameter implies this list)
listfull: list servers with detailed info for each server
add: create a new server
servername: server name, for internal and display use
hostname: name or IP address of server
port: port for server (integer, default is 6667)
temp: create temporary server (not saved in config file)
auto: automatically connect to server when WeeChat starts
noauto: do not connect to server when WeeChat starts (default)
ipv6: use IPv6 protocol
ssl: use SSL protocol
password: password for server
nick1: first nick for server
nick2: alternate nick for server
nick3: second alternate nick for server
username: user name
realname: real name of user
copy: duplicate a server
rename: rename a server
keep: keep server in config file (for temporary servers only)
del: delete a server
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending)
</programlisting>
<command>set [Option [ = Wert]]</command>
<programlisting>
Konfigurationsparameter setzen
Option: Name einer Option (wenn der Name vorhanden ist, aber kein Wert, dann wird eine Hilfe zur Option ausgegeben
Wert: Wert der Option
Option kann Servername.server_xxx lauten, wobei "Servername" der interne Servername ist und "xxx" eine Option fĂĽr diesen Server.
</programlisting>
<command>setp [Option [ = Wert]]</command>
<programlisting>
Konfigurationsparameter fĂĽr Plugin setzen
Option: Name einer Plugin-Option
Wert: Wert fĂĽr Option
Option wird wie folgt formatiert: Plugin.Option, z.B. perl.myscript.item1
</programlisting>
<command>unalias Aliasname</command>
<programlisting>
einen Alias entfernen
Aliasname: Name des zu löschenden Aliases
</programlisting>
<command>unignore [Nummer | [Maske [[Typ | Befehl] [Channel [Server]]]]</command>
<programlisting>
/ignore-Regel entfernen
Nummer: Nummer des zu entfernenden Eintrags (siehe Liste)
Maske: Nickname oder Hostmaske, die ignoriert werden soll
Typ: Typ der Nachrichten, die ignoriert werden sollen (action, ctcp, dcc, pv)
Befehl: IRC-Befehl
Channel: Channel, in dem ignoriert werden soll
Server: Server, auf dem ignoriert werden soll
Bei jedem Argument steht '*' fĂĽr 'alle'.
Ohne Argumente listet /unignore alle definierten /ignore-Regeln auf.
</programlisting>
<command>upgrade [path_to_binary]</command>
<programlisting>
aktualisiert WeeChat ohne die Verbindung zum Server zu trennen
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
</programlisting>
<command>uptime [-o]</command>
<programlisting>
zeigt die Uptime von Weechat an
-o: sendet die Weechat-Uptime als IRC-Nachricht in den aktuellen Channel
</programlisting>
<command>window [list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all]]</command>
<programlisting>
Fenster verwalten
list: listet die geöffneten Fenster (Default, kann auch weggelassen werden)
-1: springt zum vorherigen Fenster
+1: springt zum nächsten Fenster
b#: springt zum nächsten Fenster, dass Puffer Nummer # anzeigt
up: wechselt zum Fenster ĂĽber dem aktuellen
down: wechselt zum Fenster unter dem aktuellen
left: wechselt zum linken Fenster
right: wechselt zum rechten Fenster
splith: teilt das aktuelle Fenster horizontal
splitv: teilt das aktuelle Fenster vertikal
resize: verändert die Größe des aktuellen Fensters, die neue Größe ist &lt;pct&gt; Prozent des Elternfensters groß
merge: vereinigt Fenster miteinander (all = alle Fenster vereinigen)
Bei splith und splitv gibt pct die neue Größe des Fensters im verhältnis zur aktuellen Größe an. Zum Beispiel würde 25 bedeuten, dass das neue Fenster nur noch ein Viertel der Größe des alten Fensters hätte.
</programlisting>
-109
View File
@@ -1,109 +0,0 @@
WeeChat Schnellstarter (deutsche Version)
======================
1. Weechat starten
Entsprechend dem gewählten User-Interface müssen Du starten:
- weechat-curses fĂĽr das Curses GUI
- weechat-gtk fĂĽr das Gtk GUI (in Entwicklung)
- weechat-qt fĂĽr das Qt GUI (in Planung)
- weechat-wxwidgets fĂĽr das WxWidgets GUI (in Planung)
2. Online-Hilfe / Optionen
WeeChat hat eine eingebaute Hilfe fĂĽr all Kommandos, tippe einfach /help
Um Hilfe zu einem Kommando zu bekommen, tippe /help Kommando
Um Optionen zu verändern, benutzt du /set Option = Wert
Du brauchst /set Option nur mit den Anfangsbuchstaben eingeben
(<tab> zeigt alle Optionen mit den gleichen Buchstaben) oder mit dem vollen
Namen ohne einen Wert, um eine ausfĂĽhrliche Hilfe zu bekommen.
Wichtig: die Einstellungen werden gespeichert, wenn WeeChat beendet wird
(oder mit dem Befehl /save). Verändere die Einstellungen nicht, wenn WeeChat
läuft, weil WeeChat diese Datei zu jeder Zeit überschreiben kann und
Änderungen verloren sind. Um irgendeine Einstellung zu verändern, verwendest du
das /set Kommando, WeeChat wird die neuen Einstellungen umgehend ĂĽbernehmen.
3. Einen Server-Eintrag anlegen
Zum Beispiel fĂĽr irc.quakenet.org, Port 6667:
/server quakenet irc.quakenet.org 6667
(/help Server fĂĽr volle Hilfe zu diesem Kommando)
4. Eigene Server-Optionen setzen
Nickname:
/set quakenet.server_nick1 = "mynick"
/set quakenet.server_nick2 = "mynick2"
/set quakenet.server_nick3 = "mynick3"
Username/Klarname:
/set quakenet.server_username = "My username"
/set quakenet.server_realname = "My real name"
Automatische Server-Verbindung:
/set quakenet.server_autoconnect = on
Automatisches Betreten eines Channels:
/set quakenet.server_autojoin = "#chan1,#chan2"
Andere Optionen:
Du kannst die Server-Optionen und ihre Werte mit /set quakenet sehen
Um eine Option zu setzen, tippe /set quakenet.option = Wert
5. Verbinden zu einem Server und automatisch einen Channel betreten
/connect quakenet
6. Channels betreten/verlassen
Einen Channel betreten:
/join #channel
Einen Channel verlassen:
/part [Nachricht]
Einen Channel verlassen und den Buffer schliessen:
/close [Nachricht]
(/close ist ein Alias fĂĽr /buffer close)
7. Buffer/Fenster Management
Du kannst die einzelnen Buffer mit /buffer und Fenster mit /window
verwalten.
Um zum Beispiel das Fenster in ein kleineres (1/3 breit) und ein
grosses (2/3 breit) zu teilen, nutzt du das folgende Kommando:
/window splitv 33
8. Tastenkombinationen
Entsprechend deiner Tastatur und/oder deinen WĂĽnschen, kannst du jede Taste
mit "/key" neu zuordnen.
Eine nĂĽtzliche Taste ist meta-k (alt-k), sie zeigt die Tastaturcodes an.
Um zum Beispiel meta-y (alt-y) dem Kommando "/buffer close" zuzuordnen:
/key (tippe meta-k) (tippe meta-y) /buffer close
Und du bekommst damit die Kommandozeile:
/key meta-y /buffer close
9. Plugins/Skripte
In einigen Distributionen, wie zum Beispiel Debian, sind Plugins in separaten
Paketen verfĂĽgbar (wie weechat-plugins). Plugins werden automatisch geladen,
wenn welche gefunden wurden.
Viele Plugins/Skripte fĂĽr WeeChat sind zu finden auf:
http://weechat.flashtux.org/plugins.php
Bitte lies fĂĽr das Laden/Entladen von Plugins oder Skripten die Dokumentation.
10. Mehr Dokumentation
Jetzt kannst du WeeChat starten und die FAQ/Dokumentation lesen, falls du weitere
Fragen hast:
http://weechat.flashtux.org/faq.php
http://weechat.flashtux.org/doc.php
Viel Spass mit WeeChat!
--
(c) 2006-05-31, written by FlashCode <flashcode@flashtux.org>
This document is part of WeeChat and is distributed under GPL licence.
+599
View File
@@ -0,0 +1,599 @@
#
# Copyright (c) 2008-2009 by FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Documentation generator for WeeChat: build XML include files with commands,
# options, infos and completions for WeeChat core and plugins.
#
# Instructions to build config files yourself in WeeChat directories (replace
# all paths with your path to WeeChat):
# 1. run WeeChat and load this script, with following command:
# /perl load ~/src/weechat/doc/docgen.pl
# 2. change path to build in your doc/ directory:
# /set plugins.var.perl.docgen.path "~/src/weechat/doc"
# 3. run docgen command:
# /docgen
# XML files should be in ~/src/weechat/doc/xx/autogen/ (where xx is language)
#
# Script written on 2008-08-22 by FlashCode <flashcode@flashtux.org>
#
use strict;
use POSIX; # needed for setlocale()
use Locale::gettext;
use File::Basename;
my $version = "0.1";
# -------------------------------[ config ]------------------------------------
# default path where doc XML files will be written (should be doc/ in sources
# package tree)
# path must have subdirectories with languages and autogen directory:
# path
# |-- en
# | |-- autogen
# |-- fr
# | |-- autogen
# ...
my $default_path = "~/src/weechat/doc";
# list of locales for which we want to build XML doc files to include
my @locale_list = qw(en_US fr_FR);
# all commands/options/.. of following plugins will produce a file
# non-listed plugins will be ignored
# value: "c" = plugin may have many commands
# "o" = write config options for plugin
# if plugin is listed without "c", that means plugin has only one command
# /name (where "name" # is name of plugin)
# Note: we consider core is a plugin called "weechat"
my %plugin_list = ("weechat" => "co", "alias" => "",
"aspell" => "o", "charset" => "co",
"demo" => "co", "fifo" => "co",
"irc" => "co", "logger" => "co",
"relay" => "co", "perl" => "",
"python" => "", "ruby" => "",
"lua" => "", "tcl" => "",
"xfer" => "co");
# options to ignore
my @ignore_options = ("aspell\\.dict\\..*",
"charset\\.decode\\..*",
"charset\\.encode\\..*",
"irc\\.server\\..*",
"jabber\\.server\\..*",
"logger\\.level\\..*",
"logger\\.mask\\..*",
"weechat\\.proxy\\..*",
"weechat\\.bar\\..*",
"weechat\\.debug\\..*",
"weechat\\.notify\\..*");
# infos to ignore
my @ignore_infos_plugins = ();
# infolists to ignore
my @ignore_infolists_plugins = ();
# completions to ignore
my @ignore_completions_plugins = ();
my @ignore_completions_items = ("jabber.*",
"weeget.*");
# -------------------------------[ init ]--------------------------------------
weechat::register("docgen", "FlashCode <flashcode\@flashtux.org>", $version,
"GPL", "Doc generator for WeeChat 0.3.x", "", "");
weechat::hook_command("docgen", "Doc generator", "", "", "", "docgen", "");
weechat::config_set_plugin("path", $default_path)
if (weechat::config_get_plugin("path") eq "");
# -----------------------------------------------------------------------------
# get list of commands in a hash with 3 indexes: plugin, command, xxx
sub get_commands
{
my %commands;
my $infolist = weechat::infolist_get("hook", "", "command");
while (weechat::infolist_next($infolist))
{
my $command = weechat::infolist_string($infolist, "command");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
if (exists($plugin_list{$plugin}))
{
if (($command eq $plugin) || ($plugin_list{$plugin} =~ /c/))
{
$commands{$plugin}{$command}{"description"} = weechat::infolist_string($infolist, "description");
$commands{$plugin}{$command}{"args"} = weechat::infolist_string($infolist, "args");
$commands{$plugin}{$command}{"args_description"} = weechat::infolist_string($infolist, "args_description");
$commands{$plugin}{$command}{"completion"} = weechat::infolist_string($infolist, "completion");
}
}
}
weechat::infolist_free($infolist);
return %commands;
}
# get list of config options in a hash with 4 indexes: config, section, option, xxx
sub get_options
{
my %options;
my $infolist = weechat::infolist_get("option", "", "");
while (weechat::infolist_next($infolist))
{
my $full_name = weechat::infolist_string($infolist, "full_name");
# check if option is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_options)
{
$ignore = 1 if ($full_name =~ /${mask}/);
}
if ($ignore ne 1)
{
my $config = weechat::infolist_string($infolist, "config_name");
my $section = weechat::infolist_string($infolist, "section_name");
my $option = weechat::infolist_string($infolist, "option_name");
if (defined $plugin_list{$config} && ($plugin_list{$config} =~ /o/))
{
$options{$config}{$section}{$option}{"type"} = weechat::infolist_string($infolist, "type");
$options{$config}{$section}{$option}{"string_values"} = weechat::infolist_string($infolist, "string_values");
$options{$config}{$section}{$option}{"default_value"} = weechat::infolist_string($infolist, "default_value");
$options{$config}{$section}{$option}{"min"} = weechat::infolist_integer($infolist, "min");
$options{$config}{$section}{$option}{"max"} = weechat::infolist_integer($infolist, "max");
$options{$config}{$section}{$option}{"description"} = weechat::infolist_string($infolist, "description");
}
}
}
weechat::infolist_free($infolist);
return %options;
}
# get list of infos hooked by plugins in a hash with 3 indexes: plugin, name, xxx
sub get_infos
{
my %infos;
# get infos hooked
my $infolist = weechat::infolist_get("hook", "", "info");
while (weechat::infolist_next($infolist))
{
my $info_name = weechat::infolist_string($infolist, "info_name");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if infolist is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_infos_plugins)
{
$ignore = 1 if ($plugin =~ /${mask}/);
}
if ($ignore ne 1)
{
$infos{$plugin}{$info_name}{"description"} = weechat::infolist_string($infolist, "description");
}
}
weechat::infolist_free($infolist);
return %infos;
}
# get list of infolists hooked by plugins in a hash with 3 indexes: plugin, name, xxx
sub get_infolists
{
my %infolists;
# get infolists hooked
my $infolist = weechat::infolist_get("hook", "", "infolist");
while (weechat::infolist_next($infolist))
{
my $infolist_name = weechat::infolist_string($infolist, "infolist_name");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if infolist is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_infolists_plugins)
{
$ignore = 1 if ($plugin =~ /${mask}/);
}
if ($ignore ne 1)
{
$infolists{$plugin}{$infolist_name}{"description"} = weechat::infolist_string($infolist, "description");
}
}
weechat::infolist_free($infolist);
return %infolists;
}
# get list of completions hooked by plugins in a hash with 3 indexes: plugin, item, xxx
sub get_completions
{
my %completions;
# get completions hooked
my $infolist = weechat::infolist_get("hook", "", "completion");
while (weechat::infolist_next($infolist))
{
my $completion_item = weechat::infolist_string($infolist, "completion_item");
my $plugin = weechat::infolist_string($infolist, "plugin_name");
$plugin = "weechat" if ($plugin eq "");
# check if completion item is ignored or not
my $ignore = 0;
foreach my $mask (@ignore_completions_plugins)
{
$ignore = 1 if ($plugin =~ /${mask}/);
}
foreach my $mask (@ignore_completions_items)
{
$ignore = 1 if ($completion_item =~ /${mask}/);
}
if ($ignore ne 1)
{
$completions{$plugin}{$completion_item}{"description"} = weechat::infolist_string($infolist, "description");
}
}
weechat::infolist_free($infolist);
return %completions;
}
sub escape_string
{
my $str = $_[0];
$str =~ s/"/\\"/g;
return $str;
}
sub escape_table
{
my $str = $_[0];
$str =~ s/\|/\\|/g;
return $str;
}
# build XML doc files (command /docgen)
sub docgen
{
my %plugin_commands = get_commands();
my %plugin_options = get_options();
my %plugin_infos = get_infos();
my %plugin_infolists = get_infolists();
my %plugin_completions = get_completions();
# get path and replace ~ by home if needed
my $path = weechat::config_get_plugin("path");
$path =~ s/^~\//$ENV{"HOME"}\//;
my $old_locale = setlocale(LC_MESSAGES);
# write to doc files, by locale
my $num_files = 0;
my $num_files_updated = 0;
my $filename = "";
foreach my $locale (@locale_list)
{
my $num_files_commands = 0;
my $num_files_commands_updated = 0;
my $num_files_options = 0;
my $num_files_options_updated = 0;
my $num_files_infos = 0;
my $num_files_infos_updated = 0;
my $num_files_infolists = 0;
my $num_files_infolists_updated = 0;
my $num_files_completions = 0;
my $num_files_completions_updated = 0;
setlocale(LC_MESSAGES, $locale.".UTF-8");
my $d = Locale::gettext->domain_raw("weechat");
$d->codeset("UTF-8");
$d->dir(weechat::info_get("weechat_localedir", ""));
my $dir = $path."/".substr($locale, 0, 2)."/autogen/";
if (-d $dir)
{
# write commands
foreach my $plugin (keys %plugin_commands)
{
$filename = $dir."user/".$plugin."_commands.txt";
if (open(FILE, ">".$filename.".tmp"))
{
foreach my $command (sort keys %{$plugin_commands{$plugin}})
{
my $args = $plugin_commands{$plugin}{$command}{"args"};
$args = $d->get($args) if ($args ne "");
my $description = $plugin_commands{$plugin}{$command}{"description"};
$description = $d->get($description) if ($description ne "");
my $args_description = $plugin_commands{$plugin}{$command}{"args_description"};
$args_description = $d->get($args_description) if ($args_description ne "");
print FILE "&bull; *`/".$command."`*";
print FILE " `".$args."`" if ($args ne "");
print FILE "::\n\n";
print FILE "........................................\n";
print FILE " ".$description."\n" if ($description ne "");
if ($args_description ne "")
{
print FILE "\n";
my @lines = split(/\n/, $args_description);
foreach my $line (@lines)
{
print FILE " ".$line."\n";
}
}
print FILE "........................................\n\n";
}
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_commands_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_commands++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
}
# write config options
foreach my $config (keys %plugin_options)
{
$filename = $dir."user/".$config."_options.txt";
if (open(FILE, ">".$filename.".tmp"))
{
foreach my $section (sort keys %{$plugin_options{$config}})
{
foreach my $option (sort keys %{$plugin_options{$config}{$section}})
{
my $type = $plugin_options{$config}{$section}{$option}{"type"};
my $string_values = $plugin_options{$config}{$section}{$option}{"string_values"};
my $default_value = $plugin_options{$config}{$section}{$option}{"default_value"};
my $min = $plugin_options{$config}{$section}{$option}{"min"};
my $max = $plugin_options{$config}{$section}{$option}{"max"};
my $description = $plugin_options{$config}{$section}{$option}{"description"};
$description = $d->get($description) if ($description ne "");
my $type_nls = $type;
$type_nls = $d->get($type_nls) if ($type_nls ne "");
my $values = "";
if ($type eq "boolean")
{
$values = "on, off";
}
if ($type eq "integer")
{
if ($string_values ne "")
{
$string_values =~ s/\|/, /g;
$values = $string_values;
}
else
{
$values = $min." .. ".$max;
}
}
if ($type eq "string")
{
$values = $d->get("any string") if ($max <= 0);
$values = $d->get("any char") if ($max == 1);
$values = $d->get("any string")." (".$d->get("max chars").": ".$max.")" if ($max > 1);
$default_value = "\"".escape_string($default_value)."\"";
}
if ($type eq "color")
{
$values = $d->get("a color name");
}
print FILE "* *".$config.".".$section.".".$option."*\n";
print FILE "** ".$d->get("description").": ".$description."\n";
print FILE "** ".$d->get("type").": ".$type_nls."\n";
print FILE "** ".$d->get("values").": ".$values." "
."(".$d->get("default value").": ".$default_value.")\n\n";
}
}
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_options_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_options++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
}
# write infos hooked
$filename = $dir."plugin_api/infos.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
foreach my $plugin (sort keys %plugin_infos)
{
foreach my $info (sort keys %{$plugin_infos{$plugin}})
{
my $description = $plugin_infos{$plugin}{$info}{"description"};
$description = $d->get($description) if ($description ne "");
print FILE "| ".escape_table($plugin)." | ".escape_table($info)
." | ".escape_table($description)."\n\n";
}
}
print FILE "|========================================\n";
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_infos_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_infos++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
# write infolists hooked
$filename = $dir."plugin_api/infolists.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
foreach my $plugin (sort keys %plugin_infolists)
{
foreach my $infolist (sort keys %{$plugin_infolists{$plugin}})
{
my $description = $plugin_infolists{$plugin}{$infolist}{"description"};
$description = $d->get($description) if ($description ne "");
print FILE "| ".escape_table($plugin)." | ".escape_table($infolist)
." | ".escape_table($description)."\n\n";
}
}
print FILE "|========================================\n";
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_infolists_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_infolists++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
# write completions hooked
$filename = $dir."plugin_api/completions.txt";
if (open(FILE, ">".$filename.".tmp"))
{
print FILE "[width=\"65%\",cols=\"^1,^2,8\",options=\"header\"]\n";
print FILE "|========================================\n";
print FILE "| ".$d->get("Plugin")." | ".$d->get("Name")." | ".$d->get("Description")."\n";
foreach my $plugin (sort keys %plugin_completions)
{
foreach my $completion_item (sort keys %{$plugin_completions{$plugin}})
{
my $description = $plugin_completions{$plugin}{$completion_item}{"description"};
$description = $d->get($description) if ($description ne "");
print FILE "| ".escape_table($plugin)." | ".escape_table($completion_item)
." | ".escape_table($description)."\n\n";
}
}
print FILE "|========================================\n";
#weechat::print("", "docgen: file ok: '$filename'");
my $rc = system("diff ".$filename." ".$filename.".tmp >/dev/null 2>&1");
if ($rc != 0)
{
system("mv -f ".$filename.".tmp ".$filename);
$num_files_updated++;
$num_files_completions_updated++;
}
else
{
system("rm ".$filename.".tmp");
}
$num_files++;
$num_files_completions++;
close(FILE);
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: unable to write file '$filename'");
}
}
else
{
weechat::print("", weechat::prefix("error")."docgen error: directory '$dir' does not exist");
}
my $total_files = $num_files_commands + $num_files_options
+ $num_files_infos + $num_files_infolists + $num_files_completions;
my $total_files_updated = $num_files_commands_updated
+ $num_files_options_updated + $num_files_infos_updated
+ $num_files_infolists_updated + $num_files_completions_updated;
weechat::print("", "docgen: ".$locale.": ".$total_files." files ("
.$num_files_commands." cmd, "
.$num_files_options." opt, "
.$num_files_infos." infos, "
.$num_files_infolists." infolists, "
.$num_files_completions." complt) -- "
.$total_files_updated." updated ("
.$num_files_commands_updated." cmd, "
.$num_files_options_updated." opt, "
.$num_files_infos_updated." infos, "
.$num_files_infolists_updated." infolists, "
.$num_files_completions_updated." complt)");
}
weechat::print("", "docgen: total: ".$num_files." files (".$num_files_updated." updated)");
setlocale(LC_MESSAGES, $old_locale);
return weechat::WEECHAT_RC_OK;
}
+83
View File
@@ -0,0 +1,83 @@
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# user's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
COMMENT "Building weechat_user.en.html"
)
ADD_CUSTOM_TARGET(doc-user-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.en.html DESTINATION share/doc/${PROJECT_NAME})
# plugin API reference
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_plugin_api.en.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/plugin_api/*.txt
COMMENT "Building weechat_plugin_api.en.html"
)
ADD_CUSTOM_TARGET(doc-plugin-api-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_plugin_api.en.html DESTINATION share/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.en.txt
COMMENT "Building weechat_scripting.en.html"
)
ADD_CUSTOM_TARGET(doc-scripting-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.en.html DESTINATION share/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.en.txt
COMMENT "Building weechat_faq.en.html"
)
ADD_CUSTOM_TARGET(doc-faq-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.en.html DESTINATION share/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.en.txt
COMMENT "Building weechat_quickstart.en.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.en.html DESTINATION share/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a toc -a date=`date "+%F"` -a revision="${VERSION}" -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.en.txt
COMMENT "Building weechat_tester.en.html"
)
ADD_CUSTOM_TARGET(doc-tester-en ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.en.html DESTINATION share/doc/${PROJECT_NAME})
+37 -46
View File
@@ -1,4 +1,4 @@
# Copyright (c) 2003-2007 FlashCode <flashcode@flashtux.org>
# Copyright (c) 2003-2009 FlashCode <flashcode@flashtux.org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,65 +14,56 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
LANGCODE = en
BOOK = weechat.$(LANGCODE)
BOOK_INCLUDE = weechat_commands.xml irc_commands.xml key_functions.xml config.xml
QUICKSTART = weechat_quickstart.$(LANGCODE).txt
EXTRA_DIST = $(BOOK).xml $(BOOK_INCLUDE) $(QUICKSTART)
if DBLATEX_FOUND
PDF = pdf-stamp
endif
docdir = $(datadir)/doc/$(PACKAGE)
all-local: html-stamp $(PDF)
EXTRA_DIST = CMakeLists.txt \
weechat_user.en.txt \
weechat_plugin_api.en.txt \
weechat_scripting.en.txt \
weechat_faq.en.txt \
weechat_quickstart.en.txt \
weechat_tester.en.txt \
$(wildcard autogen/user/*.txt) \
$(wildcard autogen/plugin_api/*.txt)
# HTML output with chunks (many pages)
all-local: weechat_user.en.html \
weechat_plugin_api.en.html \
weechat_scripting.en.html \
weechat_faq.en.html \
weechat_quickstart.en.html \
weechat_tester.en.html
html: html-stamp
# user's guide
weechat_user.en.html: weechat_user.en.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_user.en.html weechat_user.en.txt
html-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html/
xsltproc -o html/ ../weechat-html.xsl $(BOOK).xml || true
cp ../weechat-doc.css html/
touch html-stamp
# plugin API reference
weechat_plugin_api.en.html: weechat_plugin_api.en.txt $(wildcard autogen/plugin_api/*.txt)
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_plugin_api.en.html weechat_plugin_api.en.txt
# HTML output, all in one page
# scripting guide
weechat_scripting.en.html: weechat_scripting.en.txt
$(ASCIIDOC) -a toc -a toclevels=3 -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_scripting.en.html weechat_scripting.en.txt
html1: html1-stamp
# FAQ
weechat_faq.en.html: weechat_faq.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_faq.en.html weechat_faq.en.txt
html1-stamp: $(BOOK).xml $(BOOK_INCLUDE) ../weechat-html-one.xsl ../weechat-doc.css
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
mkdir -p html1/
xsltproc -o html1/$(BOOK).html ../weechat-html-one.xsl $(BOOK).xml || true
cp ../weechat-doc.css html1/
touch html1-stamp
# quickstart
weechat_quickstart.en.html: weechat_quickstart.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_quickstart.en.html weechat_quickstart.en.txt
# PDF output
pdf: pdf-stamp
pdf-stamp: $(BOOK).xml $(BOOK_INCLUDE)
echo "<pubdate>`date '+%F %T'`</pubdate>" >date.xml
dblatex -c ../dblatex.conf $(BOOK).xml || true
touch pdf-stamp
# tester's guide
weechat_tester.en.html: weechat_tester.en.txt
$(ASCIIDOC) -a toc -a date=`date "+%F"` -a revision="$(VERSION)" -n -o weechat_tester.en.html weechat_tester.en.txt
# install docs
install-data-hook:
$(mkinstalldirs) $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) html/* $(DESTDIR)$(docdir)/html/$(LANGCODE)/
$(INSTALL_DATA) $(QUICKSTART) $(DESTDIR)$(docdir)/
if DBLATEX_FOUND
$(INSTALL_DATA) $(BOOK).pdf $(DESTDIR)$(docdir)/
endif
$(mkinstalldirs) $(DESTDIR)$(docdir)/
$(INSTALL_DATA) *.html $(DESTDIR)$(docdir)/
# clean
clean-local:
-rm -f $(BOOK).html $(BOOK).pdf $(BOOK).txt date.xml
-rm -rf html/ html1/
-rm -f html-stamp html1-stamp pdf-stamp
-rm -f *.html
+84
View File
@@ -0,0 +1,84 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Plugin | Name | Description
| alias | alias | list of alias
| aspell | aspell_langs | list of supported langs for aspell
| irc | irc_channel | current IRC channel
| irc | irc_channel_nicks_hosts | nicks and hostnames of current IRC channel
| irc | irc_channel_topic | topic of current IRC channel
| irc | irc_channels | IRC channels (on all servers)
| irc | irc_ignores_numbers | numbers for defined ignores
| irc | irc_msg_part | default part message for IRC channel
| irc | irc_privates | IRC privates (on all servers)
| irc | irc_server | current IRC server
| irc | irc_server_nick | nick on current IRC server
| irc | irc_server_nicks | nicks on all channels of current IRC server
| irc | irc_servers | IRC servers (internal names)
| irc | nick | nicks of current IRC channel
| lua | lua_script | list of scripts
| perl | perl_script | list of scripts
| python | python_script | list of scripts
| ruby | ruby_script | list of scripts
| tcl | tcl_script | list of scripts
| weechat | bars_names | names of bars
| weechat | bars_options | options for bars
| weechat | buffers_names | names of buffers
| weechat | buffers_numbers | numbers of buffers
| weechat | buffers_plugins_names | names of buffers (including plugins names)
| weechat | commands | commands (weechat and plugins)
| weechat | config_files | configuration files
| weechat | config_option_values | values for a configuration option
| weechat | config_options | configuration options
| weechat | filename | filename
| weechat | filters_names | names of filters
| weechat | infolists | names of infolists hooked
| weechat | infos | names of infos hooked
| weechat | keys_codes | key codes
| weechat | nicks | nicks in nicklist of current buffer
| weechat | plugins_commands | commands defined by plugins
| weechat | plugins_names | names of plugins
| weechat | proxies_names | names of proxies
| weechat | proxies_options | options for proxies
| weechat | weechat_commands | weechat commands
| xfer | nick | nicks of DCC chat
|========================================
+58
View File
@@ -0,0 +1,58 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Plugin | Name | Description
| alias | alias | list of alias
| irc | irc_channel | list of channels for an IRC server
| irc | irc_ignore | list of IRC ignores
| irc | irc_nick | list of nicks for an IRC channel
| irc | irc_server | list of IRC servers
| logger | logger_buffer | list of logger buffers
| lua | lua_script | list of lua scripts
| perl | perl_script | list of perl scripts
| python | python_script | list of python scripts
| relay | relay | list of relay clients
| ruby | ruby_script | list of ruby scripts
| tcl | tcl_script | list of tcl scripts
| weechat | bar | list of bars
| weechat | bar_item | list of bar items
| weechat | bar_window | list of bar windows
| weechat | buffer | list of buffers
| weechat | buffer_lines | lines of a buffer
| weechat | filter | list of filters
| weechat | history | history of commands
| weechat | hook | list of hooks
| weechat | hotlist | list of buffers in hotlist
| weechat | key | list of key bindings
| weechat | nicklist | nicks in nicklist for a buffer
| weechat | option | list of options
| weechat | plugin | list of plugins
| weechat | window | list of windows
| xfer | xfer | list of xfer
|========================================
+36
View File
@@ -0,0 +1,36 @@
[width="65%",cols="^1,^2,8",options="header"]
|========================================
| Plugin | Name | Description
| fifo | fifo_filename | name of FIFO pipe
| irc | irc_buffer | get buffer pointer for an IRC server/channel
| irc | irc_is_channel | 1 if string is an IRC channel
| irc | irc_nick | get current nick on a server
| irc | irc_nick_from_host | get nick from IRC host
| weechat | charset_internal | WeeChat internal charset
| weechat | charset_terminal | terminal charset
| weechat | date | WeeChat compilation date
| weechat | dir_separator | directory separator
| weechat | filters_enabled | 1 if filters are enabled
| weechat | inactivity | keyboard inactivity (seconds)
| weechat | version | WeeChat version
| weechat | weechat_dir | WeeChat directory
| weechat | weechat_libdir | WeeChat "lib" directory
| weechat | weechat_localedir | WeeChat "locale" directory
| weechat | weechat_sharedir | WeeChat "share" directory
|========================================
+15
View File
@@ -0,0 +1,15 @@
&bull; *`/alias`* `[alias_name [command [arguments]]]`::
........................................
create an alias for a command
alias_name: name of alias
command: command name (many commands can be separated by semicolons)
arguments: arguments for command
Without argument, this command lists all defined alias.
Note: in command, special variables $1, $2,..,$9 are replaced by arguments given by user, and $* is replaced by all arguments.
Variables $nick, $channel and $server are replaced by current nick/channel/server.
........................................
+13
View File
@@ -0,0 +1,13 @@
&bull; *`/aspell`* `dictlist | enable lang | disable | addword [lang] word`::
........................................
aspell plugin configuration
dictlist: show installed dictionaries
enable: enable aspell on current buffer
disable: disable aspell on current buffer
addword: add a word in your personal aspell dictionary
Input line beginning with a '/' is not checked, except for some commands.
........................................
+30
View File
@@ -0,0 +1,30 @@
* *aspell.check.commands*
** description: comma separated list of commands for which spell checking is enabled (spell checking is disabled for all other commands)
** type: string
** values: any string (default value: "ame,amsg,away,command,cycle,kick,kickban,me,msg,notice,part,query,quit,topic")
* *aspell.check.default_dict*
** description: default dictionary (or comma separated list of dictionaries) to use when buffer has no dictionary defined (leave blank to disable aspell on buffers for which you didn't explicitly enabled it)
** type: string
** values: any string (default value: "")
* *aspell.check.during_search*
** description: check words during text search in buffer
** type: boolean
** values: on, off (default value: off)
* *aspell.check.real_time*
** description: real-time spell checking of words (slower, disabled by default: words are checked only if there's delimiter after)
** type: boolean
** values: on, off (default value: off)
* *aspell.check.word_min_length*
** description: minimum length for a word to be spell checked (use 0 to check all words)
** type: integer
** values: 0 .. 2147483647 (default value: 2)
* *aspell.look.color*
** description: color used for misspelled words
** type: color
** values: a color name (default value: lightred)
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/charset`* `[[decode | encode] charset] | [reset]`::
........................................
change charset for current buffer
decode: change decoding charset
encode: change encoding charset
charset: new charset for current buffer
reset: reset charsets for current buffer
........................................
+10
View File
@@ -0,0 +1,10 @@
* *charset.default.decode*
** description: global decoding charset
** type: string
** values: any string (default value: "iso-8859-1")
* *charset.default.encode*
** description: global encoding charset
** type: string
** values: any string (default value: "")
+42
View File
@@ -0,0 +1,42 @@
&bull; *`/demo_buffer`* `name`::
........................................
open a new buffer
........................................
&bull; *`/demo_buffer_set`* `property value`::
........................................
set a buffer property
........................................
&bull; *`/demo_info`* `[info [arguments]]`::
........................................
get and display an info
info: info to display
arguments: optional arguments for info
Without argument, this command displays list of available infos
........................................
&bull; *`/demo_infolist`* `[infolist [arguments]]`::
........................................
get and display an infolist
infolist: infolist to display
arguments: optional arguments for infolist
Without argument, this command displays list of available infolists
........................................
&bull; *`/demo_printf`* `[text]`::
........................................
print some messages on current ubffer
text: write this text
........................................
+588
View File
@@ -0,0 +1,588 @@
&bull; *`/admin`* `[target]`::
........................................
find information about the administrator of the server
target: server
........................................
&bull; *`/ame`* `message`::
........................................
send a CTCP action to all channels of all connected servers
message: message to send
........................................
&bull; *`/amsg`* `text`::
........................................
send message to all channels of all connected servers
text: text to send
........................................
&bull; *`/away`* `[-all] [message]`::
........................................
toggle away status
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
........................................
&bull; *`/ban`* `[channel] [nickname [nickname ...]]`::
........................................
ban nicks or hosts
channel: channel for ban
nickname: user or host to ban
........................................
&bull; *`/connect`* `[-all [-nojoin] | servername [servername ...] [-nojoin] | hostname [-port port] [-ipv6] [-ssl]]`::
........................................
connect to IRC server(s)
-all: connect to all servers
servername: internal server name to connect
-nojoin: do not join any channel (even if autojoin is enabled on server)
hostname: hostname to connect
port: port for server (integer, default is 6667)
ipv6: use IPv6 protocol
ssl: use SSL protocol
........................................
&bull; *`/ctcp`* `receiver type [arguments]`::
........................................
send a CTCP message (Client-To-Client Protocol)
receiver: nick or channel to send CTCP to
type: CTCP type (examples: "version", "ping", ..)
arguments: arguments for CTCP
........................................
&bull; *`/cycle`* `[channel[,channel]] [part_message]`::
........................................
leave and rejoin a channel
channel: channel name for cycle
part_message: part message (displayed to other users)
........................................
&bull; *`/dcc`* `action [nickname [file]]`::
........................................
start DCC (file or chat)
action: 'send' (file) or 'chat'
nickname: nickname to send file or chat
file: filename (on local host)
........................................
&bull; *`/dehalfop`* `[nickname [nickname]]`::
........................................
remove half channel operator status from nickname(s)
........................................
&bull; *`/deop`* `[nickname [nickname]]`::
........................................
remove channel operator status from nickname(s)
........................................
&bull; *`/devoice`* `[nickname [nickname]]`::
........................................
remove voice from nickname(s)
........................................
&bull; *`/die`*::
........................................
shutdown the server
........................................
&bull; *`/disconnect`* `[-all | servername [servername ...]]`::
........................................
disconnect from IRC server(s)
-all: disconnect from all servers
servername: server name to disconnect
........................................
&bull; *`/halfop`* `[nickname [nickname]]`::
........................................
give half channel operator status to nickname(s)
........................................
&bull; *`/ignore`* `[list] | [add [re:]nick/host [server [channel]]] | [del number|-all]`::
........................................
ignore nicks/hosts from servers or channels
list: list all ignores
add: add a ignore
del: del a ignore
number: number of ignore to delete (look at list to find it)
-all: delete all ignores
nick/host: nick or host to ignore: syntax is "re:regex" or "mask" (a mask is a string with some "*" to replace one or more chars)
server: internal server name where ignore is working
channel: channel name where ignore is working
Examples:
ignore nick "toto" everywhere:
/ignore add toto
ignore host "toto@domain.com" on freenode server:
/ignore add toto@domain.com freenode
ignore host "toto*@*.domain.com" on freenode/#weechat:
/ignore add toto*@*.domain.com freenode #weechat
........................................
&bull; *`/info`* `[target]`::
........................................
get information describing the server
target: server name
........................................
&bull; *`/invite`* `nickname channel`::
........................................
invite a nick on a channel
nickname: nick to invite
channel: channel to invite
........................................
&bull; *`/ison`* `nickname [nickname ...]`::
........................................
check if a nickname is currently on IRC
nickname: nickname
........................................
&bull; *`/join`* `[channel[,channel] [key[,key]]]`::
........................................
join a channel
channel: channel name to join
key: key to join the channel
........................................
&bull; *`/kick`* `[channel] nickname [comment]`::
........................................
forcibly remove a user from a channel
channel: channel where user is
nickname: nickname to kick
comment: comment for kick
........................................
&bull; *`/kickban`* `[channel] nickname [comment]`::
........................................
kicks and bans a nick from a channel
channel: channel where user is
nickname: nickname to kick and ban
comment: comment for kick
........................................
&bull; *`/kill`* `nickname comment`::
........................................
close client-server connection
nickname: nickname
comment: comment for kill
........................................
&bull; *`/links`* `[[server] server_mask]`::
........................................
list all servernames which are known by the server answering the query
server: this server should answer the query
server_mask: list of servers must match this mask
........................................
&bull; *`/list`* `[channel[,channel] [server]]`::
........................................
list channels and their topic
channel: channel to list (a regexp is allowed)
server: server name
........................................
&bull; *`/lusers`* `[mask [target]]`::
........................................
get statistics about the size of the IRC network
mask: servers matching the mask only
target: server for forwarding request
........................................
&bull; *`/me`* `message`::
........................................
send a CTCP action to the current channel
message: message to send
........................................
&bull; *`/mode`* `{ [channel] {[+|-]|o|p|s|i|t|n|b|v} [limit] [user] [ban mask] } | { nickname {[+|-]|i|w|s|o} }`::
........................................
change channel or user mode
channel modes:
channel: channel name to modify (default is current one)
o: give/take channel operator privileges
p: private channel flag
s: secret channel flag
i: invite-only channel flag
t: topic settable by channel operator only flag
n: no messages to channel from clients on the outside
m: moderated channel
l: set the user limit to channel
b: set a ban mask to keep users out
e: set exception mask
v: give/take the ability to speak on a moderated channel
k: set a channel key (password)
user modes:
nickname: nickname to modify
i: mark a user as invisible
s: mark a user for receive server notices
w: user receives wallops
o: operator flag
........................................
&bull; *`/motd`* `[target]`::
........................................
get the "Message Of The Day"
target: server name
........................................
&bull; *`/msg`* `[-server server] receiver[,receiver] text`::
........................................
send message to a nick or channel
server: send to this server (internal name)
receiver: nick or channel (may be mask, '*' = current channel)
text: text to send
........................................
&bull; *`/names`* `[channel[,channel]]`::
........................................
list nicknames on channels
channel: channel name
........................................
&bull; *`/nick`* `[-all] nickname`::
........................................
change current nickname
-all: set new nickname for all connected servers
nickname: new nickname
........................................
&bull; *`/notice`* `[-server server] nickname text`::
........................................
send notice message to user
server: send to this server (internal name)
nickname: user to send notice to
text: text to send
........................................
&bull; *`/op`* `nickname [nickname]`::
........................................
give channel operator status to nickname(s)
........................................
&bull; *`/oper`* `user password`::
........................................
get operator privileges
user/password: used to get privileges on current IRC server
........................................
&bull; *`/part`* `[channel[,channel]] [part_message]`::
........................................
leave a channel
channel: channel name to leave
part_message: part message (displayed to other users)
........................................
&bull; *`/ping`* `server1 [server2]`::
........................................
ping server
server1: server to ping
server2: forward ping to this server
........................................
&bull; *`/pong`* `daemon [daemon2]`::
........................................
answer to a ping message
daemon: daemon who has responded to Ping message
daemon2: forward message to this daemon
........................................
&bull; *`/query`* `[-server server] nickname [text]`::
........................................
send a private message to a nick
server: send to this server (internal name)
nickname: nickname for private conversation
text: text to send
........................................
&bull; *`/quote`* `[-server server] data`::
........................................
send raw data to server without parsing
server: send to this server (internal name)
data: raw data to send
........................................
&bull; *`/reconnect`* `[-all [-nojoin] | servername [servername ...] [-nojoin]]`::
........................................
reconnect to server(s)
-all: reconnect to all servers
servername: server name to reconnect
-nojoin: do not join any channel (even if autojoin is enabled on server)
........................................
&bull; *`/rehash`*::
........................................
tell the server to reload its config file
........................................
&bull; *`/restart`*::
........................................
tell the server to restart itself
........................................
&bull; *`/server`* `[list [servername]] | [listfull [servername]] | [add servername hostname[/port] [-auto | -noauto] [-ipv6] [-ssl]] | [copy servername newservername] | [rename servername newservername] | [keep servername] | [del servername] | [deloutq] | [jump] | [raw]`::
........................................
list, add or remove IRC servers
list: list servers (no parameter implies this list)
listfull: list servers with detailed info for each server
add: create a new server
servername: server name, for internal and display use
hostname: name or IP address of server, with optional port (default: 6667)
auto: automatically connect to server when WeeChat starts
noauto: do not connect to server when WeeChat starts (default)
ipv6: use IPv6 protocol
ssl: use SSL protocol
copy: duplicate a server
rename: rename a server
keep: keep server in config file (for temporary servers only)
del: delete a server
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending)
jump: jump to server buffer
raw: open buffer with raw IRC data
Examples:
/server listfull
/server add oftc irc.oftc.net/6697 -ssl
/server add oftc6 irc6.oftc.net/6697 -ipv6 -ssl
/server add freenode2 chat.eu.freenode.net/6667,chat.us.freenode.net/6667
/server copy oftc oftcbis
/server rename oftc newoftc
/server del freenode
/server deloutq
........................................
&bull; *`/service`* `nickname reserved distribution type reserved info`::
........................................
register a new service
distribution: visibility of service
type: reserved for future usage
........................................
&bull; *`/servlist`* `[mask [type]]`::
........................................
list services currently connected to the network
mask: list only services matching this mask
type: list only services of this type
........................................
&bull; *`/squery`* `service text`::
........................................
deliver a message to a service
service: name of service
text: text to send
........................................
&bull; *`/squit`* `server comment`::
........................................
disconnect server links
server: server name
comment: comment for quit
........................................
&bull; *`/stats`* `[query [server]]`::
........................................
query statistics about server
query: c/h/i/k/l/m/o/y/u (see RFC1459)
server: server name
........................................
&bull; *`/summon`* `user [target [channel]]`::
........................................
give users who are on a host running an IRC server a message asking them to please join IRC
user: username
target: server name
channel: channel name
........................................
&bull; *`/time`* `[target]`::
........................................
query local time from server
target: query time from specified server
........................................
&bull; *`/topic`* `[channel] [topic]`::
........................................
get/set channel topic
channel: channel name
topic: new topic for channel (if topic is "-delete" then topic is deleted)
........................................
&bull; *`/trace`* `[target]`::
........................................
find the route to specific server
target: server
........................................
&bull; *`/unban`* `[channel] nickname [nickname ...]`::
........................................
unban nicks or hosts
channel: channel for unban
nickname: user or host to unban
........................................
&bull; *`/userhost`* `nickname [nickname ...]`::
........................................
return a list of information about nicknames
nickname: nickname
........................................
&bull; *`/users`* `[target]`::
........................................
list of users logged into the server
target: server
........................................
&bull; *`/version`* `[server | nickname]`::
........................................
give the version info of nick or server (current or specified)
server: server name
nickname: nickname
........................................
&bull; *`/voice`* `[nickname [nickname]]`::
........................................
give voice to nickname(s)
........................................
&bull; *`/wallops`* `text`::
........................................
send a message to all currently connected users who have set the 'w' user mode for themselves
text to send
........................................
&bull; *`/who`* `[mask ["o"]]`::
........................................
generate a query which returns a list of information
mask: only information which match this mask
o: only operators are returned according to the mask supplied
........................................
&bull; *`/whois`* `[server] nickname[,nickname]`::
........................................
query information about user(s)
server: server name
nickname: nickname (may be a mask)
........................................
&bull; *`/whowas`* `nickname [,nickname [,nickname ...]] [count [target]]`::
........................................
ask for information about a nickname which no longer exists
nickname: nickname to search
count: number of replies to return (full search if negative number)
target: reply should match this mask
........................................
+265
View File
@@ -0,0 +1,265 @@
* *irc.color.input_nick*
** description: color for nick in input bar
** type: color
** values: a color name (default value: lightcyan)
* *irc.color.item_away*
** description: color for away item
** type: color
** values: a color name (default value: yellow)
* *irc.color.item_channel_modes*
** description: color for channel modes, near channel name
** type: color
** values: a color name (default value: default)
* *irc.color.message_join*
** description: color for text in join messages
** type: color
** values: a color name (default value: green)
* *irc.color.message_quit*
** description: color for text in part/quit messages
** type: color
** values: a color name (default value: red)
* *irc.color.notice*
** description: color for text "Notice" in notices
** type: color
** values: a color name (default value: green)
* *irc.look.color_nicks_in_server_messages*
** description: use nick color in messages from server
** type: boolean
** values: on, off (default value: on)
* *irc.look.display_away*
** description: display message when (un)marking as away
** type: integer
** values: off, local, channel (default value: local)
* *irc.look.display_channel_modes*
** description: display channel modes in "buffer_name" bar item
** type: boolean
** values: on, off (default value: on)
* *irc.look.display_nick_modes*
** description: display nick modes in "input_prompt" bar item
** type: boolean
** values: on, off (default value: on)
* *irc.look.display_old_topic*
** description: display old topic when channel topic is changed
** type: boolean
** values: on, off (default value: on)
* *irc.look.hide_nickserv_pwd*
** description: hide password displayed by nickserv
** type: boolean
** values: on, off (default value: on)
* *irc.look.highlight_tags*
** description: comma separated list of tags for messages that may produce highlight (usually any message from another user, not server messages,..)
** type: string
** values: any string (default value: "irc_privmsg,irc_notice")
* *irc.look.item_display_server*
** description: name of bar item where IRC server is displayed (for status bar)
** type: integer
** values: buffer_plugin, buffer_name (default value: buffer_plugin)
* *irc.look.nick_completion_smart*
** description: smart completion for nicks (completes first with last speakers)
** type: integer
** values: off, speakers, speakers_highlights (default value: speakers)
* *irc.look.nick_prefix*
** description: text to display before nick in chat window
** type: string
** values: any string (default value: "")
* *irc.look.nick_suffix*
** description: text to display after nick in chat window
** type: string
** values: any string (default value: "")
* *irc.look.notice_as_pv*
** description: display notices as private messages (if auto, use private buffer if found)
** type: integer
** values: auto, never, always (default value: auto)
* *irc.look.open_channel_near_server*
** description: open new channels near server
** type: boolean
** values: on, off (default value: off)
* *irc.look.open_pv_near_server*
** description: open new privates near server
** type: boolean
** values: on, off (default value: off)
* *irc.look.raw_messages*
** description: number of IRC raw messages to save in memory when raw data buffer is closed (messages will be displayed when opening raw data buffer)
** type: integer
** values: 0 .. 65535 (default value: 256)
* *irc.look.server_buffer*
** description: merge server buffers
** type: integer
** values: merge_with_core, merge_without_core, independent (default value: merge_with_core)
* *irc.look.show_away_once*
** description: show remote away message only once in private
** type: boolean
** values: on, off (default value: on)
* *irc.look.smart_filter*
** description: filter join/part/quit messages for a nick if not speaking for some minutes on channel (you must create a filter on tag "irc_smart_filter")
** type: boolean
** values: on, off (default value: off)
* *irc.look.smart_filter_delay*
** description: delay for filtering join/part/quit messages (in minutes)
** type: integer
** values: 1 .. 10080 (default value: 5)
* *irc.look.topic_strip_colors*
** description: strip colors in topic (used only when displaying buffer title)
** type: boolean
** values: on, off (default value: off)
* *irc.network.anti_flood*
** description: anti-flood: # seconds between two user messages (0 = no anti-flood)
** type: integer
** values: 0 .. 5 (default value: 2)
* *irc.network.away_check*
** description: interval between two checks for away (in minutes, 0 = never check)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
* *irc.network.away_check_max_nicks*
** description: do not check away nicks on channels with high number of nicks (0 = unlimited)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
* *irc.network.colors_receive*
** description: when off, colors codes are ignored in incoming messages
** type: boolean
** values: on, off (default value: on)
* *irc.network.colors_send*
** description: allow user to send colors with special codes (ctrl-c + a code and optional color: b=bold, cxx=color, cxx,yy=color+background, u=underline, r=reverse)
** type: boolean
** values: on, off (default value: on)
* *irc.network.default_msg_part*
** description: default part message (leaving channel) ("%v" will be replaced by WeeChat version in string)
** type: string
** values: any string (default value: "WeeChat %v")
* *irc.network.default_msg_quit*
** description: default quit message (disconnecting from server) ("%v" will be replaced by WeeChat version in string)
** type: string
** values: any string (default value: "WeeChat %v")
* *irc.network.lag_check*
** description: interval between two checks for lag (in seconds, 0 = never check)
** type: integer
** values: 0 .. 2147483647 (default value: 60)
* *irc.network.lag_disconnect*
** description: disconnect after important lag (in minutes, 0 = never disconnect)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
* *irc.network.lag_min_show*
** description: minimum lag to show (in seconds)
** type: integer
** values: 0 .. 2147483647 (default value: 1)
* *irc.network.send_unknown_commands*
** description: send unknown commands to server
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.addresses*
** description: list of hostname/port or IP/port for server (separated by comma)
** type: string
** values: any string (default value: "")
* *irc.server_default.autoconnect*
** description: automatically connect to server when WeeChat is starting
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.autojoin*
** description: comma separated list of channels to join when connected to server (example: "#chan1,#chan2,#chan3 key1,key2")
** type: string
** values: any string (default value: "")
* *irc.server_default.autoreconnect*
** description: automatically reconnect to server when disconnected
** type: boolean
** values: on, off (default value: on)
* *irc.server_default.autoreconnect_delay*
** description: delay (in seconds) before trying again to reconnect to server
** type: integer
** values: 0 .. 65535 (default value: 30)
* *irc.server_default.autorejoin*
** description: automatically rejoin channels when kicked
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.command*
** description: command(s) to run when connected to server (many commands should be separated by ";", use "\;" for a semicolon, special variables $nick, $channel and $server are replaced by their value)
** type: string
** values: any string (default value: "")
* *irc.server_default.command_delay*
** description: delay (in seconds) after command was executed (example: give some time for authentication)
** type: integer
** values: 0 .. 3600 (default value: 0)
* *irc.server_default.ipv6*
** description: use IPv6 protocol for server communication
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.local_hostname*
** description: custom local hostname/IP for server (optional, if empty local hostname is used)
** type: string
** values: any string (default value: "")
* *irc.server_default.nicks*
** description: nicknames to use on server (separated by comma)
** type: string
** values: any string (default value: "")
* *irc.server_default.password*
** description: password for server
** type: string
** values: any string (default value: "")
* *irc.server_default.proxy*
** description: proxy used for this server (optional)
** type: string
** values: any string (default value: "")
* *irc.server_default.realname*
** description: real name to use on server
** type: string
** values: any string (default value: "")
* *irc.server_default.ssl*
** description: use SSL for server communication
** type: boolean
** values: on, off (default value: off)
* *irc.server_default.username*
** description: user name to use on server
** type: string
** values: any string (default value: "")
+33
View File
@@ -0,0 +1,33 @@
&bull; *`/logger`* `[list | set level | disable]`::
........................................
logger plugin configuration
list: show logging status for opened buffers
set: set logging level on current buffer
level: level for messages to be logged (0 = logging disabled, 1 = a few messages (most important) .. 9 = all messages)
disable: disable logging on current buffer (set level to 0)
Options "logger.level.*" and "logger.mask.*" can be used to set level or mask for a buffer, or buffers beginning with name.
Examples:
set level to 5 for current buffer:
/logger set 5
disable logging for current buffer:
/logger disable
set level to 3 for all IRC buffers:
/set logger.level.irc 3
disable logging for main WeeChat buffer:
/set logger.level.core.weechat 0
use a directory per IRC server and a file per channel inside:
/set logger.mask.irc "$server/$channel.weechatlog"
Log levels used by IRC plugin:
1: user message, notice, private
2: nick change
3: server message
4: join/part/quit
9: all other messages
........................................
+35
View File
@@ -0,0 +1,35 @@
* *logger.file.auto_log*
** description: automatically save content of buffers to files (unless a buffer disables log)
** type: boolean
** values: on, off (default value: on)
* *logger.file.info_lines*
** description: write information line in log file when log starts or ends for a buffer
** type: boolean
** values: on, off (default value: off)
* *logger.file.mask*
** description: default file name mask for log files (format is "directory/to/file" or "file", without first "/" because "path" option is used to build complete path to file); local buffer variables are permitted
** type: string
** values: any string (default value: "$plugin.$name.weechatlog")
* *logger.file.name_lower_case*
** description: use only lower case for log filenames
** type: boolean
** values: on, off (default value: on)
* *logger.file.path*
** description: path for WeeChat log files ("%h" will be replaced by WeeChat home, "~/.weechat" by default)
** type: string
** values: any string (default value: "%h/logs/")
* *logger.file.time_format*
** description: timestamp used in log files (see man strftime for date/time specifiers)
** type: string
** values: any string (default value: "%Y-%m-%d %H:%M:%S")
* *logger.look.backlog*
** description: maximum number of lines to display from log file when creating new buffer (0 = no backlog)
** type: integer
** values: 0 .. 2147483647 (default value: 20)
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/lua`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/perl`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/python`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/relay`* `[list | listfull]`::
........................................
relay control
list: list relay clients
listfull: list relay clients (verbose)
Without argument, this command opens buffer with list of relay clients.
........................................
+55
View File
@@ -0,0 +1,55 @@
* *relay.color.status_active*
** description: text color for "connected" status
** type: color
** values: a color name (default value: lightblue)
* *relay.color.status_auth_failed*
** description: text color for "authentication failed" status
** type: color
** values: a color name (default value: lightred)
* *relay.color.status_connecting*
** description: text color for "connecting" status
** type: color
** values: a color name (default value: yellow)
* *relay.color.status_disconnected*
** description: text color for "disconnected" status
** type: color
** values: a color name (default value: lightred)
* *relay.color.status_waiting_auth*
** description: text color for "waiting authentication" status
** type: color
** values: a color name (default value: brown)
* *relay.color.text*
** description: text color
** type: color
** values: a color name (default value: default)
* *relay.color.text_bg*
** description: background color
** type: color
** values: a color name (default value: default)
* *relay.color.text_selected*
** description: text color of selected client line
** type: color
** values: a color name (default value: white)
* *relay.look.auto_open_buffer*
** description: auto open relay buffer when a new client is connecting
** type: boolean
** values: on, off (default value: on)
* *relay.network.enabled*
** description: enable relay
** type: boolean
** values: on, off (default value: off)
* *relay.network.listen_port_range*
** description: port number (or range of ports) that relay plugin listens on (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, it's recommended to use ports greater than 1024, because only root can use ports below 1024)
** type: string
** values: any string (default value: "22373-22400")
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/ruby`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/tcl`* `[list [name]] | [listfull [name]] [load filename] | [autoload] | [reload] | [unload [name]]`::
........................................
list/load/unload scripts
filename: script (file) to load
name: a script name
Without argument, this command lists all loaded scripts.
........................................
+375
View File
@@ -0,0 +1,375 @@
&bull; *`/bar`* `[add barname type[,cond1,cond2,...] position size separator item1,item2,...] | [default] | [del barname|-all] | [set barname option value] | [hide|show|toggle barname] | [scroll barname buffer scroll_value] | [list] | [listfull] | [listitems]`::
........................................
manage bars
add: add a new bar
barname: name of bar (must be unique)
type: root: outside windows),
window: inside windows, with optional conditions (see below)
cond1,...: condition(s) for displaying bar (only for type "window"):
active: on active window
inactive: on inactive windows
nicklist: on windows with nicklist
without condition, bar is always displayed
position: bottom, top, left or right
filling: horizontal, vertical, columns_horizontal or columns_vertical
size: size of bar (in chars)
separator: 1 for using separator (line), 0 or nothing means no separator
item1,...: items for this bar (items can be separated by comma (space between items) or "+" (glued items))
default: create default bars
del: delete a bar (or all bars with -all)
set: set a value for a bar property
option: option to change (for options list, look at /set weechat.bar.<barname>.*)
value: new value for option
hide: hide a bar
show: show an hidden bar
toggle: hide/show a bar
scroll: scroll bar up/down
buffer: name of buffer to scroll ('*' means current buffer, you should use '*' for root bars)
scroll_value: value for scroll: 'x' or 'y', followed by '+', '-', 'b' (beginning) or 'e' (end), value (for +/-), and optional %% (to scroll by %% of width/height, otherwise value is number of chars)
list: list all bars
listfull: list all bars (verbose)
listitems: list all bar items
Examples:
create a bar with time, buffer number + name, and completion:
/bar add mybar root bottom 1 0 [time],buffer_number+:+buffer_name,completion
hide a bar:
/bar hide mybar
scroll nicklist 10 lines down on current buffer:
/bar scroll nicklist * y+10
scroll nicklist one page up on #weechat buffer:
/bar scroll nicklist #weechat y-100%
scroll to end of nicklist on current buffer:
/bar scroll nicklist * ye
........................................
&bull; *`/buffer`* `[clear [number | -merged | -all] | move number | merge number | unmerge [number] | close [n1[-n2]] | list | notify level | localvar | set property value | number | name]`::
........................................
manage buffers
clear: clear buffer content (number for a buffer, -merged for merged buffers, -all for all buffers, or nothing for current buffer)
move: move buffer in the list (may be relative, for example -1)
merge: merge current buffer to another buffer (chat area will be mix of both buffers)
(by default ctrl-x switches between merged buffers)
unmerge: unmerge buffer from other buffers which have same number
close: close buffer (number/range is optional)
list: list buffers (no parameter implies this list)
notify: set notify level for current buffer: this level determines whether buffer will be added to hotlist or not:
none: never
highlight: for highlights only
message: for messages from users + highlights
all: all messages
reset: reset to default value (all)
localvar: display local variables for current buffer
set: set a property for current buffer
number: jump to buffer by number, possible prefix:
'+': relative jump, add number to current
'-': relative jump, sub number to current
'*': jump to number, using option "weechat.look.jump_current_to_previous_buffer"
name: jump to buffer by (partial) name
Examples:
clear current buffer: /buffer clear
clear all buffers: /buffer clear -all
move buffer: /buffer move 5
merge with core buffer: /buffer merge 1
unmerge buffer: /buffer unmerge
close current buffer: /buffer close
close buffers 5 to 7: /buffer close 5-7
jump to #weechat: /buffer #weechat
jump to next buffer: /buffer +1
........................................
&bull; *`/command`* `plugin command`::
........................................
launch explicit WeeChat or plugin command
plugin: plugin name ('weechat' for WeeChat internal command)
command: command to execute (a '/' is automatically added if not found at beginning of command)
........................................
&bull; *`/debug`* `[list | plugin level | dump | buffer | windows]`::
........................................
control debug for core/plugins
plugin: name of plugin ("core" for WeeChat core)
level: debug level for plugin (0 = disable debug)
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
text: send "debug" signal with "text" as argument
........................................
&bull; *`/filter`* `[list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]`::
........................................
filter messages in buffers, to hide/show them according to tags or regex
list: list all filters
enable: enable filters (filters are enabled by default)
disable: disable filters
toggle: toggle filters
name: filter name
add: add a filter
del: delete a filter
-all: delete all filters
plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
regex: regular expression to search in line (use \t to separate prefix from message, special chars like '|' must be escaped: '\|')
The default key alt+'=' toggles filtering on/off.
Examples:
use IRC smart filter for join/part/quit messages:
/filter add irc_smart * irc_smart_filter *
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
filter nick "toto" on IRC channel #weechat:
/filter add toto irc.freenode.#weechat * toto\t
filter lines containing word "spam":
/filter add filterspam * * spam
filter lines containing "weechat sucks" on IRC channel #weechat:
/filter add sucks irc.freenode.#weechat * weechat sucks
........................................
&bull; *`/help`* `[command | option]`::
........................................
display help about commands and options
command: a command name
option: an option name (use /set to see list)
........................................
&bull; *`/history`* `[clear | value]`::
........................................
show buffer command history
clear: clear history
value: number of history entries to show
........................................
&bull; *`/input`* `return | complete_next | complete_previous | search_next | delete_previous_char | delete_next_char | delete_previous_word | delete_next_word | delete_beginning_of_line | delete_end_of_line | delete_line | clipboard_paste | transpose_chars | move_beginning_of_line | move_end_of_line | move_previous_char | move_next_char | move_previous_word | move_next_word | history_previous | history_next | history_global_previous | history_global_next | jump_smart | jump_last_buffer | jump_previously_visited_buffer | jump_next_visited_buffer | hotlist_clear | grab_key | scroll_unread | set_unread | set_unread_current_buffer | insert [args]`::
........................................
functions for command line
This command is used by key bindings or plugins.
........................................
&bull; *`/key`* `[bind key [command [args]]] | [unbind key] | [reset -yes] | [missing]`::
........................................
bind/unbind keys
bind: bind a command to a key or display command bound to key
unbind: remove a key binding
reset: restore bindings to the default values and delete ALL personal bindings (use carefully!)
missing: add missing keys (using default bindings)
When binding a command to a key, it is recommended to use key alt+k (or Esc then k), and then press the key to bind: this will insert key code in command line.
........................................
&bull; *`/layout`* `[[save | apply | reset] [buffers | windows]]`::
........................................
save/apply/reset layout for buffers and windows
save: save current layout
apply: apply saved layout
reset: remove saved layout
buffers: save/apply only buffers (order of buffers)
windows: save/apply only windows (buffer displayed by each window)
Without argument, this command displays saved layout.
........................................
&bull; *`/plugin`* `[list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]`::
........................................
list/load/unload plugins
list: list loaded plugins
listfull: list loaded plugins (verbose)
load: load a plugin
autoload: autoload plugins in system or user directory
reload: reload one plugin (if no name given, unload all plugins, then autoload plugins)
unload: unload one or all plugins
Without argument, this command lists loaded plugins.
........................................
&bull; *`/proxy`* `[add proxyname type address port [username [password]]] | [del proxyname|-all] | [set proxyname option value] | [list]`::
........................................
manage proxies
add: add a new proxy
proxyname: name of proxy (must be unique)
type: http, socks4 or socks5
address: IP or hostname
port: port
username: username (optional)
password: password (optional)
del: delete a proxy (or all proxies with -all)
set: set a value for a proxy property
option: option to change (for options list, look at /set weechat.proxy.<proxyname>.*)
value: new value for option
list: list all proxies
Examples:
create a http proxy, running on local host, port 8888:
/proxy add local http 127.0.0.1 8888
create a http proxy using IPv6 protocol:
/proxy add local http 127.0.0.1 8888
/proxy set local ipv6 on
create a socks5 proxy with username/password:
/proxy add myproxy socks5 sample.host.org 3128 myuser mypass
delete a proxy:
/proxy del myproxy
........................................
&bull; *`/quit`*::
........................................
quit WeeChat
........................................
&bull; *`/reload`* `[file [file...]]`::
........................................
reload configuration files from disk
file: configuration file to reload
Without argument, all files (WeeChat and plugins) are reloaded.
........................................
&bull; *`/save`* `[file [file...]]`::
........................................
save configuration files to disk
file: configuration file to save
Without argument, all files (WeeChat and plugins) are saved.
........................................
&bull; *`/set`* `[option [value]]`::
........................................
set config options
option: name of an option
value: new value for option
New value can be, according to variable type:
boolean: on, off or toggle
integer: number, ++number or --number
string : any string ("" for empty string)
color : color name, ++number or --number
For all types, you can use null to remove option value (undefined value). This works only for some special plugin variables.
........................................
&bull; *`/unset`* `[option]`::
........................................
unset/reset config options
option: name of an option (may begin or end with "*" to mass-reset options, use carefully!)
According to option, it's reset (for standard options) or removed (for optional settings, like server values).
........................................
&bull; *`/upgrade`* `[path_to_binary]`::
........................................
upgrade WeeChat without disconnecting from servers
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
........................................
&bull; *`/uptime`* `[-o]`::
........................................
show WeeChat uptime
-o: send uptime to current buffer as input
........................................
&bull; *`/version`* `[-o]`::
........................................
show WeeChat version and compilation date
-o: send version to current buffer as input
........................................
&bull; *`/wait`* `number[unit] command`::
........................................
schedule a command execution in future
number: amount of time to wait (integer number)
unit: optional, values are:
ms: milliseconds
s: seconds (default)
m: minutes
h: hours
command: command to execute (or text to send to buffer if command does not start with '/')
Note: command is executed on buffer where /wait was executed (if buffer is not found (for example if it has been closed before execution of command), then command is executed on WeeChat core buffer).
Examples:
join channel in 10 sec: /wait 10 /join #test
set away in 15 min: /wait 15m /away -all I'm away
say 'hello' in 2 min: /wait 2m hello
........................................
&bull; *`/window`* `[list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all] | page_up | page_down | refresh | scroll | scroll_up | scroll_down | scroll_top | scroll_bottom | scroll_previous_highlight | scroll_next_highlight | zoom]`::
........................................
manage windows
list: list opened windows (no parameter implies this list)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is <pct> percentage of parent window
merge: merge window with another (all = keep only one window)
page_up: scroll one page up
page_down: scroll one page down
refresh: refresh screen
scroll: scroll number of lines (+/-N) or with time: s=seconds, m=minutes, h=hours, d=days, M=months, y=years
scroll_up: scroll a few lines up
scroll_down: scroll a few lines down
scroll_top: scroll to top of buffer
scroll_bottom: scroll to bottom of buffer
scroll_previous_highlight: scroll to previous highlight
scroll_next_highlight: scroll to next highlight
zoom: zoom on window
For splith and splitv, pct is a percentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
Examples:
jump to window displaying buffer #1: /window b1 scroll 2 lines up: /window scroll -2
scroll 2 days up: /window scroll -2d
scroll to beginning of current day: /window scroll -d
........................................
+585
View File
@@ -0,0 +1,585 @@
* *weechat.color.bar_more*
** description: text color for '+' when scrolling bars
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.chat*
** description: text color for chat
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_bg*
** description: background color for chat
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_buffer*
** description: text color for buffer names
** type: color
** values: a color name (default value: white)
* *weechat.color.chat_channel*
** description: text color for channel names
** type: color
** values: a color name (default value: white)
* *weechat.color.chat_delimiters*
** description: text color for delimiters
** type: color
** values: a color name (default value: green)
* *weechat.color.chat_highlight*
** description: text color for highlighted prefix
** type: color
** values: a color name (default value: yellow)
* *weechat.color.chat_highlight_bg*
** description: background color for highlighted prefix
** type: color
** values: a color name (default value: magenta)
* *weechat.color.chat_host*
** description: text color for hostnames
** type: color
** values: a color name (default value: cyan)
* *weechat.color.chat_nick*
** description: text color for nicks in chat window
** type: color
** values: a color name (default value: lightcyan)
* *weechat.color.chat_nick_color01*
** description: text color #1 for nick
** type: color
** values: a color name (default value: cyan)
* *weechat.color.chat_nick_color02*
** description: text color #2 for nick
** type: color
** values: a color name (default value: magenta)
* *weechat.color.chat_nick_color03*
** description: text color #3 for nick
** type: color
** values: a color name (default value: green)
* *weechat.color.chat_nick_color04*
** description: text color #4 for nick
** type: color
** values: a color name (default value: brown)
* *weechat.color.chat_nick_color05*
** description: text color #5 for nick
** type: color
** values: a color name (default value: lightblue)
* *weechat.color.chat_nick_color06*
** description: text color #6 for nick
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_nick_color07*
** description: text color #7 for nick
** type: color
** values: a color name (default value: lightcyan)
* *weechat.color.chat_nick_color08*
** description: text color #8 for nick
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.chat_nick_color09*
** description: text color #9 for nick
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.chat_nick_color10*
** description: text color #10 for nick
** type: color
** values: a color name (default value: blue)
* *weechat.color.chat_nick_other*
** description: text color for other nick in private buffer
** type: color
** values: a color name (default value: cyan)
* *weechat.color.chat_nick_self*
** description: text color for local nick in chat window
** type: color
** values: a color name (default value: white)
* *weechat.color.chat_prefix_action*
** description: text color for action prefix
** type: color
** values: a color name (default value: white)
* *weechat.color.chat_prefix_buffer*
** description: text color for buffer name (before prefix, when many buffers are merged with same number)
** type: color
** values: a color name (default value: brown)
* *weechat.color.chat_prefix_error*
** description: text color for error prefix
** type: color
** values: a color name (default value: yellow)
* *weechat.color.chat_prefix_join*
** description: text color for join prefix
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.chat_prefix_more*
** description: text color for '+' when prefix is too long
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.chat_prefix_network*
** description: text color for network prefix
** type: color
** values: a color name (default value: magenta)
* *weechat.color.chat_prefix_quit*
** description: text color for quit prefix
** type: color
** values: a color name (default value: lightred)
* *weechat.color.chat_prefix_suffix*
** description: text color for suffix (after prefix)
** type: color
** values: a color name (default value: green)
* *weechat.color.chat_read_marker*
** description: text color for unread data marker
** type: color
** values: a color name (default value: magenta)
* *weechat.color.chat_read_marker_bg*
** description: background color for unread data marker
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_server*
** description: text color for server names
** type: color
** values: a color name (default value: brown)
* *weechat.color.chat_text_found*
** description: text color for marker on lines where text sought is found
** type: color
** values: a color name (default value: yellow)
* *weechat.color.chat_text_found_bg*
** description: background color for marker on lines where text sought is found
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.chat_time*
** description: text color for time in chat window
** type: color
** values: a color name (default value: default)
* *weechat.color.chat_time_delimiters*
** description: text color for time delimiters
** type: color
** values: a color name (default value: brown)
* *weechat.color.chat_value*
** description: text color for values
** type: color
** values: a color name (default value: cyan)
* *weechat.color.input_actions*
** description: text color for actions in input line
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.input_text_not_found*
** description: text color for unsucessful text search in input line
** type: color
** values: a color name (default value: red)
* *weechat.color.nicklist_away*
** description: text color for away nicknames
** type: color
** values: a color name (default value: cyan)
* *weechat.color.nicklist_group*
** description: text color for groups in nicklist
** type: color
** values: a color name (default value: green)
* *weechat.color.nicklist_more*
** description: text color for '+' when scrolling nicks in nicklist
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.nicklist_prefix1*
** description: text color for prefix #1 in nicklist
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.nicklist_prefix2*
** description: text color for prefix #2 in nicklist
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.nicklist_prefix3*
** description: text color for prefix #3 in nicklist
** type: color
** values: a color name (default value: yellow)
* *weechat.color.nicklist_prefix4*
** description: text color for prefix #4 in nicklist
** type: color
** values: a color name (default value: blue)
* *weechat.color.nicklist_prefix5*
** description: text color for prefix #5 in nicklist
** type: color
** values: a color name (default value: brown)
* *weechat.color.separator*
** description: background color for window separators (when split)
** type: color
** values: a color name (default value: blue)
* *weechat.color.status_data_highlight*
** description: text color for buffer with highlight (status bar)
** type: color
** values: a color name (default value: lightmagenta)
* *weechat.color.status_data_msg*
** description: text color for buffer with new messages (status bar)
** type: color
** values: a color name (default value: yellow)
* *weechat.color.status_data_other*
** description: text color for buffer with new data (not messages) (status bar)
** type: color
** values: a color name (default value: default)
* *weechat.color.status_data_private*
** description: text color for buffer with private message (status bar)
** type: color
** values: a color name (default value: lightgreen)
* *weechat.color.status_filter*
** description: text color for filter indicator in status bar
** type: color
** values: a color name (default value: green)
* *weechat.color.status_more*
** description: text color for buffer with new data (status bar)
** type: color
** values: a color name (default value: yellow)
* *weechat.color.status_name*
** description: text color for current buffer name in status bar
** type: color
** values: a color name (default value: white)
* *weechat.color.status_number*
** description: text color for current buffer number in status bar
** type: color
** values: a color name (default value: yellow)
* *weechat.completion.default_template*
** description: default completion template (please see documentation for template codes and values)
** type: string
** values: any string (default value: "%(nicks)|%(irc_channels)")
* *weechat.completion.nick_add_space*
** description: add space after nick completion (when nick is not first word on command line)
** type: boolean
** values: on, off (default value: on)
* *weechat.completion.nick_completer*
** description: string inserted after nick completion
** type: string
** values: any string (default value: ":")
* *weechat.completion.nick_first_only*
** description: complete only with first nick found
** type: boolean
** values: on, off (default value: off)
* *weechat.completion.nick_ignore_chars*
** description: chars ignored for nick completion
** type: string
** values: any string (default value: "[]-^")
* *weechat.completion.partial_completion_alert*
** description: alert user when a partial completion occurs
** type: boolean
** values: on, off (default value: on)
* *weechat.completion.partial_completion_command*
** description: partially complete command names (stop when many commands found begin with same letters)
** type: boolean
** values: on, off (default value: off)
* *weechat.completion.partial_completion_command_arg*
** description: partially complete command arguments (stop when many arguments found begin with same prefix)
** type: boolean
** values: on, off (default value: off)
* *weechat.completion.partial_completion_count*
** description: display count for each partial completion in bar item
** type: boolean
** values: on, off (default value: on)
* *weechat.completion.partial_completion_other*
** description: partially complete outside commands (stop when many words found begin with same letters)
** type: boolean
** values: on, off (default value: off)
* *weechat.history.display_default*
** description: maximum number of commands to display by default in history listing (0 = unlimited)
** type: integer
** values: 0 .. 2147483647 (default value: 5)
* *weechat.history.max_commands*
** description: maximum number of user commands in history (0 = unlimited)
** type: integer
** values: 0 .. 2147483647 (default value: 100)
* *weechat.history.max_lines*
** description: maximum number of lines in history per buffer (0 = unlimited)
** type: integer
** values: 0 .. 2147483647 (default value: 4096)
* *weechat.history.max_visited_buffers*
** description: maximum number of visited buffers to keep in memory
** type: integer
** values: 0 .. 1000 (default value: 50)
* *weechat.look.buffer_notify_default*
** description: default notify level for buffers (used to tell WeeChat if buffer must be displayed in hotlist or not, according to importance of message)
** type: integer
** values: none, highlight, message, all (default value: all)
* *weechat.look.buffer_time_format*
** description: time format for buffers
** type: string
** values: any string (default value: "%H:%M:%S")
* *weechat.look.color_nicks_number*
** description: number of colors to use for nicks colors
** type: integer
** values: 1 .. 10 (default value: 10)
* *weechat.look.color_real_white*
** description: if set, uses real white color, disabled by default for terms with white background (if you never use white background, you should turn on this option to see real white instead of default term foreground color)
** type: boolean
** values: on, off (default value: off)
* *weechat.look.day_change*
** description: display special message when day changes
** type: boolean
** values: on, off (default value: on)
* *weechat.look.day_change_time_format*
** description: time format for date displayed when day changed
** type: string
** values: any string (default value: "%a, %d %b %Y")
* *weechat.look.highlight*
** description: comma separated list of words to highlight (case insensitive comparison, words may begin or end with "*" for partial match)
** type: string
** values: any string (default value: "")
* *weechat.look.hotlist_names_count*
** description: max number of names in hotlist (0 = no name displayed, only buffer numbers)
** type: integer
** values: 0 .. 32 (default value: 3)
* *weechat.look.hotlist_names_length*
** description: max length of names in hotlist (0 = no limit)
** type: integer
** values: 0 .. 32 (default value: 0)
* *weechat.look.hotlist_names_level*
** description: level for displaying names in hotlist (combination of: 1=join/part, 2=message, 4=private, 8=highlight, for example: 12=private+highlight)
** type: integer
** values: 1 .. 15 (default value: 12)
* *weechat.look.hotlist_names_merged_buffers*
** description: if set, force display of names in hotlist for merged buffers
** type: boolean
** values: on, off (default value: off)
* *weechat.look.hotlist_short_names*
** description: if set, uses short names to display buffer names in hotlist (start after first '.' in name)
** type: boolean
** values: on, off (default value: on)
* *weechat.look.hotlist_sort*
** description: hotlist sort type (group_time_asc (default), group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc)
** type: integer
** values: group_time_asc, group_time_desc, group_number_asc, group_number_desc, number_asc, number_desc (default value: group_time_asc)
* *weechat.look.item_time_format*
** description: time format for "time" bar item
** type: string
** values: any string (default value: "%H:%M")
* *weechat.look.jump_current_to_previous_buffer*
** description: jump to previous buffer displayed when jumping to current buffer number with /buffer *N (where N is a buffer number), to easily switch to another buffer, then come back to current buffer
** type: boolean
** values: on, off (default value: on)
* *weechat.look.jump_previous_buffer_when_closing*
** description: jump to previously visited buffer when closing a buffer (if disabled, then jump to buffer number - 1)
** type: boolean
** values: on, off (default value: on)
* *weechat.look.nickmode*
** description: display nick mode ((half)op/voice) before each nick
** type: boolean
** values: on, off (default value: on)
* *weechat.look.nickmode_empty*
** description: display space if nick mode is not (half)op/voice
** type: boolean
** values: on, off (default value: off)
* *weechat.look.paste_max_lines*
** description: max number of lines for paste without asking user (0 = disable this feature)
** type: integer
** values: 0 .. 2147483647 (default value: 3)
* *weechat.look.prefix_action*
** description: prefix for action messages
** type: string
** values: any string (default value: " *")
* *weechat.look.prefix_align*
** description: prefix alignment (none, left, right (default))
** type: integer
** values: none, left, right (default value: right)
* *weechat.look.prefix_align_max*
** description: max size for prefix (0 = no max size)
** type: integer
** values: 0 .. 64 (default value: 0)
* *weechat.look.prefix_buffer_align*
** description: prefix alignment for buffer name, when many buffers are merged with same number (none, left, right (default))
** type: integer
** values: none, left, right (default value: right)
* *weechat.look.prefix_error*
** description: prefix for error messages
** type: string
** values: any string (default value: "=!=")
* *weechat.look.prefix_join*
** description: prefix for join messages
** type: string
** values: any string (default value: "-->")
* *weechat.look.prefix_network*
** description: prefix for network messages
** type: string
** values: any string (default value: "--")
* *weechat.look.prefix_quit*
** description: prefix for quit messages
** type: string
** values: any string (default value: "<--")
* *weechat.look.prefix_suffix*
** description: string displayed after prefix
** type: string
** values: any string (default value: "|")
* *weechat.look.read_marker*
** description: use a marker (line or char) on buffers to show first unread line
** type: integer
** values: none, line, dotted-line, char (default value: dotted-line)
* *weechat.look.save_config_on_exit*
** description: save configuration file on exit
** type: boolean
** values: on, off (default value: on)
* *weechat.look.save_layout_on_exit*
** description: save layout on exit (buffers, windows, or both)
** type: integer
** values: none, buffers, windows, all (default value: none)
* *weechat.look.scroll_amount*
** description: how many lines to scroll by with scroll_up and scroll_down
** type: integer
** values: 1 .. 2147483647 (default value: 3)
* *weechat.look.scroll_page_percent*
** description: percent of screen to scroll when scrolling one page up or down (for example 100 means one page, 50 half-page)
** type: integer
** values: 1 .. 100 (default value: 100)
* *weechat.look.search_text_not_found_alert*
** description: alert user when text sought is not found in buffer
** type: boolean
** values: on, off (default value: on)
* *weechat.look.set_title*
** description: set title for window (terminal for Curses GUI) with name and version
** type: boolean
** values: on, off (default value: on)
* *weechat.network.gnutls_dh_prime_bitsmax_lines*
** description: minimum size in bits for handshake using Diffie Hellman key exchange
** type: integer
** values: 0 .. 2147483647 (default value: 512)
* *weechat.plugin.autoload*
** description: comma separated list of plugins to load automatically at startup, "*" means all plugins found (names may be partial, for example "perl" is ok for "perl.so")
** type: string
** values: any string (default value: "*")
* *weechat.plugin.debug*
** description: enable debug messages by default in all plugins (option disabled by default, which is highly recommended)
** type: boolean
** values: on, off (default value: off)
* *weechat.plugin.extension*
** description: standard plugins extension in filename (for example ".so" under Linux or ".dll" under Microsoft Windows)
** type: string
** values: any string (default value: ".so")
* *weechat.plugin.path*
** description: path for searching plugins ("%h" will be replaced by WeeChat home, "~/.weechat" by default)
** type: string
** values: any string (default value: "%h/plugins")
* *weechat.plugin.save_config_on_unload*
** description: save configuration files when unloading plugins
** type: boolean
** values: on, off (default value: on)
* *weechat.startup.command_after_plugins*
** description: command executed when WeeChat starts, after loading plugins
** type: string
** values: any string (default value: "")
* *weechat.startup.command_before_plugins*
** description: command executed when WeeChat starts, before loading plugins
** type: string
** values: any string (default value: "")
* *weechat.startup.display_logo*
** description: display WeeChat logo at startup
** type: boolean
** values: on, off (default value: on)
* *weechat.startup.display_version*
** description: display WeeChat version at startup
** type: boolean
** values: on, off (default value: on)
* *weechat.startup.weechat_slogan*
** description: WeeChat slogan (if empty, slogan is not used)
** type: string
** values: any string (default value: "le client de discussion le plus geek !")
+11
View File
@@ -0,0 +1,11 @@
&bull; *`/xfer`* `[list | listfull]`::
........................................
xfer control
list: list xfer
listfull: list xfer (verbose)
Without argument, this command opens buffer with xfer list.
........................................
+125
View File
@@ -0,0 +1,125 @@
* *xfer.color.status_aborted*
** description: text color for "aborted" status
** type: color
** values: a color name (default value: lightred)
* *xfer.color.status_active*
** description: text color for "active" status
** type: color
** values: a color name (default value: lightblue)
* *xfer.color.status_connecting*
** description: text color for "connecting" status
** type: color
** values: a color name (default value: yellow)
* *xfer.color.status_done*
** description: text color for "done" status
** type: color
** values: a color name (default value: lightgreen)
* *xfer.color.status_failed*
** description: text color for "failed" status
** type: color
** values: a color name (default value: lightred)
* *xfer.color.status_waiting*
** description: text color for "waiting" status
** type: color
** values: a color name (default value: lightcyan)
* *xfer.color.text*
** description: text color
** type: color
** values: a color name (default value: default)
* *xfer.color.text_bg*
** description: background color
** type: color
** values: a color name (default value: default)
* *xfer.color.text_selected*
** description: text color of selected xfer line
** type: color
** values: a color name (default value: white)
* *xfer.file.auto_accept_chats*
** description: automatically accept chat requests (use carefully!)
** type: boolean
** values: on, off (default value: off)
* *xfer.file.auto_accept_files*
** description: automatically accept incoming files (use carefully!)
** type: boolean
** values: on, off (default value: off)
* *xfer.file.auto_rename*
** description: rename incoming files if already exists (add ".1", ".2", ...)
** type: boolean
** values: on, off (default value: on)
* *xfer.file.auto_resume*
** description: automatically resume file transfer if connection with remote host is lost
** type: boolean
** values: on, off (default value: on)
* *xfer.file.convert_spaces*
** description: convert spaces to underscores when sending files
** type: boolean
** values: on, off (default value: on)
* *xfer.file.download_path*
** description: path for writing incoming files
** type: string
** values: any string (default value: "%h/xfer")
* *xfer.file.upload_path*
** description: path for reading files when sending (when no path is specified by user)
** type: string
** values: any string (default value: "~")
* *xfer.file.use_nick_in_filename*
** description: use remote nick as prefix in local filename when receiving a file
** type: boolean
** values: on, off (default value: on)
* *xfer.look.auto_open_buffer*
** description: auto open xfer buffer when a new xfer is added to list
** type: boolean
** values: on, off (default value: on)
* *xfer.look.progress_bar_size*
** description: size of progress bar, in chars (if 0, progress bar is disabled)
** type: integer
** values: 0 .. 256 (default value: 20)
* *xfer.network.blocksize*
** description: block size for sending packets, in bytes
** type: integer
** values: 1024 .. 102400 (default value: 65536)
* *xfer.network.fast_send*
** description: does not wait for ACK when sending file
** type: boolean
** values: on, off (default value: on)
* *xfer.network.own_ip*
** description: IP or DNS address used for sending files/chats (if empty, local interface IP is used)
** type: string
** values: any string (default value: "")
* *xfer.network.port_range*
** description: restricts outgoing files/chats to use only ports in the given range (useful for NAT) (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015, empty value means any port, it's recommended to use ports greater than 1024, because only root can use ports below 1024)
** type: string
** values: any string (default value: "")
* *xfer.network.speed_limit*
** description: speed limit for sending files, in kilo-bytes by second (0 means no limit)
** type: integer
** values: 0 .. 2147483647 (default value: 0)
* *xfer.network.timeout*
** description: timeout for xfer request (in seconds)
** type: integer
** values: 5 .. 2147483647 (default value: 300)
-1288
View File
File diff suppressed because it is too large Load Diff
-443
View File
@@ -1,443 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>admin [target]</command>
<programlisting>
find information about the administrator of the server
target: server
</programlisting>
<command>ame message</command>
<programlisting>
send a CTCP action to all channels of all connected servers
message: message to send
</programlisting>
<command>amsg text</command>
<programlisting>
send message to all channels of all connected servers
text: text to send
</programlisting>
<command>away [-all] [message]</command>
<programlisting>
toggle away status
-all: toggle away status on all connected servers
message: message for away (if no message is given, away status is removed)
</programlisting>
<command>ban [channel] [nickname [nickname ...]]</command>
<programlisting>
bans nicks or hosts
channel: channel for ban
nickname: user or host to ban
</programlisting>
<command>ctcp receiver type [arguments]</command>
<programlisting>
send a CTCP message (Client-To-Client Protocol)
receiver: nick or channel to send CTCP to
type: CTCP type (examples: "version", "ping", ..)
arguments: arguments for CTCP
</programlisting>
<command>cycle [channel[,channel]] [part_message]</command>
<programlisting>
leave and rejoin a channel
channel: channel name for cycle
part_message: part message (displayed to other users)
</programlisting>
<command>dehalfop [nickname [nickname]]</command>
<programlisting>
removes half channel operator status from nickname(s)
</programlisting>
<command>deop [nickname [nickname]]</command>
<programlisting>
removes channel operator status from nickname(s)
</programlisting>
<command>devoice [nickname [nickname]]</command>
<programlisting>
removes voice from nickname(s)
</programlisting>
<command>die</command>
<programlisting>
shutdown the server
</programlisting>
<command>halfop [nickname [nickname]]</command>
<programlisting>
gives half channel operator status to nickname(s)
</programlisting>
<command>info [target]</command>
<programlisting>
get information describing the server
target: server name
</programlisting>
<command>invite nickname channel</command>
<programlisting>
invite a nick on a channel
nickname: nick to invite
channel: channel to invite
</programlisting>
<command>ison nickname [nickname ...]</command>
<programlisting>
check if a nickname is currently on IRC
nickname: nickname
</programlisting>
<command>join channel[,channel] [key[,key]]</command>
<programlisting>
join a channel
channel: channel name to join
key: key to join the channel
</programlisting>
<command>kick [channel] nickname [comment]</command>
<programlisting>
forcibly remove a user from a channel
channel: channel where user is
nickname: nickname to kick
comment: comment for kick
</programlisting>
<command>kickban [channel] nickname [comment]</command>
<programlisting>
kicks and bans a nick from a channel
channel: channel where user is
nickname: nickname to kick and ban
comment: comment for kick
</programlisting>
<command>kill nickname comment</command>
<programlisting>
close client-server connection
nickname: nickname
comment: comment for kill
</programlisting>
<command>links [[server] server_mask]</command>
<programlisting>
list all servernames which are known by the server answering the query
server: this server should answer the query
server_mask: list of servers must match this mask
</programlisting>
<command>list [channel[,channel] [server]]</command>
<programlisting>
list channels and their topic
channel: channel to list (a regexp is allowed)
server: server name
</programlisting>
<command>lusers [mask [target]]</command>
<programlisting>
get statistics about the size of the IRC network
mask: servers matching the mask only
target: server for forwarding request
</programlisting>
<command>me message</command>
<programlisting>
send a CTCP action to the current channel
message: message to send
</programlisting>
<command>mode { channel {[+|-]|o|p|s|i|t|n|b|v} [limit] [user] [ban mask] } | { nickname {[+|-]|i|w|s|o} }</command>
<programlisting>
change channel or user mode
channel modes:
channel: channel name to modify
o: give/take channel operator privileges
p: private channel flag
s: secret channel flag
i: invite-only channel flag
t: topic settable by channel operator only flag
n: no messages to channel from clients on the outside
m: moderated channel
l: set the user limit to channel
b: set a ban mask to keep users out
e: set exception mask
v: give/take the ability to speak on a moderated channel
k: set a channel key (password)
user modes:
nickname: nickname to modify
i: mark a user as invisible
s: mark a user for receive server notices
w: user receives wallops
o: operator flag
</programlisting>
<command>motd [target]</command>
<programlisting>
get the "Message Of The Day"
target: server name
</programlisting>
<command>msg receiver[,receiver] text</command>
<programlisting>
send message to a nick or channel
receiver: nick or channel (may be mask, '*' = current channel)
text: text to send
</programlisting>
<command>names [channel[,channel]]</command>
<programlisting>
list nicknames on channels
channel: channel name
</programlisting>
<command>nick [-all] nickname</command>
<programlisting>
change current nickname
-all: set new nickname for all connected servers
nickname: new nickname
</programlisting>
<command>notice nickname text</command>
<programlisting>
send notice message to user
nickname: user to send notice to
text: text to send
</programlisting>
<command>op nickname [nickname]</command>
<programlisting>
gives channel operator status to nickname(s)
</programlisting>
<command>oper user password</command>
<programlisting>
get operator privileges
user/password: used to get privileges on current IRC server
</programlisting>
<command>part [channel[,channel]] [part_message]</command>
<programlisting>
leave a channel
channel: channel name to leave
part_message: part message (displayed to other users)
</programlisting>
<command>ping server1 [server2]</command>
<programlisting>
ping server
server1: server to ping
server2: forward ping to this server
</programlisting>
<command>pong daemon [daemon2]</command>
<programlisting>
answer to a ping message
daemon: daemon who has responded to Ping message
daemon2: forward message to this daemon
</programlisting>
<command>query nickname [text]</command>
<programlisting>
send a private message to a nick
nickname: nickname for private conversation
text: text to send
</programlisting>
<command>quit [quit_message]</command>
<programlisting>
close all connections and quit
quit_message: quit message (displayed to other users)
</programlisting>
<command>quote data</command>
<programlisting>
send raw data to server without parsing
data: raw data to send
</programlisting>
<command>rehash</command>
<programlisting>
tell the server to reload its config file
</programlisting>
<command>restart</command>
<programlisting>
tell the server to restart itself
</programlisting>
<command>service nickname reserved distribution type reserved info</command>
<programlisting>
register a new service
distribution: visibility of service
type: reserved for future usage
</programlisting>
<command>servlist [mask [type]]</command>
<programlisting>
list services currently connected to the network
mask: list only services matching this mask
type: list only services of this type
</programlisting>
<command>squery service text</command>
<programlisting>
deliver a message to a service
service: name of service
text: text to send
</programlisting>
<command>squit server comment</command>
<programlisting>
disconnect server links
server: server name
comment: comment for quit
</programlisting>
<command>stats [query [server]]</command>
<programlisting>
query statistics about server
query: c/h/i/k/l/m/o/y/u (see RFC1459)
server: server name
</programlisting>
<command>summon user [target [channel]]</command>
<programlisting>
give users who are on a host running an IRC server a message asking them to please join IRC
user: username
target: server name
channel: channel name
</programlisting>
<command>time [target]</command>
<programlisting>
query local time from server
target: query time from specified server
</programlisting>
<command>topic [channel] [topic]</command>
<programlisting>
get/set channel topic
channel: channel name
topic: new topic for channel (if topic is "-delete" then topic is deleted)
</programlisting>
<command>trace [target]</command>
<programlisting>
find the route to specific server
target: server
</programlisting>
<command>unban [channel] nickname [nickname ...]</command>
<programlisting>
unbans nicks or hosts
channel: channel for unban
nickname: user or host to unban
</programlisting>
<command>userhost nickname [nickname ...]</command>
<programlisting>
return a list of information about nicknames
nickname: nickname
</programlisting>
<command>users [target]</command>
<programlisting>
list of users logged into the server
target: server
</programlisting>
<command>version [server | nickname]</command>
<programlisting>
gives the version info of nick or server (current or specified)
server: server name
nickname: nickname
</programlisting>
<command>voice [nickname [nickname]]</command>
<programlisting>
gives voice to nickname(s)
</programlisting>
<command>wallops text</command>
<programlisting>
send a message to all currently connected users who have set the 'w' user mode for themselves
text to send
</programlisting>
<command>who [mask ["o"]]</command>
<programlisting>
generate a query which returns a list of information
mask: only information which match this mask
o: only operators are returned according to the mask supplied
</programlisting>
<command>whois [server] nickname[,nickname]</command>
<programlisting>
query information about user(s)
server: server name
nickname: nickname (may be a mask)
</programlisting>
<command>whowas nickname [,nickname [,nickname ...]] [count [target]]</command>
<programlisting>
ask for information about a nickname which no longer exists
nickname: nickname to search
count: number of replies to return (full search if negative number)
target: reply should match this mask
</programlisting>
-215
View File
@@ -1,215 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<row>
<entry><literal>return</literal></entry>
<entry>terminate line</entry>
</row>
<row>
<entry><literal>tab</literal></entry>
<entry>complete word</entry>
</row>
<row>
<entry><literal>tab_previous</literal></entry>
<entry>find previous completion for word</entry>
</row>
<row>
<entry><literal>backspace</literal></entry>
<entry>delete previous char</entry>
</row>
<row>
<entry><literal>delete</literal></entry>
<entry>delete next char</entry>
</row>
<row>
<entry><literal>delete_end_line</literal></entry>
<entry>delete until end of line</entry>
</row>
<row>
<entry><literal>delete_beginning_line</literal></entry>
<entry>delete until beginning of line</entry>
</row>
<row>
<entry><literal>delete_line</literal></entry>
<entry>delete entire line</entry>
</row>
<row>
<entry><literal>delete_previous_word</literal></entry>
<entry>delete previous word</entry>
</row>
<row>
<entry><literal>delete_next_word</literal></entry>
<entry>delete next word</entry>
</row>
<row>
<entry><literal>clipboard_paste</literal></entry>
<entry>paste current clipboard content</entry>
</row>
<row>
<entry><literal>transpose_chars</literal></entry>
<entry>transpose chars</entry>
</row>
<row>
<entry><literal>home</literal></entry>
<entry>go to beginning of line</entry>
</row>
<row>
<entry><literal>end</literal></entry>
<entry>go to end of line</entry>
</row>
<row>
<entry><literal>left</literal></entry>
<entry>move one char left</entry>
</row>
<row>
<entry><literal>previous_word</literal></entry>
<entry>move to previous word</entry>
</row>
<row>
<entry><literal>right</literal></entry>
<entry>move one char right</entry>
</row>
<row>
<entry><literal>next_word</literal></entry>
<entry>move to next word</entry>
</row>
<row>
<entry><literal>up</literal></entry>
<entry>call previous command in history</entry>
</row>
<row>
<entry><literal>up_global</literal></entry>
<entry>call previous command in global history</entry>
</row>
<row>
<entry><literal>down</literal></entry>
<entry>call next command in history</entry>
</row>
<row>
<entry><literal>down_global</literal></entry>
<entry>call next command in global history</entry>
</row>
<row>
<entry><literal>page_up</literal></entry>
<entry>scroll one page up</entry>
</row>
<row>
<entry><literal>page_down</literal></entry>
<entry>scroll one page down</entry>
</row>
<row>
<entry><literal>scroll_up</literal></entry>
<entry>scroll a few lines up</entry>
</row>
<row>
<entry><literal>scroll_down</literal></entry>
<entry>scroll a few lines down</entry>
</row>
<row>
<entry><literal>scroll_top</literal></entry>
<entry>scroll to top of buffer</entry>
</row>
<row>
<entry><literal>scroll_bottom</literal></entry>
<entry>scroll to bottom of buffer</entry>
</row>
<row>
<entry><literal>scroll_topic_left</literal></entry>
<entry>scroll left topic</entry>
</row>
<row>
<entry><literal>scroll_topic_right</literal></entry>
<entry>scroll right topic</entry>
</row>
<row>
<entry><literal>nick_beginning</literal></entry>
<entry>display beginning of nicklist</entry>
</row>
<row>
<entry><literal>nick_end</literal></entry>
<entry>display end of nicklist</entry>
</row>
<row>
<entry><literal>nick_page_up</literal></entry>
<entry>scroll nicklist one page up</entry>
</row>
<row>
<entry><literal>nick_page_down</literal></entry>
<entry>scroll nicklist one page down</entry>
</row>
<row>
<entry><literal>jump_smart</literal></entry>
<entry>jump to buffer with activity</entry>
</row>
<row>
<entry><literal>jump_dcc</literal></entry>
<entry>jump to DCC buffer</entry>
</row>
<row>
<entry><literal>jump_raw_data</literal></entry>
<entry>jump to raw IRC data buffer</entry>
</row>
<row>
<entry><literal>jump_last_buffer</literal></entry>
<entry>jump to last buffer</entry>
</row>
<row>
<entry><literal>jump_previous_buffer</literal></entry>
<entry>jump to previous buffer</entry>
</row>
<row>
<entry><literal>jump_server</literal></entry>
<entry>jump to server buffer</entry>
</row>
<row>
<entry><literal>jump_next_server</literal></entry>
<entry>jump to next server</entry>
</row>
<row>
<entry><literal>switch_server</literal></entry>
<entry>switch active server on servers buffer</entry>
</row>
<row>
<entry><literal>scroll_previous_highlight</literal></entry>
<entry>scroll to previous highlight in buffer</entry>
</row>
<row>
<entry><literal>scroll_next_highlight</literal></entry>
<entry>scroll to next highlight in buffer</entry>
</row>
<row>
<entry><literal>scroll_unread</literal></entry>
<entry>scroll to first unread line in buffer</entry>
</row>
<row>
<entry><literal>set_unread</literal></entry>
<entry>set unread marker on all buffers</entry>
</row>
<row>
<entry><literal>hotlist_clear</literal></entry>
<entry>clear hotlist</entry>
</row>
<row>
<entry><literal>infobar_clear</literal></entry>
<entry>clear infobar</entry>
</row>
<row>
<entry><literal>refresh</literal></entry>
<entry>refresh screen</entry>
</row>
<row>
<entry><literal>grab_key</literal></entry>
<entry>grab a key</entry>
</row>
<row>
<entry><literal>insert</literal></entry>
<entry>insert a string in command line</entry>
</row>
<row>
<entry><literal>search_text</literal></entry>
<entry>search text in buffer history</entry>
</row>
File diff suppressed because it is too large Load Diff
-279
View File
@@ -1,279 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- ********* WARNING! *********
This file is automatically built with a Perl script. DO NOT EDIT!
-->
<command>alias [alias_name [command [arguments]]]</command>
<programlisting>
create an alias for a command
alias_name: name of alias
command: command name (WeeChat or IRC command, many commands can be separated by semicolons)
arguments: arguments for command
</programlisting>
<command>is replaced by all arguments.</command>
<programlisting>Variables $nick, $channel and $server are replaced by current nick/channel/server.
</programlisting>
<command>buffer [action [args] | number | [[server] [channel]]]</command>
<programlisting>
manage buffers
action: action to do:
move: move buffer in the list (may be relative, for example -1)
close: close buffer (optional arg is part message, for a channel)
list: list open buffers (no parameter implies this list)
notify: set notify level for buffer (0=never, 1=highlight, 2=1+msg, 3=2+join/part)
(when executed on server buffer, this sets default notify level for whole server)
scroll: scroll in history (may be relative, and may end by a letter: s=sec, m=min, h=hour, d=day, M=month, y=year); if there is only letter, then scroll to beginning of this item
number: jump to buffer by number
server,
channel: jump to buffer by server and/or channel name
Examples:
move buffer: /buffer move 5
close buffer: /buffer close this is part msg
set notify: /buffer notify 2
scroll 1 day up: /buffer scroll 1d == /buffer scroll -1d == /buffer scroll -24h
scroll to beginning
of this day: /buffer scroll d
scroll 15 min down: /buffer scroll +15m
scroll 20 msgs up: /buffer scroll -20
jump to #weechat: /buffer #weechat
</programlisting>
<command>builtin command</command>
<programlisting>
launch WeeChat/IRC builtin command (do not look at plugins handlers or aliases)
command: command to execute (a '/' is automatically added if not found at beginning of command)
</programlisting>
<command>clear [-all | number [number ...]]</command>
<programlisting>
clear window(s)
-all: clear all buffers
number: clear buffer by number
</programlisting>
<command>connect [-all [-nojoin] | servername [servername ...] [-nojoin] | hostname [-port port] [-ipv6] [-ssl]]</command>
<programlisting>
connect to server(s)
-all: connect to all servers
servername: internal server name to connect
-nojoin: do not join any channel (even if autojoin is enabled on server)
hostname: hostname to connect, creating temporary server
port: port for server (integer, default is 6667)
ipv6: use IPv6 protocol
ssl: use SSL protocol
</programlisting>
<command>disconnect [-all | servername [servername ...]]</command>
<programlisting>
disconnect from server(s)
-all: disconnect from all servers
servername: server name to disconnect
</programlisting>
<command>dcc action [nickname [file]]</command>
<programlisting>
starts DCC (file or chat) or close chat
action: 'send' (file) or 'chat' or 'close' (chat)
nickname: nickname to send file or chat
file: filename (on local host)
</programlisting>
<command>debug dump | buffer | windows</command>
<programlisting>
print debug messages
dump: save memory dump in WeeChat log file (same dump is written when WeeChat crashes)
buffer: dump buffer content with hexadecimal values in log file
windows: display windows tree
</programlisting>
<command>help [command]</command>
<programlisting>
display help about commands
command: name of a WeeChat or IRC command
</programlisting>
<command>history [clear | value]</command>
<programlisting>
show buffer command history
clear: clear history
value: number of history entries to show
</programlisting>
<command>ignore [mask [[type | command] [channel [server]]]]</command>
<programlisting>
ignore IRC messages and/or hosts
mask: nick or host mask to ignore
type: type of message to ignore (action, ctcp, dcc, pv)
command: IRC command
channel: name of channel for ignore
server: name of server for ignore
For each argument, '*' means all.
Without argument, /ignore command lists all defined ignore.
</programlisting>
<command>key [key [function/command]] [unbind key] [functions] [call function ["args"]] [reset -yes]</command>
<programlisting>
bind/unbind keys
key: display or bind this key to an internal function or a command (beginning by "/")
unbind: unbind a key
functions: list internal functions for key bindings
call: call a function by name (with optional arguments)
reset: restore bindings to the default values and delete ALL personal bindings (use carefully!)
</programlisting>
<command>plugin [list [name]] | [listfull [name]] | [load filename] | [autoload] | [reload [name]] | [unload [name]]</command>
<programlisting>
list/load/unload plugins
list: list loaded plugins
listfull: list loaded plugins with detailed info for each plugin
load: load a plugin
autoload: autoload plugins in system or user directory
reload: reload one plugin (if no name given, unload all plugins, then autoload plugins)
unload: unload one or all plugins
Without argument, /plugin command lists loaded plugins.
</programlisting>
<command>reconnect [-all [-nojoin] | servername [servername ...] [-nojoin]]</command>
<programlisting>
reconnect to server(s)
-all: reconnect to all servers
servername: server name to reconnect
-nojoin: do not join any channel (even if autojoin is enabled on server)
</programlisting>
<command>save [file]</command>
<programlisting>
save config to disk
file: filename for writing config
</programlisting>
<command>server [list [servername]] | [listfull [servername]] | [add servername hostname [-port port] [-temp] [-auto | -noauto] [-ipv6] [-ssl] [-pwd password] [-nicks nick1 nick2 nick3] [-username username] [-realname realname] [-command command] [-autojoin channel[,channel]] ] | [copy servername newservername] | [rename servername newservername] | [keep servername] | [del servername]</command>
<programlisting>
list, add or remove servers
list: list servers (no parameter implies this list)
listfull: list servers with detailed info for each server
add: create a new server
servername: server name, for internal and display use
hostname: name or IP address of server
port: port for server (integer, default is 6667)
temp: create temporary server (not saved in config file)
auto: automatically connect to server when WeeChat starts
noauto: do not connect to server when WeeChat starts (default)
ipv6: use IPv6 protocol
ssl: use SSL protocol
password: password for server
nick1: first nick for server
nick2: alternate nick for server
nick3: second alternate nick for server
username: user name
realname: real name of user
copy: duplicate a server
rename: rename a server
keep: keep server in config file (for temporary servers only)
del: delete a server
deloutq: delete messages out queue for all servers (all messages WeeChat is currently sending)
</programlisting>
<command>set [option [ = value]]</command>
<programlisting>
set config options
option: name of an option (if name is full and no value is given, then help is displayed on option)
value: value for option
Option may be: servername.server_xxx where "servername" is an internal server name and "xxx" an option for this server.
</programlisting>
<command>setp [option [ = value]]</command>
<programlisting>
set plugin config options
option: name of a plugin option
value: value for option
Option is format: plugin.option, example: perl.myscript.item1
</programlisting>
<command>unalias alias_name</command>
<programlisting>
remove an alias
alias_name: name of alias to remove
</programlisting>
<command>unignore [number | [mask [[type | command] [channel [server]]]]]</command>
<programlisting>
unignore IRC messages and/or hosts
number: # of ignore to unignore (number is displayed by list of ignore)
mask: nick or host mask to unignore
type: type of message to unignore (action, ctcp, dcc, pv)
command: IRC command
channel: name of channel for unignore
server: name of server for unignore
For each argument, '*' means all.
Without argument, /unignore command lists all defined ignore.
</programlisting>
<command>upgrade [path_to_binary]</command>
<programlisting>
upgrade WeeChat without disconnecting from servers
path_to_binary: path to WeeChat binary (default is current binary)
This command run again a WeeChat binary, so it should have been compiled or installed with a package manager before running this command.
</programlisting>
<command>uptime [-o]</command>
<programlisting>
show WeeChat uptime
-o: send uptime on current channel as an IRC message
</programlisting>
<command>window [list | -1 | +1 | b# | up | down | left | right | splith [pct] | splitv [pct] | resize pct | merge [all]]</command>
<programlisting>
manage windows
list: list open windows (no parameter implies this list)
-1: jump to previous window
+1: jump to next window
b#: jump to next window displaying buffer number #
up: switch to window above current one
down: switch to window below current one
left: switch to window on the left
right: switch to window on the right
splith: split current window horizontally
splitv: split current window vertically
resize: resize window size, new size is &lt;pct&gt; pourcentage of parent window
merge: merge window with another (all = keep only one window)
For splith and splitv, pct is a pourcentage which represents size of new window, computed with current window as size reference. For example 25 means create a new window with size = current_size / 4
</programlisting>
+326
View File
@@ -0,0 +1,326 @@
WeeChat FAQ (Frequently Asked Questions)
========================================
FlashCode <flashcode@flashtux.org>
General
-------
[[why_choose_weechat]]
Why choose WeeChat? X-Chat and Irssi are so good...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Because WeeChat is very light and has new features.
Some features (version > = 0.3.x):
* multi-protocol support via plugins (IRC, Jabber)
* many remote GUI's in addition to Curses (coming soon)
* available in many languages
* extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl)
* buffers with free content
* display filtering by tags and regular expressions
* horizontal and vertical window split
* customizable and extensible bars
* nicklist available in all GUI's
* incremental text search in buffers, jump to highlights
* FIFO pipe for remote control
* aspell support
* double charset (encoding/decoding)
* developed from scratch (not based on any other client)
* multi-platform
* 100% GPL and free
More info on this page:
http://weechat.flashtux.org/features.php
Compilation / install
---------------------
[[gui]]
I heard about many GUI's for WeeChat. How can I compile/use them?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Today only a Curses GUI is available.
Other GUI's will be available as remote clients (currently under development).
[[compile_git]]
I can't compile WeeChat after cloning git repository, why?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The recommended way to compile WeeChat is with cmake.
If you're compiling with autotools (and not cmake), check that you have latest
version of autoconf and automake (WeeChat is developed with autoconf 2.61 and
automake 1.10.1).
The other way is to install "devel package", which needs less dependencies.
This package is built almost every day using git repository. Note that this
package may not correspond exactly to git base and that it's less convenient
than git cloning for installing updates.
Using WeeChat
-------------
[[lost]]
I've launched WeeChat, but I'm lost, what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For help you can type `/help`. For help about a command, type `/help command`.
Keys and commands are listed in documentation.
It's recommended for new users to read the quickstart guide (see the doc page
on the website).
[[buffer_vs_window]]
I heard about "buffers" and "windows", what's the difference?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A 'buffer' is composed by a number, a name, lines displayed (and some other
data).
A 'window' is a screen area which displays a buffer. It is possible to split
your screen into many windows.
Each window displays one buffer. A buffer can be hidden (not displayed by a
window) or displayed by one or more windows.
[[charset]]
I don't see some chars with accents, what can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For versions < 0.2.3, please upgrade to the latest stable version.
For versions > = 0.2.3:
* check that weechat-curses is linked to libncursesw (warning: needed on most
distributions but not all): `ldd /path/to/weechat-curses`
* check that the "Charset" plugin is loaded with `/plugin` command (if it is
not, then you probably need the "weechat-plugins" package)
* check the charset line (on server buffer). You should see 'ISO-XXXXXX' or
'UTF-8' for terminal charset. If you see 'ANSI_X3.4-1968' or other values,
your locale is probably wrong.
* setup global decode value, for example:
** with WeeChat < = 0.2.6: `/setp charset.global.decode = ISO-8859-15`
** with WeeChat > = 0.3.x: `/set charset.default.decode "ISO-8859-15"`
* if you are using UTF-8 locale:
** check that your terminal is UTF-8 ready (terminal recommended for UTF-8 is
rxvt-unicode)
** if you are using screen, check that it is run with UTF-8 mode
("`defutf8 on`" in ~/.screenrc or `screen -U` to run screen)
[NOTE]
UTF-8 locale is recommended for WeeChat. If you're using ISO or other
locale, please check that *all* your settings (terminal, screen, ..) are ISO
and *not* UTF-8.
[[bars_background]]
Bars like title and status are not filled, background color stops after text, why?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This may be caused by a bad value of the TERM variable in your shell (look at
output of `echo $TERM` in your terminal).
Depending on where you launch WeeChat, you should have:
* if WeeChat runs locally or on a remote machine without screen, it depends on
the terminal used: 'xterm', 'rxvt', ..
* if WeeChat runs under screen, you should have 'screen'.
If needed, fix your TERM variable: `export TERM="xxx"`.
[[screen_weird_chars]]
When I'm using weechat under screen, I have weird random chars, how do I fix that?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
This may be caused by bad value of the TERM variable in your shell (look at
output of `echo $TERM` in your terminal).
For example, 'xterm-color' may display such weird chars, you can use 'xterm'
which is ok (like many other values).
If needed, fix your TERM variable: `export TERM="xxx"`.
[[key_bindings]]
How can I customize key bindings?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Key bindings are customizable with /key command.
Default key Meta-k (usually Alt-k) lets you grab key code and insert it in
command line.
[[openbsd_plugins]]
I'm using OpenBSD and WeeChat does not load any plugins, what's wrong?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Under OpenBSD, plugin filenames end with ".so.0.0" (".so" for Linux).
You must set that up:
* with WeeChat < = 0.2.6: `/set plugins_extension = ".so.0.0"`
* with WeeChat > = 0.3.x: `/set weechat.plugin.extension ".so.0.0"`
Then: `/plugin autoload`.
[[scripts]]
How can I load Perl/Python/Ruby/Lua/Tcl scripts? Are scripts compatible with other IRC clients?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can use the commands `/perl`, `/python`, `/ruby`, `/lua` and `/tcl` to load
scripts (default path for scripts is '~/.weechat/<language>/').
Scripts are not compatible with other IRC clients.
Notes:
* scripts in '~/.weechat/<language>/autoload/' are automatically loaded when
WeeChat is starting up.
* a 'tcl' plugin is available with version > = 0.3.x.
[[change_locale_without_quit]]
I want to change the language used by WeeChat for messages, but without exiting WeeChat, is it possible?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Yes, you have to use a python script, shell.py (available on WeeChat website)
and issue these commands when script is loaded:
/shell setenv LANG=en_US.UTF-8
/upgrade
To have english messages with UTF-8 encoding for terminal, for ISO users, you
can issue: `/shell setenv LANG=en_US`.
[[terminal_copy_paste]]
With the Curses GUI, how can I copy/paste text without pasting nicklist?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can use a terminal with rectangular selection (like rxvt-unicode,
konsole, ...). Key is usually ctrl + alt + mouse selection.
Another solution is to move nicklist to top or bottom, for example:
* with WeeChat < = 0.2.6: `set look_nicklist_position = top`
* with WeeChat > = 0.3.x: `/bar set nicklist position top`
[[highlight_notification]]
How can I be warned when someone highlights me on a channel?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can use the script 'sound.pl' (available on scripts page), and then setup a
system command (to play sound, display message, ..) with this command:
* with WeeChat < = 0.2.6:
`/setp perl.sound.cmd_highlight = "/path/command arguments"`
* with WeeChat > = 0.3.x:
`/set plugins.var.perl.sound.cmd_highlight "/path/command arguments"`
Many other scripts exist for notification, please look at plugins/scripts page:
http://weechat.flashtux.org/plugins.php
[[filter_irc_join_part_quit]]
How can I filter join/part/quit messages on IRC channels?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
According to WeeChat version:
* with WeeChat < = 0.2.6: +
`/ignore * join #weechat freenode` +
`/ignore * part #weechat freenode` +
`/ignore * quit #weechat freenode` +
(channel and/or server may be "*", `/help ignore` for help)
* with WeeChat > = 0.3.x:
** smart filter (keep join/part/quit from users who spoke recently): +
`/set irc.look.smart_filter on` +
`/filter add irc_smart * irc_smart_filter *` +
(`/help irc.look.smart_filter` and `/help filter` for help)
** global filter (hide *all* join/part/quit): +
`/filter add jpk * irc_join,irc_part,irc_quit *` +
(`/help filter` for help)
[[ignore_vs_filter]]
What is the difference between the /ignore and /filter commands?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The `/ignore` command is an IRC command, so it applies only for IRC buffers
(servers and channels).
It lets you ignore some nicks or hostnames of users for a server or channel
(command will not apply on content of messages).
Matching messages are deleted by IRC plugin before display (so you'll
never see them).
The `/filter` command is a core command, so it applies to any buffer.
It lets you filter some lines in buffers with tags or regular expression for
prefix and content of line.
Filtered lines are only hidden, not deleted, and you can see them if you
disable filters (by default, the key alt + "=" toggles filters).
Development
-----------
[[bug_task_patch]]
How should I report bugs, ask for new features or send patches?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are 3 ways:
. you can join us on IRC: 'irc.freenode.net', channel '#weechat'
. you can use the savannah website:
* report a bug: https://savannah.nongnu.org/bugs/?group=weechat
* request a new feature: https://savannah.nongnu.org/task/?group=weechat
* send a patch: https://savannah.nongnu.org/patch/?group=weechat
. you can mail developers, look at support page for developer's mails:
http://weechat.flashtux.org/support.php
(you can subscribe and send to "support" mailing list)
[[supported_os]]
What is the list of supported platforms for WeeChat? Will it be ported to other operating systems?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The full list is on this page:
http://weechat.flashtux.org/download.php?view=supported_os
We do our best to run on as many platforms as possible. Help is welcome for
some OS' we don't have, to test WeeChat.
[[help_developers]]
I want to help WeeChat developers. What can I do?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There's many tasks to do (testing, code, documentation, ...)
Please contact us via IRC or mail, look at support page:
http://weechat.flashtux.org/support.php
[[donate]]
Can I give money or other things to WeeChat developers?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can give us money to help development.
Details on http://weechat.flashtux.org/donate.php

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