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

Compare commits

...

1096 Commits

Author SHA1 Message Date
Sébastien Helleu 5523d9c025 Version 1.1-rc1 2014-12-21 13:05:19 +01:00
Sébastien Helleu adb4d0debd irc: add option "reorder" in command /server (closes #229) 2014-12-21 11:12:32 +01:00
Mikaela Suomalainen afce3a6427 core: replace irc.freenode.net by chat.freenode.net
Freenode wants people to use chat.freenode.net instead of
irc.freenode.net which is alias to chat.freenode.net.
2014-12-21 09:20:26 +01:00
Sébastien Helleu 0b2be21f1f core: fully evaluate commands bound to keys in cursor and mouse contexts 2014-12-20 08:07:13 +01:00
Nils Görs 280784dcdd Merge branch 'master' of https://github.com/weechat/weechat 2014-12-15 20:39:47 +01:00
Nils Görs ffb3c4bd0a core: update German translations 2014-12-15 20:38:35 +01:00
Sébastien Helleu 1c3ee27c46 doc: remove SASL mechanism "dh-blowfish" from docs 2014-12-15 07:43:13 +01:00
Sébastien Helleu 02439b0182 Merge pull request #278 from l/translation_ja
core: update Japanese translations
2014-12-15 07:39:35 +01:00
AYANOKOUZI, Ryuunosuke 040d92f5b9 core: update Japanese translations 2014-12-15 14:48:34 +09:00
Sébastien Helleu 624083f41a irc: open channel buffers before the JOIN is received from server (autojoin and manual joins) (closes #216)
New options:
- irc.look.buffer_open_before_autojoin
- irc.look.buffer_open_before_join
2014-12-14 20:23:45 +01:00
Sébastien Helleu 8d3a55c6be irc: rename argument with new server name in function irc_server_rename() 2014-12-14 13:01:40 +01:00
Sébastien Helleu 27817908f4 core: add flag -L for curl (Travis CI) 2014-12-13 17:27:55 +01:00
Sébastien Helleu 872f531fe4 core: replace wget by curl (Travis CI) 2014-12-13 09:54:16 +01:00
Sébastien Helleu 9618e29d43 doc: update URL to WeeChat debian repositories (tester's guide) 2014-12-13 09:26:55 +01:00
Sébastien Helleu 0cd2aff765 core: use https for WeeChat URLs 2014-12-13 09:16:09 +01:00
Sébastien Helleu 7818e08964 tests: fix compilation of tests with clang (closes #275) 2014-12-10 21:15:40 +01:00
Sébastien Helleu 1f1611c916 relay: wait for message CAP END before sending join of channels and backlog to the client (closes #223) 2014-12-07 19:14:37 +01:00
Sébastien Helleu 72e6b3d703 core: split info/infolist callbacks 2014-12-05 07:49:45 +01:00
Sébastien Helleu e9f367b7e7 irc: split info/infolist callbacks 2014-12-04 07:40:35 +01:00
Sébastien Helleu bd59c587d8 xfer: rename callback for infolist "xfer" 2014-12-03 07:37:16 +01:00
Sébastien Helleu a697dfcc4d relay: rename info/infolist callbacks 2014-12-02 07:37:36 +01:00
Sébastien Helleu 9e8a6d1e20 script: rename callback for infolist "script_script" 2014-12-01 07:50:11 +01:00
Sébastien Helleu 01c6fb5566 logger: rename callback for infolist "logger_buffer" 2014-11-30 08:59:27 +01:00
Sébastien Helleu fa5d9bb564 fifo: rename callback for info "fifo_filename" 2014-11-29 09:43:20 +01:00
Sébastien Helleu c357408c2c aspell: rename callback for info "aspell_dict" 2014-11-28 07:54:23 +01:00
Sébastien Helleu cb60cf9640 alias: rename callback for infolist "alias" 2014-11-27 19:31:49 +01:00
Sébastien Helleu afef4b0d8a irc: add missing server options "sasl_timeout", "sasl_fail" and "notify" in output of /server listfull 2014-11-23 15:09:59 +01:00
Nils Görs c2dc541d0d core: update German translations 2014-11-23 12:18:12 +01:00
Sébastien Helleu 173b4c9749 irc: remove unused variable 2014-11-23 10:47:55 +01:00
Sébastien Helleu 7aa7098297 core: update ChangeLog (closes #265, task #12204) 2014-11-23 10:43:54 +01:00
Sébastien Helleu c48a5896af core: update translations 2014-11-23 10:40:32 +01:00
Sébastien Helleu 4f4045fb84 irc: rename server option "sasl_disconnect_on_fail" to "sasl_fail", change type to integer (enum)
New possible values are:
- "continue": ignore the SASL failed (continue connection to server
  without authentication)
- "reconnect": disconnect and schedule a reconnection to server
- "disconnect": disconnect
2014-11-23 10:38:09 +01:00
Sébastien Helleu 570beab90a irc: merge arrays with server options names and default values into a single array 2014-11-23 09:30:26 +01:00
Sébastien Helleu 4dd5125054 Merge branch 'feature/sasl_disconnect_on_fail' of git://github.com/maxteufel/weechat into maxteufel-feature/sasl_disconnect_on_fail 2014-11-23 08:54:59 +01:00
Sébastien Helleu b460055f78 tests: add tests of regex replace with empty regex or regex_replace 2014-11-23 08:32:52 +01:00
Sébastien Helleu ae013b7881 core: fix regex replace in eval_expression when regex or regex_replace is empty 2014-11-23 08:31:29 +01:00
Sébastien Helleu 3fac3b1bf9 api: fix truncated process output in hook_process() (closes #266) 2014-11-22 19:33:48 +01:00
Max Teufel 78234956b0 irc: add option irc.server.*.sasl_disconnect_on_fail (task #12204) 2014-11-22 13:44:44 +01:00
Sébastien Helleu 81e337645c core: fix Lua detection on FreeBSD with cmake 2014-11-22 11:23:01 +01:00
Sébastien Helleu 5f75dc26fd doc: update Japanese auto-generated files 2014-11-22 11:22:40 +01:00
Sébastien Helleu 793780e043 Merge pull request #264 from l/translation_ja
core: update Japanese translations
2014-11-22 11:21:05 +01:00
Max Teufel e460d48d48 irc: handle ERR_NICKLOCKED (902) 2014-11-22 09:35:59 +01:00
AYANOKOUZI, Ryuunosuke 57f8383190 core: update Japanese translations 2014-11-22 17:27:32 +09:00
Sébastien Helleu 3890f6cb0b core: add parentheses after function names in ChangeLog 2014-11-22 08:37:04 +01:00
Sébastien Helleu 1ef3237b6b api: return value in function command(), remove WeeChat error after command callback if return code is WEECHAT_RC_ERROR 2014-11-22 08:14:29 +01:00
Sébastien Helleu e253a2509a tests: add hashtable tests with multiple items giving same hashed key 2014-11-18 20:12:25 +01:00
Sébastien Helleu debfb57d0f relay: send messages "_buffer_localvar_*" and "_buffer_type_changed" with sync "buffers" (closes #191) 2014-11-16 10:53:55 +01:00
Nils Görs 9e3fd56fd8 doc: update German documentation 2014-11-16 09:16:18 +01:00
Sébastien Helleu 12c997573b core: fix display bug when scrolling in buffer on a filtered line (closes #240) 2014-11-16 08:52:33 +01:00
Sébastien Helleu 0f8520456b doc: update German auto-generated files 2014-11-15 21:41:48 +01:00
Nils Görs 64ea20fe8c core: update German translations 2014-11-15 21:21:27 +01:00
Sébastien Helleu 786999b4a3 script: add option script.scripts.url_force_https (closes #253) 2014-11-15 18:28:34 +01:00
Sébastien Helleu bc3c81ee4f doc: update German auto-generated files 2014-11-15 18:25:16 +01:00
Sébastien Helleu 229a6c6342 doc: update auto-generated files with URL options 2014-11-15 18:24:50 +01:00
Sébastien Helleu 91140b2ebc core: add constant for libcurl >= 7.38.0 2014-11-15 15:58:57 +01:00
Sébastien Helleu cf9e8d140a core: regroup libcurl constants/options by version 2014-11-15 15:49:21 +01:00
Sébastien Helleu c58a195590 core: add debug message in hook_process when core debug >= 1 2014-11-15 10:53:57 +01:00
Sébastien Helleu 66cacdc7dc doc: fix docstrings of functions 2014-11-12 20:01:02 +01:00
Nils Görs 8b4e5a89b1 core: update German translations 2014-11-11 18:01:36 +01:00
Sébastien Helleu 55712b91cb doc: add IRC color codes 16-99 in user's guide 2014-11-11 11:17:50 +01:00
Sébastien Helleu 6f5f6da0eb irc: add infolist "irc_color_weechat" 2014-11-11 11:17:50 +01:00
Sébastien Helleu 9be4bc07b9 irc: add support for color codes 16-99 in IRC messages (closes #228) (patch from Nei) 2014-11-11 11:16:56 +01:00
Sébastien Helleu 76d2e72ed2 doc: update Japanese auto-generated files 2014-11-10 07:43:52 +01:00
Sébastien Helleu f16ab3bb67 Merge pull request #252 from l/translation_ja
core: update Japanese translations
2014-11-10 07:41:08 +01:00
AYANOKOUZI, Ryuunosuke cb662377fe core: update Japanese translations 2014-11-10 06:35:16 +09:00
Sébastien Helleu f9401f5858 core: update ChangeLog 2014-11-09 17:39:56 +01:00
Sébastien Helleu a999c8a4c7 core: update translations 2014-11-09 17:35:35 +01:00
Sébastien Helleu 2d48964463 xfer: fix code style 2014-11-09 17:35:23 +01:00
Sébastien Helleu 037bf70817 Merge branch 'xfer_chat' of git://github.com/talisein/weechat-1 into talisein-xfer_chat 2014-11-09 17:10:30 +01:00
Sébastien Helleu 8cd3360a9a core: update ChangeLog 2014-11-09 16:31:20 +01:00
Sébastien Helleu 33a6469359 xfer: fix comments 2014-11-09 16:31:09 +01:00
Sébastien Helleu 58f001931b core: update translations 2014-11-09 16:24:34 +01:00
Sébastien Helleu aa7c936cfc xfer: return 0/1 instead of WEECHAT_RC_OK/ERROR in function xfer_resolve_addr 2014-11-09 16:21:24 +01:00
Sébastien Helleu 52c09f0f7a Merge branch 'xfer_wildcard' of git://github.com/talisein/weechat-1 into talisein-xfer_wildcard 2014-11-09 16:02:43 +01:00
Sébastien Helleu e457aa0855 doc: update German auto-generated files 2014-11-09 15:36:59 +01:00
Nils Görs e34f07d8e1 core: update German translations 2014-11-09 15:31:43 +01:00
Sébastien Helleu af0397fb87 core: add option weechat.completion.command_inline (task #12491) 2014-11-09 12:29:41 +01:00
Nils Görs 5bfd710e62 doc: update German documentation 2014-11-08 14:56:21 +01:00
Sébastien Helleu 2f7dbd746e core: add Travis CI builds with Python 3 and without GnuTLS 2014-11-08 14:02:30 +01:00
Sébastien Helleu cde0aa2a4d doc: add list of bar items not used in bars by default (user's guide) 2014-11-08 10:54:32 +01:00
Sébastien Helleu 524d66d624 doc: update German auto-generated files 2014-11-07 07:37:10 +01:00
Sébastien Helleu 2b84b771fb python: remove comment added by mistake 2014-11-07 07:31:58 +01:00
Nils Görs 7aee7d863c core: update German translations 2014-11-06 21:44:57 +01:00
Sébastien Helleu d6a33fb0a6 core: update ChangeLog 2014-11-06 20:25:56 +01:00
Sébastien Helleu 5882fe6abd core: update translations 2014-11-06 20:23:56 +01:00
Nils Görs ee7c280d7e core: add bar item "mouse_status", new options weechat.look.item_mouse_status and weechat.color.status_mouse 2014-11-06 08:06:00 +01:00
Sébastien Helleu 7baec91874 doc: add "beep" trigger in question about highlights (FAQ) 2014-11-05 07:41:35 +01:00
Sébastien Helleu d9a49db454 irc: use option irc.look.nick_mode_empty to display nick prefix in bar item "input_prompt" 2014-11-04 21:00:25 +01:00
Sébastien Helleu 96325f913d irc: disable SSLv3 by default in server option "ssl_priorities" (closes #248) 2014-11-04 20:55:01 +01:00
Sébastien Helleu cdca3094ec relay: disable SSLv3 by default
The new default value for option relay.network.ssl_priorities is now
"NORMAL:-VERS-SSL3.0".
2014-11-04 20:53:04 +01:00
Sébastien Helleu 0d1abd3899 tests: add tests of functions string_shared_get and string_shared_free 2014-11-03 20:52:02 +01:00
Sébastien Helleu e85ae88b25 relay: don't remove relay from config when the binding fails (closes #225), add options "stop" and "restart" in command /relay 2014-11-02 11:16:39 +01:00
Sébastien Helleu a2c7420262 core: send mouse code only one time after delay with command /mouse enable|disable|toggle <delay> 2014-11-01 23:00:30 +01:00
Sébastien Helleu a834c438c6 core: add signals "mouse_enabled" and "mouse_disabled" (closes #244) 2014-11-01 22:40:29 +01:00
Sébastien Helleu 1a3051188c core: send mouse code only one time to terminal with command /mouse enable|disable|toggle 2014-11-01 22:32:57 +01:00
Sébastien Helleu 14edef2a4d doc: update German auto-generated files 2014-11-01 22:12:41 +01:00
Nils Görs 77d6f0d08e doc: update German documentation 2014-11-01 21:23:12 +01:00
Sébastien Helleu e0810ae6d5 trigger: fix trigger example "effects" in /help trigger (update regex to new format) 2014-11-01 20:34:52 +01:00
Sébastien Helleu de067ff6a0 irc: reformat some code to make it more readable 2014-11-01 17:59:02 +01:00
Sébastien Helleu 25c775d850 doc: update German auto-generated files 2014-11-01 17:56:31 +01:00
Sébastien Helleu 218a3f5dfd core: add issue #143 in ChangeLog 2014-11-01 17:55:45 +01:00
Nils Görs 8f21f6bd33 doc: update German documentation 2014-11-01 16:39:47 +01:00
Nils Görs 3d3f9bb9d5 core: update German translations 2014-11-01 15:35:40 +01:00
Sébastien Helleu 5af886d205 irc: add "extended-join" in help of server option "capabilities" 2014-11-01 15:13:41 +01:00
Sébastien Helleu fc94bf8743 core: update ChangeLog 2014-11-01 15:11:03 +01:00
Sébastien Helleu 5d46c5ef16 core: update translations 2014-11-01 15:09:49 +01:00
Sébastien Helleu b5524cee53 irc: fix display of "(null)" as real name when it is missing in extended-join 2014-11-01 15:08:34 +01:00
Max Teufel aa2934c3d9 irc: add support for CAP extended-join 2014-11-01 14:05:46 +01:00
Sébastien Helleu 886dd7d452 core: update ChangeLog 2014-11-01 12:07:38 +01:00
Sébastien Helleu 483a464b55 core: update translations 2014-11-01 11:59:37 +01:00
Sébastien Helleu ad389153e1 irc: fix display of channel exception list (348) with 6 arguments (date missing) 2014-11-01 11:54:51 +01:00
Sébastien Helleu b1caceb6e5 irc: add argument "server_message" in function irc_nick_color_for_msg 2014-11-01 11:40:21 +01:00
Sébastien Helleu 0d1bfb4dc5 Merge branch 'master+irc_protocol_nick_address' of git://github.com/maxteufel/weechat into maxteufel-master+irc_protocol_nick_address 2014-11-01 10:30:58 +01:00
Sébastien Helleu 24c4c04741 core: fix buffer property "lines_hidden" when merging buffers or when a line is removed from a buffer (closes #226) 2014-11-01 10:23:33 +01:00
Sébastien Helleu 3d4c4aac9b doc: minor changes in developer's guide 2014-11-01 10:14:32 +01:00
Sébastien Helleu 013165209a irc: remove IRC color codes from buffer title in channels (closes #237) 2014-10-31 07:48:46 +01:00
Sébastien Helleu 3d791fb806 doc: update German auto-generated files 2014-10-31 07:33:11 +01:00
Nils Görs 3e22a91b70 core: update German translations 2014-10-31 06:53:33 +01:00
Sébastien Helleu 4cda9a5105 core: fix typo in French translation of /help connect 2014-10-30 07:42:13 +01:00
Sébastien Helleu 670e4d7e78 core: fix table layout in release notes 2014-10-29 21:08:22 +01:00
Sébastien Helleu f804484b06 doc: fix typos in French docs 2014-10-29 07:36:27 +01:00
Sébastien Helleu 593fe4bdd0 doc: fix missing French translation in man page 2014-10-28 07:41:29 +01:00
Sébastien Helleu 25f8a629f6 core: fix typos in release notes 2014-10-27 07:32:04 +01:00
Sébastien Helleu 3accbd639f irc: automatically add current channel in command /samode (closes #241) 2014-10-26 19:24:52 +01:00
Sébastien Helleu f2f5d83abe core: replace package libgnutls28-dev by libgnutls-dev (Travis CI) 2014-10-26 18:50:43 +01:00
Sébastien Helleu 5ff0efc3f5 core: replace package libgcrypt20-dev by libgcrypt11-dev (Travis CI) 2014-10-26 18:45:56 +01:00
Sébastien Helleu d8893f29e7 core: fix installation of required packages (Travis CI) 2014-10-26 18:42:04 +01:00
Sébastien Helleu 2fb2d7a854 core: display libs used when running WeeChat in Travis 2014-10-26 18:22:49 +01:00
Sébastien Helleu 134a5f53d4 relay: add option relay.network.ssl_priorities (closes #234) 2014-10-26 18:03:47 +01:00
Sébastien Helleu a092e72731 core: add note about option weechat.look.color_nick_offline in help of color options for offline nick 2014-10-26 13:13:17 +01:00
Sébastien Helleu 125adea650 trigger: fix memory leak when allocating a new trigger with several regex 2014-10-26 12:32:29 +01:00
Sébastien Helleu 3f5a810254 trigger: evaluate and replace regex groups at same time, new format for regex option in triggers (incompatible with version 1.0) (closes #224) 2014-10-26 12:30:13 +01:00
Sébastien Helleu a012eefb77 doc: update auto-generated files 2014-10-25 09:44:04 +02:00
Nils Görs 66dab8560c core: update German translations 2014-10-25 08:38:35 +02:00
Sébastien Helleu 4d67359519 Merge pull request #239 from l/translation_ja
core: update Japanese translations
2014-10-25 08:17:30 +02:00
AYANOKOUZI, Ryuunosuke 5a7d437d86 core: update Japanese translations 2014-10-25 09:39:37 +09:00
Sébastien Helleu 65d15042d3 api: fix crash when reading config options with NULL value (closes #238) 2014-10-23 21:53:35 +02:00
Sébastien Helleu 2498ff63db core: display time in bare display only if option weechat.look.buffer_time_format is not an empty string 2014-10-22 21:35:33 +02:00
Sébastien Helleu 633a32ccd3 api: add regex replace feature in function string_eval_expression 2014-10-22 21:19:54 +02:00
Sébastien Helleu 972bd26e5e core: call "callback_free" in functions arraylist_{remove|clear|free}
This fixes a memory leak in completions which are using this callback
to free words in the completion list.
2014-10-17 07:55:21 +02:00
Sébastien Helleu 413f60ff30 core: fix memory leak in completion 2014-10-16 20:47:31 +02:00
Sébastien Helleu 5f98f20c94 tests: fix memory leak in hashtable tests 2014-10-16 20:46:31 +02:00
Sébastien Helleu f62f759c3d core: add hide of chars in string in evaluation of expressions
The syntax is: ${hide:char,string}.
All chars in string are replaced with char (which can be one or more chars).
2014-10-16 20:46:06 +02:00
Sébastien Helleu 9d849db85a core: move default prefix/suffix for evaluation in wee-eval.h 2014-10-12 18:22:02 +02:00
Sébastien Helleu 45a0bfe1b3 tests: add test of function string_split_shell with an empty string 2014-10-12 18:09:57 +02:00
Sébastien Helleu 9249738582 tests: add extra check of argv pointer in test of string_split functions 2014-10-12 18:09:04 +02:00
Sébastien Helleu 8b23106145 tests: initialize argc to -1 instead of 1 before some tests 2014-10-12 18:07:53 +02:00
Sébastien Helleu 5014231818 tests: add some tests on function eval_expression 2014-10-12 17:58:13 +02:00
Sébastien Helleu b8b5cd26bc core: remove extra spaces in a comment 2014-10-12 12:02:41 +02:00
Sébastien Helleu b86bcc7ad3 core: fix .mailmap entries for myself 2014-10-11 17:05:26 +02:00
Sébastien Helleu 1dcea6c7ce core: add a .mailmap file
This file is used for example by command "git shortlog", to prevent duplicate
committers.
2014-10-11 16:49:35 +02:00
Sébastien Helleu 2867996d1f core: fix search/insert of elements in sorted arraylist with duplicates
The pointer and index returned is now the first element found with the value
(with the lower index if there are many elements with same value).
And the index for insert is the last element with same value + 1
(the higher index + 1).
2014-10-11 15:47:09 +02:00
Sébastien Helleu 7b23f008a6 core: add contributor in AUTHORS.asciidoc 2014-10-09 21:32:36 +02:00
Sébastien Helleu d1195bdd00 core: update ChangeLog 2014-10-09 21:32:36 +02:00
nyuszika7h 9eb6b189da irc: add tag "nick_xxx" in invite messages 2014-10-09 21:32:27 +02:00
Sébastien Helleu a06be57eb7 irc: fix completion of commands /msg, /notice and /query 2014-10-09 21:20:43 +02:00
Sébastien Helleu 1bda9f1077 relay: use comma separator in option relay.irc.backlog_tags, check the value of option when it is changed with /set 2014-10-08 22:25:35 +02:00
Sébastien Helleu 64348fbd6e relay: add host in sender for IRC backlog PRIVMSG messages sent to clients 2014-10-08 22:15:23 +02:00
Sébastien Helleu e59e502450 core: update ChangeLog (add arraylists) 2014-10-05 09:48:46 +02:00
Sébastien Helleu 652b91c007 doc: update auto-generated files with hdata 2014-10-05 09:38:27 +02:00
Sébastien Helleu 71425bddfb doc: add file "wee-arraylist.c" in developer's guide 2014-10-05 08:48:23 +02:00
Sébastien Helleu f53baf628e Merge branch 'arraylist' 2014-10-05 08:35:17 +02:00
Sébastien Helleu c6eb5e6b12 Merge pull request #222 from l/translation_ja
core: update Japanese translations
2014-10-04 15:02:21 +02:00
AYANOKOUZI, Ryuunosuke b43cd293f2 core: update Japanese translations 2014-10-04 21:44:26 +09:00
Sébastien Helleu 8b17e2a9d3 core: add note about security issues and translations in Contributing.asciidoc 2014-10-04 09:50:13 +02:00
Sébastien Helleu d426ec2d84 doc: update Japanese auto-generated files 2014-10-04 08:19:10 +02:00
Sébastien Helleu 0331591fdd Merge pull request #221 from l/translation_ja
core: update Japanese translations
2014-10-04 08:18:01 +02:00
AYANOKOUZI, Ryuunosuke a89582df6f core: update Japanese translations 2014-10-04 12:02:25 +09:00
Sébastien Helleu b79d63f4ac core: add pkg-config dependency for Cygwin packaging 2014-10-03 23:48:10 +02:00
Sébastien Helleu 60bfb73de5 core: fix Lua detection on Cygwin with cmake 2014-10-03 23:47:26 +02:00
Sébastien Helleu 3a80f0479e core: fix Lua detection on OpenBSD with cmake 2014-10-03 23:33:54 +02:00
Sébastien Helleu aa5d1738f2 core: update ChangeLog (add detection of Lua 5.2) 2014-10-03 22:48:13 +02:00
Sébastien Helleu 2411261536 doc: add pkg-config dependency in user's guide 2014-10-03 22:39:09 +02:00
Sébastien Helleu ea3792878f doc: remove tag "translation missing" in French user's guide 2014-10-03 22:38:32 +02:00
Sébastien Helleu 4ae24e1928 doc: update Lua version in dependencies (user's guide) 2014-10-03 22:38:15 +02:00
Sébastien Helleu 7a3f146845 core: add detection of Lua 5.2 with autotools 2014-10-03 22:31:09 +02:00
Sébastien Helleu b51edca846 core: use pkg-config to find Lua lib/headers with cmake, detection of Lua 5.2 2014-10-03 22:31:02 +02:00
Sébastien Helleu 57104a0c6d doc: fix libs versions in dependencies (user's guide) 2014-10-03 22:16:30 +02:00
Sébastien Helleu 18c9ca8501 doc: add a link to dependencies in prerequisites chapter (user's guide) 2014-10-02 20:23:54 +02:00
Sébastien Helleu 4d0a9d5b4c core: remove sort on configuration files and sections
The sort was causing bugs because some options were missing while reading
other options, so the order of sections is important, they must not be
sorted.

This is a partial revert of commit 56f099bec6.
2014-09-29 20:35:25 +02:00
Sébastien Helleu cff9d718e7 doc: update German auto-generated files 2014-09-29 20:27:57 +02:00
Sébastien Helleu 6e770b9625 trigger: fix typo in default conditions of "beep" trigger 2014-09-28 16:05:19 +02:00
Sébastien Helleu cd7e7b479d core: fix asciidoc style in ChangeLog 2014-09-28 15:39:47 +02:00
Sébastien Helleu 89c2187024 trigger: add "${tg_displayed}" in conditions of default trigger "beep"
The command of "beep" trigger is now executed only if the message is
displayed (not filtered with /filter).
2014-09-28 15:34:42 +02:00
Sébastien Helleu 0462aec0b4 doc: fix default bar items in status and input bars (user's guide) 2014-09-28 15:24:47 +02:00
Sébastien Helleu 818476c2c4 core: move bar item "scroll" between buffer name and lag in default bar items of status bar 2014-09-28 15:16:20 +02:00
Sébastien Helleu 8feb587c30 core: add contributor in AUTHORS.asciidoc 2014-09-28 15:06:28 +02:00
Sébastien Helleu ab9e9ab4e7 core: update ChangeLog (closes #217) 2014-09-28 15:05:37 +02:00
Tim D. Smith 9fe0aabb38 core: use HINTS for introspected values in Python detection 2014-09-28 15:00:32 +02:00
Sébastien Helleu 0f9a254239 core: update ChangeLog (closes #111) 2014-09-28 14:51:51 +02:00
Sébastien Helleu f48dd3bbc8 core: update ChangeLog and release notes 2014-09-28 14:49:39 +02:00
Sébastien Helleu 69a0b8ecf5 relay: add quotes in comment 2014-09-28 14:45:57 +02:00
Anders Bergh 85339f6083 relay: don't print ::ffff: in v4-mapped addresses. 2014-09-28 14:45:57 +02:00
Sébastien Helleu 9aee60bd89 core: add release notes of version 1.0.1 2014-09-28 14:45:57 +02:00
Sébastien Helleu 1b94010f54 core: add ChangeLog of version 1.0.1 2014-09-28 09:38:42 +02:00
Sébastien Helleu 08d2b9aaeb core: check that data is not NULL in function string_iconv_fprintf 2014-09-28 08:20:08 +02:00
Sébastien Helleu 0f5be59a7c doc: add link to Homebrew site in user's guide and FAQ 2014-09-27 10:23:50 +02:00
Sébastien Helleu 8a4aa41511 doc: add instructions for compilation with Homebrew in user's guide and FAQ 2014-09-27 10:03:01 +02:00
Sébastien Helleu c99df96ebd relay: fix send of signals "relay_client_xxx" (closes #214)
The signals about relay client status changes were sent only when the client
has ended. Now it is went on any status change.
2014-09-26 04:09:25 +02:00
Sébastien Helleu c1aa51fa9c core: fix crash on buffer close when option weechat.look.hotlist_remove is set to "merged" (closes #199) 2014-09-24 21:45:01 +02:00
Sébastien Helleu f91f57f12c irc: fix type of value stored in hashtable when joining a channel (closes #211) 2014-09-22 07:43:34 +02:00
Nils Görs 91a748b8e7 core: update German translations 2014-09-21 20:52:12 +02:00
Sébastien Helleu 1a20ef41c0 core: fix highlight of IRC action messages when option irc.look.nick_mode is set to "action" or "both" (closes #206) 2014-09-21 11:52:58 +02:00
Sébastien Helleu 03c0067272 core: fix compilation of plugin API functions (macros) when compiler optimizations are enabled (closes #200) 2014-09-20 17:38:46 +02:00
Nils Görs 2040557107 core: update German translations 2014-09-20 17:26:51 +02:00
Sébastien Helleu 061f94aee9 core: fix sentence in ChangeLog 2014-09-20 15:44:28 +02:00
Sébastien Helleu 6a2bef6fb7 guile: fix compilation with Guile < 2.0.4 (closes #198) 2014-09-20 15:43:29 +02:00
Sébastien Helleu 1801e0da3b doc: update Polish auto-generated files 2014-09-20 15:02:00 +02:00
Sébastien Helleu d1b4281d20 trigger: do not allow any changes on a trigger when it is currently running (closes #189) 2014-09-20 14:51:09 +02:00
Sébastien Helleu 6860aa491f aspell: fix compilation with enchant version older than 1.6.0 (closes #192) 2014-09-20 11:05:48 +02:00
Krzysztof Korościk 6a118ce940 core: update polish translations 2014-09-14 00:18:36 +02:00
Krzysztof Korościk ddf7604c3e doc: update polish translations 2014-09-14 00:01:10 +02:00
Sébastien Helleu 9ab9e121bb core: update ChangeLog 2014-09-06 08:56:39 +02:00
Sébastien Helleu 5a5e05eae9 irc: display nick changes in server buffer (closes #188) 2014-09-06 08:48:43 +02:00
Sébastien Helleu 761ac5d0e9 irc: disable creation of temporary servers by default with command /connect, new option irc.look.temporary_servers 2014-09-04 07:39:05 +02:00
Sébastien Helleu 4c49113036 tests: add tests of hashtable functions 2014-09-03 07:38:46 +02:00
Sébastien Helleu 7f4d9de255 core: use a sorted arraylist for partial completions
With a sorted list, the partial completion is about 50x faster
(like other completions).
2014-09-01 23:38:53 +02:00
Sébastien Helleu f0aa0a21b2 core: optimize completion by using arraylists
With arraylist (vs weelist), the completion is about 50x faster.
It is visible on "/help [+tab]".
2014-09-01 11:51:04 +02:00
Sébastien Helleu dda1a66fd7 tests: add tests of arraylist functions 2014-09-01 11:51:04 +02:00
Sébastien Helleu 8430708fad core: add comment about argument "index" of function arraylist_search 2014-09-01 11:51:03 +02:00
Sébastien Helleu 41fd4cb254 core: reset data contents in function arraylist_clear if size_alloc_min > 0 2014-09-01 11:51:03 +02:00
Sébastien Helleu e0f2184987 core: add extra check on arraylist pointer in arraylist functions 2014-09-01 11:51:03 +02:00
Sébastien Helleu a4dfda9304 core: add functions to manage array lists 2014-09-01 11:51:03 +02:00
Sébastien Helleu 3287843ff2 doc: fix example of color codes in command line (user's guide) 2014-09-01 07:44:54 +02:00
Sébastien Helleu 22dd769c3f doc: update Japanese auto-generated files 2014-08-31 20:00:15 +02:00
Sébastien Helleu 91639e5ed8 Merge pull request #183 from l/translation_ja
core: update Japanese translations
2014-08-31 19:41:01 +02:00
Sébastien Helleu 0845911c6b core: change comment about linker and circular references problems with static libs 2014-08-31 17:00:47 +02:00
AYANOKOUZI, Ryuunosuke d06760ce5c core: update Japanese translations 2014-08-31 06:09:39 +09:00
Sébastien Helleu 0a641bdf0b core: add debug functions to measure time spent in code/functions 2014-08-30 16:07:37 +02:00
Max Teufel e32801d9fc irc: use irc_protocol_nick_address for ban/quiet/invex/exception lists 2014-08-29 21:12:51 +02:00
Sébastien Helleu 421c0752d8 core: fix window/buffer pointers used in command /eval 2014-08-29 19:11:07 +02:00
Sébastien Helleu dda2170d94 core: add another example of buffer name in /help filter 2014-08-29 18:21:48 +02:00
Sébastien Helleu 7b546bea2e api: use microseconds instead of milliseconds in functions util_timeval_diff and util_timeval_add 2014-08-29 18:17:27 +02:00
Sébastien Helleu ddd829a1c7 core: remove some spaces 2014-08-29 15:40:50 +02:00
Sébastien Helleu 9fe6ce1cdc api: fix bug in function hdata_move when absolute value of count is greater than 1 2014-08-27 07:34:54 +02:00
Sébastien Helleu bf723ba7bf perl: fix detection of Perl >= 5.20 with autotools 2014-08-26 07:41:20 +02:00
Sébastien Helleu 5424c5f9de core: fix build of tests with autotools 2014-08-25 20:26:19 +02:00
Sébastien Helleu f39b37351c tests: fix build of tests when the build directory is outside source tree (closes #178) 2014-08-25 07:38:38 +02:00
Sébastien Helleu 8672430acd core: sync debian files with debian git repository 2014-08-24 19:40:14 +02:00
Sébastien Helleu 56f099bec6 core: sort linked lists with configuration files and sections by name 2014-08-24 19:18:09 +02:00
Sébastien Helleu fa4436b262 irc: remove a trailing comma in help of server capabilities option 2014-08-23 21:05:38 +02:00
Sébastien Helleu 224b27de88 core: add a constant for color buffer name 2014-08-23 16:37:50 +02:00
Sébastien Helleu 23ea7cd67d core: add missing return code in comment of function hook_command_exec 2014-08-23 12:39:02 +02:00
Sébastien Helleu eac426f625 core: fix error message in case of ambiguous incomplete command 2014-08-23 12:37:01 +02:00
Sébastien Helleu bde38c87ea core: fix typo: too much calls -> too many calls 2014-08-23 12:34:04 +02:00
Sébastien Helleu e887592b78 core: fix typo: unambigous -> unambiguous 2014-08-23 12:30:54 +02:00
Sébastien Helleu 6b017fa38a core: add new option weechat.look.command_incomplete in ChangeLog 2014-08-23 12:22:05 +02:00
Sébastien Helleu 9f57c21de2 doc: update auto-generated files with WeeChat options 2014-08-23 12:14:37 +02:00
Sébastien Helleu 8c586eb49a core: allow incomplete commands if unambiguous (task #5419) 2014-08-23 12:13:11 +02:00
Sébastien Helleu f6c2fd9bce doc: update German auto-generated files 2014-08-23 11:44:35 +02:00
nils_2 3bb72d24b8 doc: update German documentation 2014-08-23 11:01:15 +02:00
nils_2 0c01a0ac98 doc: update German documentation 2014-08-23 10:51:44 +02:00
nils_2 59a0f52ab8 core: update German translations 2014-08-23 10:50:13 +02:00
Sébastien Helleu b010115556 core: add command to restore default triggers that have changed in version 1.1 (release notes) 2014-08-23 09:12:28 +02:00
Sébastien Helleu 2ae5660cc3 trigger: add option "restore" in command /trigger 2014-08-23 09:11:13 +02:00
Sébastien Helleu 067f310be6 script: fix crash on "/script update" if a script detail is displayed in buffer (closes #177) 2014-08-22 20:48:51 +02:00
Sébastien Helleu 333253e5b9 trigger: fix regex used in default triggers to hide passwords (closes #172)
"\S" is not supported on *BSD, so it is replaced by "[^ ]" (which should be
enough, since there should be no tabs or other whitespace different from
spaces in command line).
2014-08-22 07:39:15 +02:00
Sébastien Helleu 94ddd4a8b7 core: add contributor in AUTHORS.asciidoc 2014-08-21 07:41:49 +02:00
Sébastien Helleu 31071172eb doc: update German auto-generated files 2014-08-20 21:58:44 +02:00
PhillipSz 9c009a8d69 core: update German translations 2014-08-20 21:54:08 +02:00
Andrew Potter 5284646df1 xfer: bind to wildcard address when sending
When #5 was fixed, we started to always bind to the local address
connected to the irc server because the xfer.network.own_ip address
may not be able to be bound to when NATed. But this means when the
own_ip address is a different family (IPv4 vs IPv6) from the irc
server connection, we were listening for connections on the wrong
interface.

This patch lets us figure out which family is being used,
(xfer.network.own_ip's family, or the irc connection's family
otherwise) and bind() into the correct family via that family's
wildcard address.
2014-08-20 09:12:08 -07:00
Sébastien Helleu 285de35d21 core: fix typo in French translation of /help set 2014-08-20 07:35:07 +02:00
Andrew Potter e5cd0eb247 xfer: Use hook_connect() for receiving chats
fixes #160
2014-08-19 22:09:37 -07:00
Sébastien Helleu 7310a7e398 core: fix modifier "weechat_print": discard only one line when several lines are displayed in same message (closes #171)
When several lines are displayed in a message (separated by "\n"), the
modifier "weechat_print" will now discard just one line (if return value is
an empty string), instead of discarding the whole message.
2014-08-19 19:56:12 +02:00
Sébastien Helleu 83ffdb9ecd irc: add "server-time" in help of server option "capabilities" 2014-08-17 09:58:19 +02:00
Sébastien Helleu 25747a5f16 Merge pull request #166 from l/translation_ja
core: update Japanese translations
2014-08-16 20:11:05 +02:00
Sébastien Helleu be00ef006b doc: add missing files sec.conf and exec.conf in man page 2014-08-16 17:01:55 +02:00
AYANOKOUZI, Ryuunosuke 37f7d69cdc core: update Japanese translations 2014-08-17 00:01:14 +09:00
Sébastien Helleu 611a48837b core: add anchor "#support" for link to user's guide in AUTHORS 2014-08-16 15:45:39 +02:00
Sébastien Helleu 519d7cc79e core: add link to user's guide in AUTHORS 2014-08-16 15:43:27 +02:00
nils_2 420acac5ed core: update German translations 2014-08-16 11:54:51 +02:00
Sébastien Helleu d918c3d1b0 core: fix translation of message displayed after /upgrade 2014-08-16 11:50:15 +02:00
Sébastien Helleu 4de5627db2 irc: remove unneeded variable "seconds" 2014-08-16 11:50:01 +02:00
Sébastien Helleu ab8ea0f3cb irc: fix translation of CTCP PING reply (closes #137) 2014-08-16 11:37:43 +02:00
Sébastien Helleu e6ed4342a2 core: add a link to user's guide or WeeChat site for contacting developers 2014-08-16 10:36:50 +02:00
Sébastien Helleu fd7b5caf5c doc: add non-official support channel #weechat-de in user's guide 2014-08-16 10:35:48 +02:00
Sébastien Helleu e27083cddf core: remove obsolete WeeChat version in weechat.pot 2014-08-16 10:29:47 +02:00
Sébastien Helleu 4c12639f61 doc: add tags for missing translations in Japanese developer's guide 2014-08-16 09:24:40 +02:00
Sébastien Helleu dac076c242 aspell: display an error if command "/aspell setdict" is called without a dictionary 2014-08-16 09:07:10 +02:00
Sébastien Helleu 2d5f563d89 core: update ChangeLog 2014-08-16 09:03:38 +02:00
Sébastien Helleu 3f3eb55c6d aspell: remove unneeded else condition 2014-08-16 09:02:31 +02:00
nils_2 2629fd8c74 aspell: fix crash with command "/aspell addword" if no word is given (closes #164) 2014-08-15 20:56:52 +02:00
Sébastien Helleu 1b7352e379 core: add gettext-devel dependency for Cygwin packaging 2014-08-15 18:48:40 +02:00
Sébastien Helleu 8c3b85a05b core: install extra files for Cygwin in share/doc/weechat 2014-08-15 18:48:03 +02:00
Sébastien Helleu b7eb710b19 core: fix asciidoc style in ChangeLog 2014-08-15 15:12:37 +02:00
Sébastien Helleu bc34c3cfc2 tests: fix memory leak in tests launcher 2014-08-15 15:08:31 +02:00
Sébastien Helleu 23f91ea821 Version 1.1-dev 2014-08-15 13:20:15 +02:00
Sébastien Helleu addc27af2c Version 1.0
Yay! \o/
2014-08-15 10:09:01 +02:00
Sébastien Helleu dcf46a2ca0 tests: read WeeChat command line arguments in environment variable "WEECHAT_TESTS_ARGS" 2014-08-14 19:15:25 +02:00
Sébastien Helleu 99b7aa9d27 tests: fix memory leaks 2014-08-14 19:13:32 +02:00
Sébastien Helleu 00e79af39c tests: add tests of function string_split_shell 2014-08-14 19:12:00 +02:00
Sébastien Helleu 328eeee5e1 tests: add partial tests of functions hashtable_set* 2014-08-14 19:09:27 +02:00
Sébastien Helleu 346fb62cf6 tests: don't install binary "tests" with autotools 2014-08-14 19:06:21 +02:00
Sébastien Helleu 181e44d126 doc: add missing file "tests.cpp" in developer's guide 2014-08-14 19:05:48 +02:00
Sébastien Helleu 11baca39b8 debian: link against libgcrypt20-dev and libgnutls28-dev 2014-08-14 19:03:18 +02:00
Sébastien Helleu 536318eafe tests: add tests of function string_replace_with_callback 2014-08-14 07:38:42 +02:00
Sébastien Helleu 8506fa95b3 core: separate new features and bugs fixed in ChangeLog 2014-08-14 07:35:04 +02:00
Sébastien Helleu 06260182b0 doc: update Polish auto-generated files 2014-08-13 22:28:40 +02:00
Krzysztof Korościk d104a1fc13 core: updated polish translations 2014-08-13 21:31:02 +02:00
Sébastien Helleu 0f363218b6 core: make argument "errors" optional in function string_replace_with_callback 2014-08-13 07:33:49 +02:00
Sébastien Helleu 3d63ed0eaf Merge pull request #161 from l/translation_ja
core: update Japanese translations
2014-08-12 21:40:51 +02:00
AYANOKOUZI, Ryuunosuke ab6df91a3e core: update Japanese translations 2014-08-12 16:43:32 +09:00
Sébastien Helleu e4fb9a4a4b doc: add example with "callback_free_key" in function hashtable_set_pointer (plugin API reference) 2014-08-12 07:32:15 +02:00
Andrew Potter 62d891aea9 core: callback_free_key shouldn't point to already free'd value 2014-08-11 22:51:20 +02:00
Sébastien Helleu 4faa227a2d core: check that callback is not NULL in function string_replace_with_callback 2014-08-11 07:47:55 +02:00
Sébastien Helleu 8ab538c0d9 Version 1.0-rc3 2014-08-10 16:54:28 +02:00
Sébastien Helleu 93d472e3d0 core: fix potential crash in case of malloc error when resetting config option 2014-08-10 15:51:35 +02:00
Sébastien Helleu e226c2e147 irc: free nick immediately in case of malloc error 2014-08-10 15:50:18 +02:00
Sébastien Helleu 890a9e54be core: remove dead assignment in function hook_process_child 2014-08-10 15:50:18 +02:00
Sébastien Helleu 15bb7656a5 core: remove dead assignment in function hook_command_exec 2014-08-10 15:50:18 +02:00
Sébastien Helleu 733eb99b17 script: fix potential crash in case of malloc error 2014-08-10 15:50:08 +02:00
Sébastien Helleu a7ea40da2c core: remove dead assignment when converting mouse code 2014-08-10 13:47:08 +02:00
Sébastien Helleu 068776b5a7 core: fix zero-length malloc of an hashtable item with type "buffer" 2014-08-10 13:42:48 +02:00
Sébastien Helleu ccf18f4bf6 core: return immediately if localtime fails in window scroll 2014-08-10 13:35:25 +02:00
Sébastien Helleu fc1571645d logger: fix memory leaks in backlog 2014-08-10 13:25:35 +02:00
Sébastien Helleu 53a9a161f4 core: fix memory leak on /upgrade when file signature in upgrade file is invalid 2014-08-10 10:52:04 +02:00
Sébastien Helleu 27dd6cf72f core: fix memory leak in completion of config options values 2014-08-09 23:17:25 +02:00
Sébastien Helleu b78b5575c3 irc: fix memory leak in CTCP answer 2014-08-09 19:54:39 +02:00
Sébastien Helleu 4e43be6d2c core: fix memory leak when removing script files 2014-08-09 18:49:06 +02:00
Sébastien Helleu fc71ce0d43 core: fix bug with several arguments for command /buffer clear|hide|unhide 2014-08-09 18:19:27 +02:00
Sébastien Helleu 9358f076a3 exec: invert a condition to make code more readable 2014-08-09 17:43:45 +02:00
Sébastien Helleu 795b9c9da9 relay: fix memory leak during handshake on websocket 2014-08-09 17:41:16 +02:00
Sébastien Helleu 7a76a959ec relay: fix memory leak when receiving several lines from client (weechat protocol) 2014-08-09 17:40:18 +02:00
Sébastien Helleu a6aee98cb1 relay: fix memory leak when receiving commands from client (weechat protocol) 2014-08-09 17:15:22 +02:00
Sébastien Helleu 4c871760d2 relay: remove dead assignment 2014-08-09 16:37:10 +02:00
Sébastien Helleu ddd7a85f2d relay: fix crash when an IRC "MODE" command is received from client without arguments 2014-08-09 16:14:44 +02:00
Sébastien Helleu a538a9c08e tests: add tests of function string_replace_regex 2014-08-09 09:08:06 +02:00
Sébastien Helleu 5597c93b64 core: check that regex is not NULL in function string_replace_regex 2014-08-08 07:33:37 +02:00
Sébastien Helleu e7b604c97e core: fix example in comment of function string_replace_regex 2014-08-07 07:48:15 +02:00
Sébastien Helleu 13fc108c6d tests: add TODO comments for missing tests 2014-08-06 07:53:04 +02:00
Sébastien Helleu aa8a1cc775 core: add C++ compiler and CppUTest for tests in README 2014-08-05 07:36:01 +02:00
Sébastien Helleu 2cc265f34e tests: add tests of functions hashtable_hash_key_djb2 and hashtable_new 2014-08-04 07:41:24 +02:00
Sébastien Helleu 3c3311bf17 core: update ChangeLog 2014-08-03 14:44:37 +02:00
Sébastien Helleu 124b2668fe core: display warning on $TERM only if it doesn't start with "screen" (under screen/tmux) 2014-08-03 14:11:58 +02:00
Sébastien Helleu 5262e05177 doc: remove trailing whitespace in Polish user's guide 2014-08-03 14:09:44 +02:00
Sébastien Helleu 6dcb1e7b10 Revert "core: use argument "-i" for sed command (don't create a temporary file)"
This reverts commit b2466aae29.

The option "-i" is not supported on FreeBSD.
2014-08-03 13:49:11 +02:00
Krzysztof Korościk dbc30707aa update polish docs 2014-08-03 12:36:05 +02:00
Sébastien Helleu 8b1939059b Version 1.0-rc2 2014-08-03 12:01:41 +02:00
Sébastien Helleu e13593dceb core: fix build with autotools and gettext >= 0.19 2014-08-03 11:56:38 +02:00
Sébastien Helleu b2466aae29 core: use argument "-i" for sed command (don't create a temporary file) 2014-08-03 11:10:06 +02:00
Sébastien Helleu 6a09cf0ed3 core: fix display of bar item "buffer_filter" when toggling filters in current buffer (closes #150) 2014-08-03 10:33:45 +02:00
Sébastien Helleu 895a46c55f core: remove "set -x" in build.sh (the executed commands are already displayed) 2014-08-02 18:46:48 +02:00
Sébastien Helleu a93c92c5b1 core: add empty line in .travis.yml 2014-08-02 18:44:26 +02:00
Mikaela Suomalainen b1b5a3eac9 tests: make build.sh show executed commands & ...
...try to speed up make by using multiple jobs if there is more than one
CPU available

Travis CI should now show the commands that build.sh executes in the
log. I mean commands, not only their output.
2014-08-02 18:52:10 +03:00
Mikaela Suomalainen 21538edc9b core: enable fast_finishing (Travis CI)
fash_finish makes it so that if one job fails, the build is marked as
failed without having to wait for the other jobs to finish. If there are
still unfinished jobs at the time of failure, they continue running
after the build has been marked as failed.
2014-08-02 18:41:33 +03:00
Sébastien Helleu 1aa8fd09ef tests: add tests of functions string_is_command_char and string_input_for_buffer 2014-08-02 16:55:49 +02:00
Sébastien Helleu 28cb1ae6f5 tests: add tests of base 16/64 decoding/encoding 2014-08-02 16:54:24 +02:00
Sébastien Helleu cf3e0ccbfd core: fix result of hash function (in hashtables) on 32-bit systems 2014-08-02 16:53:12 +02:00
Sébastien Helleu 8a93906beb api: fix function string_decode_base64
The result of function was sometimes wrong, for example base64 decoding of
"YWJj" was returning "ab" instead of "abc".
2014-08-02 16:52:17 +02:00
Sébastien Helleu ad07527007 trigger: fix hook count on 32-bit systems 2014-08-02 16:21:00 +02:00
Sébastien Helleu 6295adad6d relay: fix number of bytes sent/received on 32-bit systems 2014-08-02 16:17:30 +02:00
Sébastien Helleu e29f01b4fb Merge branch 'travis-tests' 2014-08-02 15:47:20 +02:00
Sébastien Helleu ee1e181894 tests: remove test of han char in utf8_strlen_screen (failing on Ubuntu Precise) 2014-08-02 15:36:40 +02:00
Sébastien Helleu 1294bce155 tests: remove test of han char in utf8_char_size_screen (failing on Ubuntu Precise) 2014-08-02 15:25:56 +02:00
Sébastien Helleu ed05730a3b core: remove unused ubuntu PPA (Travis CI) 2014-08-02 15:14:53 +02:00
Sébastien Helleu 63d9f2452d core: replace package libcpputest-dev by amd64 version (Travis CI) 2014-08-02 15:10:41 +02:00
Sébastien Helleu d046315e8b api: fix function string_format_size on 32-bit systems 2014-08-02 11:44:15 +02:00
Sébastien Helleu f9b04635d3 tests: fix compilation of tests
The header gui-curses.h doesn't need to be included (this causes an error
because the real ncurses lib header is not found when compiling tests).
2014-08-02 11:38:58 +02:00
Sébastien Helleu 35574d63ab irc: fix duplicate sender name in display of wallops (closes #142, closes #145) 2014-08-02 11:35:43 +02:00
Sébastien Helleu 2987f9208e tests: add tests of function string_format_size 2014-08-01 07:34:35 +02:00
Sébastien Helleu aaa29153b0 tests: add tests of functions string_iconv* 2014-07-31 07:48:36 +02:00
Sébastien Helleu d2dc05b01e core: check that from/to arguments are not NULL in base16/64 functions 2014-07-30 07:44:25 +02:00
Sébastien Helleu 3d6b9ff5a7 tests: add tests of function string_is_word_char 2014-07-29 07:39:30 +02:00
Sébastien Helleu 3ffbb85cb9 core: check that string is not NULL in function string_input_for_buffer 2014-07-28 08:27:16 +02:00
Sébastien Helleu 12c8cd4988 core: check that string is not NULL in function string_iconv 2014-07-27 08:34:34 +02:00
Sébastien Helleu 7710084ba8 doc: update Japanese auto-generated files 2014-07-26 11:20:38 +02:00
Sébastien Helleu 329dbefbfd Merge pull request #140 from l/translation_ja
core: update Japanese translations
2014-07-26 11:17:55 +02:00
AYANOKOUZI, Ryuunosuke c3ec3cd3ed core: update Japanese translations 2014-07-26 17:56:38 +09:00
Sébastien Helleu ed76e7adc6 doc: fix examples of function string_format_size (plugin API reference) 2014-07-26 08:25:10 +02:00
Sébastien Helleu 0693ffb82b core: fix compilation warning on GNU/Hurd about unsigned long numbers 2014-07-25 22:23:46 +02:00
Sébastien Helleu db01880bd1 core: add comments in translations for file size units 2014-07-25 20:40:38 +02:00
nils_2 16874bd4ec core: update German translations 2014-07-25 09:13:56 +02:00
Sébastien Helleu f227e9ec3e core: add terabyte unit for size displayed 2014-07-25 07:57:48 +02:00
Sébastien Helleu e8c03ea513 core: download debian package libcpputest-dev from weechat.org (Travis CI) 2014-07-24 22:27:48 +02:00
nils_2 b62705a299 doc: update German documentation 2014-07-24 10:18:32 +02:00
Sébastien Helleu 4bebc81dcb doc: add min version for libcpputest-dev (user's guide) 2014-07-24 07:56:14 +02:00
Sébastien Helleu d9d36c8dd4 trigger: update comment 2014-07-23 07:49:05 +02:00
Andrew Potter 197cd30379 trigger: refuse triggers with . in their name 2014-07-22 22:27:14 -07:00
Sébastien Helleu 2331f68c88 core: add option "--yes" for add-apt-repository (Travis CI) 2014-07-22 21:14:35 +02:00
Sébastien Helleu 8386c1a210 tests: run tests after build on Travis CI 2014-07-22 21:05:53 +02:00
Sébastien Helleu 9177e02f1a tests: add -v option for command "tests" to increase verbosity (CMake) 2014-07-22 21:04:59 +02:00
nils_2 94f12b4b8b core: update German translations 2014-07-22 12:03:26 +02:00
Sébastien Helleu 2a7b23f65e Version 1.0-rc1 2014-07-21 22:23:36 +02:00
Sébastien Helleu 20b49746cc doc: add missing tag "host_xxx" in function printf_date_tags (plugin API reference) 2014-07-21 22:23:21 +02:00
Sébastien Helleu 3aadfc6765 core: fix insert of mouse code in input line after a partial key combo (closes #130) 2014-07-21 21:29:44 +02:00
Sébastien Helleu 29385e39be tests: fix compilation warning with autotools 2014-07-21 21:25:55 +02:00
Sébastien Helleu 63add00da7 tests: add compilation of tests with autotools 2014-07-21 21:25:43 +02:00
Sébastien Helleu fe74ab8eff core: add file cmake/FindCppUTest.cmake in tarball built by autotools 2014-07-21 21:20:20 +02:00
Sébastien Helleu 2eebb817fd tests: fix compilation of tests 2014-07-21 21:18:57 +02:00
Sébastien Helleu 27c37c0ac5 core: add script build.sh in tarball built by autotools 2014-07-20 23:18:32 +02:00
Sébastien Helleu 8c00ff1b46 core: move script git-version.sh into scripts directory 2014-07-20 23:12:05 +02:00
Sébastien Helleu d7e4fb7080 core: add install of autopoint in Travis CI 2014-07-20 22:36:19 +02:00
Sébastien Helleu c0d1a0d4b5 core: use run function to create build directory 2014-07-20 22:35:48 +02:00
Sébastien Helleu e5d6243155 core: add build with autotools for Travis CI 2014-07-20 22:31:33 +02:00
Sébastien Helleu d0b95b6858 core: remove whitespace in cmake files 2014-07-20 19:16:01 +02:00
Sébastien Helleu f2fd562d79 core: fix build with autotools (add main.c) 2014-07-20 18:53:13 +02:00
Sébastien Helleu 3600b31188 doc: add C++ compiler in dependencies to run tests (user's guide) 2014-07-20 17:02:02 +02:00
Sébastien Helleu d083b77d7f doc: add file main.c in developer's guide 2014-07-20 16:50:53 +02:00
Sébastien Helleu cc179e81c7 core: add main.c in list of translated files for gettext 2014-07-20 16:50:35 +02:00
Sébastien Helleu ce98ded306 core: fix link errors with ncurses library 2014-07-20 16:16:08 +02:00
Sébastien Helleu c077573303 core: add contributor in AUTHORS.asciidoc 2014-07-20 15:54:53 +02:00
Sébastien Helleu 4070a5d27b core: update ChangeLog 2014-07-20 15:53:25 +02:00
Sébastien Helleu 5408db58d1 tests: add UTF-8 tests (check of some invalid UTF-8 chars) 2014-07-20 15:50:51 +02:00
Sébastien Helleu 45f1b6bfc5 core: fix code style in function utf8_is_valid() 2014-07-20 15:50:12 +02:00
Sébastien Helleu 1e669e4b1e Merge branch 'master' of git://github.com/anders/weechat into anders-master 2014-07-20 12:41:39 +02:00
Sébastien Helleu 66959ad911 core: update translations 2014-07-20 12:27:52 +02:00
Sébastien Helleu ee0ed7b839 doc: remove obsolete "test" directory with weercd in developer's guide 2014-07-20 12:18:15 +02:00
Sébastien Helleu b4186d1f74 core: update ChangeLog 2014-07-20 12:17:44 +02:00
Sébastien Helleu db9a8e7bc4 tests: add unit tests using CppUTest
The tests can be run only via CMake:

  1. build with tests: cmake .. -DENABLE_TESTS=ON
  2. make
  3. ctest  (or ctest -V for verbose output)
2014-07-20 12:13:25 +02:00
Sébastien Helleu 91ce401769 core: move some detections from src/CMakeLists.txt to root CMakeLists.txt 2014-07-14 20:03:39 +02:00
Sébastien Helleu de7e7585dd core: do not exit WeeChat in weechat_end() (let the caller do that)
This is needed for automated tests, to exit with return code of tests.
2014-07-14 20:03:39 +02:00
Sébastien Helleu 9935b336ed core: move main() function into Curses GUI 2014-07-14 20:03:39 +02:00
Sébastien Helleu 1f65f80db4 core: send signal key_combo_xxx even for unknown combos 2014-07-14 20:02:26 +02:00
Sébastien Helleu 5911e94ec5 doc: update German auto-generated files 2014-07-14 19:38:16 +02:00
nils_2 2fabf45a38 core: update German translations 2014-07-14 19:34:30 +02:00
Sébastien Helleu eb4d1cf9e7 core: display a warning on startup if $TERM is not screen(-256color) under screen/tmux
The same warning is displayed with command "/debug term".
2014-07-14 19:00:23 +02:00
Sébastien Helleu a2cb702b66 core: add Curl options for versions 7.29.0 to 7.37.0 2014-07-14 17:25:08 +02:00
Sébastien Helleu dff20632ff script: fix display of curl errors 2014-07-14 16:05:43 +02:00
Sébastien Helleu 32751e59ca core: hide message timestamp in bare display if timestamp is disabled in buffer (closes #129) 2014-07-14 10:05:16 +02:00
Sébastien Helleu b14ad26fd5 aspell: rename variable "utf8_char_int" to "code_point" 2014-07-14 09:29:14 +02:00
Sébastien Helleu 2c3484d089 irc: display locally away status changes in private buffers (in addition to channels) (closes #117) 2014-07-12 17:32:54 +02:00
Sébastien Helleu 3ec3fb4e8d python: fix read of return value for callbacks returning an integer in Python 2.x (closes #125) 2014-07-12 14:51:39 +02:00
Sébastien Helleu c5710c6f24 core: fix evaluation of expressions with regex condition (closes #63)
The regex itself is not evaluated any more (so parentheses are kept).

Before the fix:
>> abcd =~ (?-i)^abc
== [0]
>> (abcd) =~ \(abcd\)
== [0]

After the fix:
>> abcd =~ (?-i)^abc
== [1]
>> (abcd) =~ \(abcd\)
== [1]
2014-07-12 10:10:05 +02:00
Sébastien Helleu e0312f7ecf core: add option "-mask" in command /unset (closes #112) 2014-07-12 09:14:56 +02:00
Sébastien Helleu f80a80204a core: add option weechat.color.status_nicklist_count (closes #109, closes #110) 2014-07-12 08:13:58 +02:00
Sébastien Helleu b168a43070 doc: update Japanese auto-generated files 2014-07-06 08:41:21 +02:00
Sébastien Helleu a0ef636824 Merge pull request #120 from l/translation_ja
core: update Japanese translations
2014-07-06 08:39:34 +02:00
AYANOKOUZI, Ryuunosuke 6e4d69c94d core: update Japanese translations 2014-07-06 11:23:43 +09:00
Sébastien Helleu 7a7399594f core: fix socks5 proxy for curl downloads (closes #119) 2014-07-05 22:22:16 +02:00
Sébastien Helleu 4350dd058e core: display curl error after a failed download 2014-07-05 22:17:55 +02:00
Sébastien Helleu 2b7b8cb365 doc: fix style of C/Python examples in docs 2014-07-05 16:45:48 +02:00
Sébastien Helleu bdcb9fb5d7 doc: fix example for function strcasecmp_range in Italian plugin API reference 2014-07-05 11:54:13 +02:00
Sébastien Helleu 95011c82e0 core: return only -1, 0 or 1 in string comparison functions 2014-07-05 11:38:44 +02:00
Sébastien Helleu 823db4475c core: check that timeval arguments are not NULL in timeval functions 2014-07-05 10:25:28 +02:00
Sébastien Helleu e0e3f9fdee core: check that regex is not NULL in function string_regcomp 2014-07-05 10:17:28 +02:00
Sébastien Helleu afa81c4594 core: check that regex is not NULL in function string_regex_flags 2014-07-05 10:15:29 +02:00
Sébastien Helleu d936880392 core: add note about result that must be freed in function string_mask_to_regex 2014-07-05 10:13:46 +02:00
Sébastien Helleu e75fef58c4 core: check that "chars" argument is not NULL in function string_strip 2014-07-05 10:05:35 +02:00
Sébastien Helleu 60c7696353 core: check that string is not NULL in function string_convert_escaped_chars 2014-07-05 10:03:15 +02:00
Sébastien Helleu 8fc8cbc129 core: add comment with return value of function string_strcasestr 2014-07-05 09:51:26 +02:00
Sébastien Helleu e702722842 core: check that string is not NULL in function string_strndup 2014-07-04 07:41:20 +02:00
Sébastien Helleu 494d046594 core: remove "www" in weechat.org URLs 2014-07-01 21:27:29 +02:00
nils_2 4579d4fb93 doc: update German documentation 2014-06-29 18:14:58 +02:00
nils_2 eaa28157ab doc: update German documentation 2014-06-29 18:14:46 +02:00
Sébastien Helleu 7700ef2207 doc: add a question in FAQ about CPU usage 2014-06-29 15:48:32 +02:00
Sébastien Helleu e4b3519418 doc: update German auto-generated files 2014-06-29 13:30:30 +02:00
nils_2 c252c2442b core: update German translations 2014-06-29 12:39:00 +02:00
Sébastien Helleu 9d3355b5a4 core: add note about semicolon to separate commands in /help eval 2014-06-29 11:48:04 +02:00
Sébastien Helleu 44de5bac65 core: update message displayed when passphrase is not set on /secure buffer 2014-06-28 14:50:15 +02:00
Sébastien Helleu 179dc0306e core: remove obsolete translations 2014-06-28 13:20:13 +02:00
Sébastien Helleu 980a9abcfd core: do not display content of passphrase on /secure buffer 2014-06-28 13:18:16 +02:00
Sébastien Helleu baffcc7b76 core: fix completion of plugins commands when beginning of command is given 2014-06-28 11:48:49 +02:00
Sébastien Helleu fa4aaa8aa1 core: fix completion of environment variable value when beginning of value is given 2014-06-28 11:46:17 +02:00
Sébastien Helleu 11cc85caea doc: update German auto-generated files 2014-06-27 22:46:11 +02:00
nils_2 699eabe6cb core: update German translations 2014-06-27 22:43:24 +02:00
Sébastien Helleu 39fc5b91de core: add missing declaration of "environ" (fix compilation on Mac OS X) 2014-06-27 22:11:46 +02:00
Sébastien Helleu 0191818368 core: remove extra spaces in /help set 2014-06-27 22:04:56 +02:00
Sébastien Helleu 1a1c50cc01 core: add option "env" in command /set 2014-06-27 07:54:53 +02:00
Sébastien Helleu 6cdcb6feca core: fix typo in German message 2014-06-21 19:07:28 +02:00
Sébastien Helleu da8bc733d4 doc: update German auto-generated files 2014-06-20 07:39:25 +02:00
nils_2 b26b30d5dc core: update German translations 2014-06-19 20:21:48 +02:00
Sébastien Helleu 56f5a01b99 irc: fix typo in a message 2014-06-19 07:49:54 +02:00
Anders Bergh b705e20a44 core: overlong UTF-8 encoding and surrogates (U+D800-DFFF) are invalid. 2014-06-16 22:24:46 +02:00
Sébastien Helleu d65afdfc7c doc: update German auto-generated files 2014-06-14 10:44:05 +02:00
nils_2 0eb75ec61a doc: update German documentation 2014-06-14 10:40:42 +02:00
nils_2 aaa02f0f5d core: update German translations 2014-06-14 10:40:25 +02:00
Sébastien Helleu dfb6516a11 irc: add value "+" for option irc.look.smart_filter_mode to use modes from server prefixes (closes #90)
The new default value of option irc.look.smart_filter_mode is now "+".
2014-06-14 09:53:07 +02:00
Sébastien Helleu 21c5583c3b core: update URL of WeeChat screenshot in README.asciidoc 2014-06-13 22:27:34 +02:00
Sébastien Helleu 086c5d31d6 doc: update Japanese auto-generated files 2014-06-12 07:37:41 +02:00
Sébastien Helleu edea6d1e46 Merge pull request #105 from l/translation_ja
core: update Japanese translations
2014-06-12 07:33:29 +02:00
AYANOKOUZI, Ryuunosuke a64fc0b50d core: update Japanese translations 2014-06-12 05:25:57 +09:00
Sébastien Helleu eac52b9931 core: set default value "merged" for option weechat.look.hotlist_remove 2014-06-11 07:59:57 +02:00
Sébastien Helleu 4151fa234e doc: add evaluated expression for argument "condition" in function bar_new (plugin API reference) 2014-06-11 07:55:41 +02:00
Sébastien Helleu d0fa44865c core: fix potential memory leak with infolists not freed in plugins (debian #751108)
The memory leak should not happen if infolists are properly freed by plugins,
and it happened only on unload of plugins (or exit).
2014-06-10 20:14:24 +02:00
Sébastien Helleu 955ed344c2 doc: add "in option command" in quickstart 2014-06-09 10:12:25 +02:00
Sébastien Helleu 48b44369e7 doc: update German auto-generated files 2014-06-09 10:04:17 +02:00
nils_2 771d537eff doc: update German documentation 2014-06-09 09:21:18 +02:00
nils_2 4cd6a08ca0 core: update German translations 2014-06-09 09:18:41 +02:00
Sébastien Helleu 3fa4f8a4bc doc: add SSL options in quickstart guide 2014-06-08 17:54:49 +02:00
Sébastien Helleu e723cbc0c7 irc: fix French translation of "kick" 2014-06-08 10:00:23 +02:00
Sébastien Helleu f68c9c6df6 irc: fix help of commands kick/kickban/remove (closes #102) 2014-06-08 09:39:27 +02:00
Sébastien Helleu 17e451ae55 core: fix color display of last color number + 1 (closes #101) 2014-06-07 17:08:17 +02:00
Sébastien Helleu 9957565680 core: fix first comment line in weechat.c 2014-06-07 16:14:17 +02:00
Sébastien Helleu 5d0a74a43e core: add option weechat.look.hotlist_remove (closes #99) 2014-06-06 19:39:19 +02:00
Sébastien Helleu 0bdb7d2f80 doc: remove extra quotes around password in command /server (FAQ) 2014-06-05 19:53:09 +02:00
Sébastien Helleu 11f55cf70c core: add one bug/feature request per issue in Contributing.asciidoc 2014-06-04 20:17:36 +02:00
Sébastien Helleu d6d57635bd irc: fix comment 2014-06-03 07:32:24 +02:00
Sébastien Helleu 70d2b0ad8e Remove test/weercd.py (move script to its own repository)
The script has been moved to: https://github.com/weechat/weercd
2014-05-31 11:49:21 +02:00
Sébastien Helleu bb779271ae relay: don't send signals "buffer_clear" and "buffer_line_added" for relay raw/list buffers to clients (weechat protocol) 2014-05-29 16:49:50 +02:00
Sébastien Helleu fe872f26d4 irc: fix extract of channel in parser for JOIN/PART messages when there is a colon before the channel name (closes #83)
The problem was only affecting scripts or triggers using the parser.
The irc plugin does not use the "channel" variable built by the parser
(when parsing JOIN/PART messages).
2014-05-28 20:11:12 +02:00
Sébastien Helleu 061b8b76b6 doc: update German auto-generated files 2014-05-27 07:45:42 +02:00
nils_2 a51b2d35ad core: update German translations 2014-05-26 19:23:18 +02:00
Sébastien Helleu 8b655a2552 doc: update auto-generated files with IRC commands 2014-05-26 07:58:44 +02:00
Sébastien Helleu 34098cee27 irc: add command /remove (closes #91) 2014-05-26 07:57:38 +02:00
Sébastien Helleu 74c979d9ac core: build packages in build directory on "make dist" (CMake) 2014-05-25 12:58:16 +02:00
Sébastien Helleu dc0229617a doc: use .asciidoc extension instead of .txt for doc files 2014-05-25 12:47:24 +02:00
Sébastien Helleu 76a066c9cc doc: update Russian quickstart (issue #81) 2014-05-25 09:28:04 +02:00
Sébastien Helleu 3bfc2b5bbe doc: update Russian quickstart (closes #81) 2014-05-25 08:50:33 +02:00
Sébastien Helleu ae76d76a96 doc: update auto-generated files with hdata 2014-05-25 08:49:33 +02:00
nils_2 415521dfbb core: update German translations 2014-05-24 22:43:29 +02:00
Sébastien Helleu 02eed97d97 relay: fix crash when closing relay buffers (closes #57, closes #78)
A flag "closing" has been added in buffers. It is set to 1 when the buffer
is closing, and then no more printf is allowed in the buffer (a message
printed on relay buffer was causing a crash when it is closed).
2014-05-24 18:57:29 +02:00
Sébastien Helleu faae8f470b relay: check pointers received in hdata command to prevent crashes with bad pointers (WeeChat protocol) 2014-05-24 18:18:11 +02:00
Sébastien Helleu 7aaf3be15b api: add argument "flags" in function hdata_new_list 2014-05-24 18:03:14 +02:00
Sébastien Helleu 3092c09bc9 relay: remove warning on /reload of relay.conf when ports are defined 2014-05-24 08:00:19 +02:00
Sébastien Helleu 00179e6244 irc: fix refresh of bar item "irc_channel" after join/part/kick/kill (issue #86) 2014-05-23 22:49:03 +02:00
Sébastien Helleu 6f6a0badcb doc: update Japanese auto-generated files 2014-05-23 22:39:50 +02:00
Sébastien Helleu 98c3e28a71 doc: fix version number in function hook_print (Japanese plugin API reference) 2014-05-23 22:38:27 +02:00
Sébastien Helleu 83e19e4359 Merge pull request #89 from l/translation_ja
core: update Japanese translations
2014-05-23 22:37:16 +02:00
AYANOKOUZI, Ryuunosuke 3763a5d88d core: update Japanese translations 2014-05-24 01:57:07 +09:00
Sébastien Helleu 838a71cceb core: fix reset of attributes between nick colors in /color buffer 2014-05-22 20:46:14 +02:00
nils_2 4ba20c90da doc: translate Mac OS X info in question about SSL connection to IRC server… 2014-05-22 13:47:35 +02:00
Sébastien Helleu 14850dfa9c irc: fix duplicate sender name in display of notice (closes #87) 2014-05-21 21:49:20 +02:00
Sébastien Helleu c8103f14d2 irc: fix refresh of buffer name in bar items after join/part/kick/kill (closes #86) 2014-05-21 20:46:22 +02:00
Sébastien Helleu 8e1d5e567e irc: display message 936 (censored word) on channel instead of server buffer 2014-05-20 21:23:02 +02:00
Sébastien Helleu 507d58f158 doc: add Mac OS X info in question about SSL connection to IRC servers (FAQ) 2014-05-19 20:03:29 +02:00
Sébastien Helleu 91a88eb224 core: fix display of item buffer_short_name when the short name is not defined in buffer 2014-05-18 17:39:22 +02:00
Sébastien Helleu b1430131a7 core: add bar item "buffer_short_name" (task #10882) 2014-05-16 20:55:56 +02:00
Sébastien Helleu 540abf0874 irc: add bar item "irc_nick_modes" (closes #71) 2014-05-15 23:19:58 +02:00
Sébastien Helleu 85b8e0d82b doc: update German auto-generated files 2014-05-14 07:35:13 +02:00
nils_2 98db1877b4 core: update German translation 2014-05-13 23:59:31 +02:00
Sébastien Helleu 75247edfb3 alias: add default alias "msgbuf" (send text to a buffer) 2014-05-13 23:01:11 +02:00
Sébastien Helleu d38d961394 core: add option "send" in command /input (send text to a buffer) 2014-05-13 22:40:46 +02:00
Sébastien Helleu 4406087ee5 core: fix completion %(plugins_commands) when there are more than one argument before in the command line 2014-05-13 22:13:40 +02:00
Sébastien Helleu 32edff0fa5 core: add option "-buffer" in command /command (closes #67) 2014-05-13 22:12:19 +02:00
nils_2 4d70264ac6 core: update German translation 2014-05-13 16:39:07 +02:00
Sébastien Helleu 57781e6b0d irc: make reason optional in command /kill 2014-05-12 23:10:30 +02:00
Sébastien Helleu d9c82e2103 core: add VERBOSE flag for compilation (Travis) 2014-05-11 10:55:21 +02:00
Sébastien Helleu 3a0617f62c core: add clang compiler for Travis build 2014-05-11 10:25:30 +02:00
Sébastien Helleu ca8d6a0911 doc: fix continued indentations in docgen.py 2014-05-11 08:27:08 +02:00
Sébastien Helleu 21d55695b1 core: add pylint check of doc/docgen.py (Travis) 2014-05-11 08:15:47 +02:00
Sébastien Helleu d6bfc38ae3 doc: fix pylint warnings in docgen.py 2014-05-11 08:15:18 +02:00
Sébastien Helleu a0d4f9f389 doc: update German auto-generated files 2014-05-10 17:14:26 +02:00
Sébastien Helleu cdab55aa05 api: change type of arguments displayed/highlight in hook_print callback from string to integer (in scripts) 2014-05-10 08:26:56 +02:00
nils_2 6d205222aa core: update German translations 2014-05-09 19:37:01 +02:00
Sébastien Helleu ae51f45c97 core: add comment 2014-05-09 07:35:09 +02:00
Sébastien Helleu 36fdd40247 core: do not restore title of core buffer after /upgrade 2014-05-08 23:16:52 +02:00
Sébastien Helleu 8bcd2c8401 core: fix memory leak when restoring buffers after /upgrade 2014-05-08 22:30:37 +02:00
Sébastien Helleu ec5c9c6a8a core: remove line in ChangeLog (add of "#" in front of channels on /join)
The new option has changed the behavior again, so "/join 0" will now
part all channels by default.
2014-05-08 14:38:40 +02:00
Sébastien Helleu 432ecaa9f4 relay: add message "_buffer_cleared" 2014-05-08 14:36:23 +02:00
Sébastien Helleu 36d519acb0 irc: add support of message 324 (channel modes) in option irc.look.display_join_message (closes #75) 2014-05-08 11:55:18 +02:00
Sébastien Helleu 7b4b6a3754 core: update ChangeLog 2014-05-08 11:31:03 +02:00
Sébastien Helleu a81f79e669 relay: reformat comment 2014-05-08 11:31:03 +02:00
Tor Hveem 9e282febfd relay: fix disconnection of client on empty websocket frames
WeeChat disconnects any client when a frame with length 0 is recieved.
2014-05-08 11:30:36 +02:00
Sébastien Helleu 87e9a061b5 core: update ChangeLog (add support of negated tags in filters) 2014-05-08 11:01:50 +02:00
Sébastien Helleu 117dca056d core: add support of '!' for tags in /help filter 2014-05-08 11:01:07 +02:00
Sébastien Helleu 37200b46e8 core: add parentheses around tests in conditions 2014-05-08 10:51:26 +02:00
stfn cc03a85744 core: add support for negated tags in filters (closes #72) 2014-05-07 13:07:59 +02:00
Sébastien Helleu bbea2940b7 relay: add support of Internet Explorer websocket (closes #73) 2014-05-07 07:39:40 +02:00
Sébastien Helleu 17d21cd97a doc: update German auto-generated files 2014-05-06 22:17:33 +02:00
nils_2 ee8e551b7c Merge branch 'master' of https://github.com/weechat/weechat 2014-05-06 22:13:22 +02:00
nils_2 7d58491b4a core: update German translation 2014-05-06 22:12:45 +02:00
Sébastien Helleu a54566df2e xfer: fix problem with option xfer.file.auto_accept_nicks when the server name contains dots 2014-05-06 21:50:08 +02:00
Sébastien Helleu 37ad9e3684 irc: add option irc.look.join_auto_add_chantype (closes #65) 2014-05-06 21:25:31 +02:00
Sébastien Helleu ce189fdd2d core: add missing semicolon in .travis.yml 2014-05-05 22:37:52 +02:00
Sébastien Helleu c119c2b8ac core: use before_script instead of before_install (Travis) 2014-05-05 22:33:35 +02:00
Sébastien Helleu cf0b70eab2 core: use tee to write in /etc/apt/apt.conf (Travis) 2014-05-05 22:24:31 +02:00
Sébastien Helleu 5566656f6a core: set option APT::Install-Recommends before commands apt-get / mk-build-deps (Travis) 2014-05-05 22:17:45 +02:00
Sébastien Helleu 519cc13273 core: add option "APT::Install-Recommends=false" for apt-get (Travis) 2014-05-05 21:57:31 +02:00
Sébastien Helleu a3ce4da854 core: remove use of virtualenv for Travis 2014-05-05 20:15:48 +02:00
Sébastien Helleu d10080bca2 core: add install of package libenchant-dev for Travis
Package libenchant-dev is required by pyenchant (used in msgcheck).
2014-05-05 20:07:53 +02:00
Sébastien Helleu 13375fd077 core: add check of .po files with msgcheck for Travis 2014-05-05 19:47:06 +02:00
Sébastien Helleu 4dbdf458d3 Merge pull request #70 from l/translation_ja
core: update Japanese translations
2014-05-04 19:35:21 +02:00
AYANOKOUZI, Ryuunosuke 4652b7e1bd core: update Japanese translations 2014-05-05 02:07:41 +09:00
Sébastien Helleu 7f1cd19b45 core: change default key for bare display from alt-'!' to alt-'l' 2014-05-04 17:35:22 +02:00
Sébastien Helleu aa523be8be core: add build of man page and docs for Travis 2014-05-04 08:40:21 +02:00
Sébastien Helleu 85596a9b0e core: do the "cd build" on its own line in .travis.yml 2014-05-04 07:34:47 +02:00
Sébastien Helleu 0a097bd706 core: add missing empty line in README.asciidoc 2014-05-04 07:30:22 +02:00
Sébastien Helleu 3223429d29 Merge pull request #69 from Mkaysi/travis
Travis
2014-05-04 07:29:37 +02:00
Mikaela Suomalainen 8199c0a3f7 core: .travis.yml: install equivs
which is required by previous mk-build-deps which comes from devscripts and
 which should depend on equivs, but it doesn't...
2014-05-03 21:51:23 +03:00
Mikaela Suomalainen 333a5ad330 core: .travis.yml: install devscripts to get mk-build-deps / fix build. 2014-05-03 21:48:06 +03:00
Mikaela Suomalainen f67b3dc24a core: .travis.yml: install build-depedencies as said in debian/control. 2014-05-03 21:45:15 +03:00
Mikaela Suomalainen 3db53f6ed2 core: README.asciidoc: move build status under homepage link. 2014-05-03 21:30:47 +03:00
Mikaela Suomalainen 2dd8bfb94a core: .travis.yml: remove debug & ulimit && run weechat 2014-05-03 21:24:54 +03:00
Mikaela Suomalainen 994b1e9baa core: .travis.yml: remove ulimit & -DCMAKE_BUILD_TYPE=Debug. 2014-05-03 21:21:05 +03:00
Mikaela Suomalainen 1d7f72aff3 core: merge "mkdir build" & cd build in .travis.yml
to "mkdir build;cd build"
2014-05-03 20:56:29 +03:00
Mikaela Suomalainen 586c9b3558 core: add Travis build status to README.asciidoc . 2014-05-03 19:02:56 +03:00
Mikaela Suomalainen df3f6207f6 core: add .travis.yml 2014-05-03 18:54:12 +03:00
Sébastien Helleu 33450ddb8b Version 1.0-dev
Yeah \o/
2014-04-30 19:43:56 +02:00
Sébastien Helleu 9af7b7412c Merge pull request #64 from stfnm/doc_fix_prototype_weechat_hashtable_dup
doc: fix prototype of function weechat_hashtable_dup (plugin API referen...
2014-04-28 21:33:18 +02:00
stfn cf89b22de0 doc: fix prototype of function weechat_hashtable_dup (plugin API reference) 2014-04-28 19:48:43 +02:00
nils_2 b174b3c3c8 doc: update German documentation 2014-04-23 21:29:16 +02:00
nils_2 17126be49a doc: update German documentation 2014-04-23 21:28:18 +02:00
nils_2 0601062a9d doc: update German documentation 2014-04-23 21:28:05 +02:00
Sébastien Helleu 93e4b5e4bf doc: add chapter about IRC private messages in quickstart guide 2014-04-22 21:11:52 +02:00
Sébastien Helleu 2ffc5135b4 doc: update German auto-generated files 2014-04-21 09:48:45 +02:00
nils_2 d021ad5f76 core: update German translations 2014-04-21 09:43:30 +02:00
Sébastien Helleu 838d421e67 doc: update Japanese auto-generated files 2014-04-21 09:19:23 +02:00
Sébastien Helleu fce9779236 Merge pull request #61 from l/translation_ja
core: update Japanese translations
2014-04-20 19:05:35 +02:00
AYANOKOUZI, Ryuunosuke e401aea560 core: update Japanese translations 2014-04-21 00:51:39 +09:00
Sébastien Helleu c760098647 core: add non-breaking spaces in French translations 2014-04-20 09:25:40 +02:00
nils_2 242c497f4a core: update German translation 2014-04-18 09:32:24 +02:00
Sébastien Helleu 1d7b44202a irc: fix description of arguments in infolist "irc_nick"
Only the nick is optional is this infolist (server and channel are required).
2014-04-17 23:31:50 +02:00
Sébastien Helleu 6f64ee699b doc: update German and Japanese auto-generated files 2014-04-17 07:54:25 +02:00
nils_2 c7a9e4bac8 core: update German translations 2014-04-13 14:18:56 +02:00
Sébastien Helleu df6986aecd Merge pull request #56 from l/translation_ja
core: update Japanese translations
2014-04-13 13:07:37 +02:00
AYANOKOUZI, Ryuunosuke 69fc4645ac core: update Japanese translations 2014-04-13 19:53:03 +09:00
Sébastien Helleu db912ded26 xfer: fix freeze/problems when sending empty files with DCC (closes #53) 2014-04-13 12:52:25 +02:00
Sébastien Helleu 417811ba01 irc: add alias "whois" for target buffer of messages 401/402 (closes #54) 2014-04-13 11:22:22 +02:00
Sébastien Helleu a311764d12 relay: add signal "relay_client_auth_ok" for irc and weechat protocols 2014-04-13 08:27:27 +02:00
Sébastien Helleu 96086b1666 core: update ChangeLog 2014-04-12 23:10:04 +02:00
Sébastien Helleu 34723d2acc api: allow wildcard "*" inside the mask in function string_match 2014-04-12 23:07:06 +02:00
Sébastien Helleu 001ea53f9d core: fix crash on "weechat --upgrade" if no .upgrade files are found 2014-04-12 21:45:27 +02:00
Sébastien Helleu 7618fdd240 core: use lower case for CMake keywords 2014-04-12 18:00:27 +02:00
Sébastien Helleu 51d18c92e5 charset: fix /help charset.default.decode
The charset is used only when the message is not UTF-8 valid.
2014-04-12 17:32:33 +02:00
Sébastien Helleu c5583b064a core: add note about API mismatch (rmodifier.so) in release notes 2014-04-12 16:28:41 +02:00
Sébastien Helleu 62df708fdc core: add tag "host_xxx" in /help filter 2014-04-12 13:25:58 +02:00
Sébastien Helleu 1abdde6be5 trigger: add variable "tg_tag_host" (from tag "host_xxx" in message) 2014-04-12 13:23:26 +02:00
Sébastien Helleu c1cce9f1c3 irc: add tag with host ("host_xxx") in IRC messages displayed 2014-04-12 13:22:27 +02:00
Sébastien Helleu e901d14a1f trigger: interpret escaped chars in regex 2014-04-12 09:31:24 +02:00
Sébastien Helleu dea2960d13 core: add option "-current" in command /print 2014-04-12 08:59:06 +02:00
Sébastien Helleu d0d4d2ef5b trigger: remove obsolete comment 2014-04-12 08:44:16 +02:00
Sébastien Helleu 0866bc7e6d xfer: fix help of option xfer.file.convert_spaces 2014-04-12 08:32:31 +02:00
Sébastien Helleu a62a75c873 debian: add Japanese version of relay protocol doc 2014-04-06 08:27:50 +02:00
Sébastien Helleu c600d2c4a1 doc: update German auto-generated files 2014-04-05 21:14:46 +02:00
nils_2 016995bcee core: update German translation 2014-04-05 21:06:59 +02:00
Sébastien Helleu 6438259310 doc: add missing buffer properties in plugin API reference (hidden, zoomed, filter) 2014-04-05 19:16:03 +02:00
Sébastien Helleu 55d77ed216 core: add option -all for command /buffer hide|unhide 2014-04-05 18:43:11 +02:00
Sébastien Helleu 21cfd8d858 core: fix restoration of core buffer properties after /upgrade 2014-04-05 18:32:26 +02:00
Sébastien Helleu 8199c966ce doc: add "version >= 0.4.4" for messages _buffer_{hidden|unhidden} (relay protocol) 2014-04-05 16:58:19 +02:00
Sébastien Helleu 836ed0bbfe relay: add messages "_buffer_hidden" and "_buffer_unhidden" 2014-04-05 16:53:48 +02:00
Sébastien Helleu c7ce05d5ec core: add hidden buffers, add options hide/unhide in command /buffer 2014-04-05 16:30:13 +02:00
Sébastien Helleu 2beefdfc2a doc: update Japanese auto-generated files 2014-04-05 16:15:43 +02:00
Sébastien Helleu 2b9645c2c8 doc: build relay protocol before developer's guide 2014-04-05 16:02:39 +02:00
Sébastien Helleu be321ce396 doc: fix typo in Makefile.am for Japanese docs 2014-04-05 16:01:33 +02:00
Sébastien Helleu e6a1d01bfb Merge pull request #51 from l/translation_ja
doc: update Japanese translations, add Japanese version of relay protocol
2014-04-05 15:58:41 +02:00
AYANOKOUZI, Ryuunosuke 6d55dd23a4 core: update Japanese translations 2014-04-05 22:46:08 +09:00
Sébastien Helleu cd6eaf42ba core: fix completion of /buffer clear 2014-04-05 11:51:03 +02:00
Sébastien Helleu a44a1eab19 core: fix "/buffer clear" with a name (don't clear all merged buffers with same number) 2014-04-05 11:49:06 +02:00
Sébastien Helleu 698d6a3631 doc: update German auto-generated files 2014-04-04 19:06:14 +02:00
nils_2 08317689a8 core: update German translation 2014-04-04 18:41:31 +02:00
Sébastien Helleu 37144535a5 core: fix evaluation of expression with regex when a comparison char is in the regex 2014-04-04 16:52:12 +02:00
Sébastien Helleu e143518e4b doc: use freenode instead of oftc in examples (quickstart guide) 2014-04-04 16:12:33 +02:00
Sébastien Helleu df8acd1d7b irc: allow many fingerprints in server option ssl_fingerprint (closes #49) 2014-04-04 16:00:07 +02:00
Sébastien Helleu de4ce8eeb6 irc: add option irc.look.item_channel_modes_hide_args (task #12070, task #12163, closes #48)
This option replaces the option irc.look.item_channel_modes_hide_key.
It is now a string, so channel modes arguments can be hidden using many
channel modes (or all, with "*").
2014-04-04 12:32:59 +02:00
Sébastien Helleu 79533566c6 core: add a message about key alt-c in /color buffer 2014-04-04 10:31:35 +02:00
Sébastien Helleu 982373f7e9 irc: add option irc.color.item_nick_modes (closes #47) 2014-04-04 09:45:17 +02:00
Sébastien Helleu 719558b5c8 doc: add example to set charset for whole IRC server (user's guide) 2014-04-03 19:28:31 +02:00
Sébastien Helleu efde7a0956 doc: update style for commands 2014-04-03 19:16:00 +02:00
Sébastien Helleu c4c6d2cddc core: add "hotlist" in completion of command "/buffer set" 2014-04-03 14:34:01 +02:00
Sébastien Helleu 2a9bd75eee core: close .upgrade files before deleting them after /upgrade 2014-04-03 14:23:31 +02:00
Sébastien Helleu 134713c6d1 doc: add value "-1" for property "hotlist" in function buffer_set (plugin API reference) 2014-04-03 13:56:33 +02:00
Sébastien Helleu 55e43e15f8 api: allow value "-1" for property "hotlist" in function buffer_set (to remove a buffer from hotlist) 2014-04-03 13:53:18 +02:00
Sébastien Helleu 220682c1bc exec: fix tag stdout/stderr used in command output 2014-04-03 13:11:03 +02:00
Sébastien Helleu 7bff59ed33 exec: remove comment 2014-04-03 13:08:53 +02:00
Sébastien Helleu a470a1a890 exec: kill all processes using an exec buffer that is being closed 2014-04-03 12:24:20 +02:00
Sébastien Helleu d055d4a2bd exec: add examples with "tail -f" and "-kill" in /help exec 2014-04-03 12:22:53 +02:00
Sébastien Helleu 7c55cbb38b exec: display output of commands in real time, add options -flush/-noflush in command /exec 2014-04-03 11:55:04 +02:00
Sébastien Helleu 936d5559f4 api: add option "buffer_flush" in function hook_process_hashtable 2014-04-03 11:39:23 +02:00
Sébastien Helleu 6bf64e979d exec: display command output even if process is killed 2014-04-03 09:19:30 +02:00
Sébastien Helleu cbd5f1122a doc: update German auto-generated files 2014-04-02 20:38:12 +02:00
nils_2 77ff8857a4 core: update German translation 2014-04-02 20:19:32 +02:00
Sébastien Helleu 21f9cc64ac trigger: add a comma in title of trigger monitor buffer 2014-04-02 19:55:54 +02:00
Sébastien Helleu 84faeb26f9 script: add commas in title of script buffer 2014-04-02 19:55:47 +02:00
Sébastien Helleu a0d0711bb0 core: use an integer for seconds in command /window bare <delay> 2014-04-02 13:29:58 +02:00
Sébastien Helleu dfe3ee6b18 doc: update style for keys in docs 2014-04-01 16:01:16 +02:00
Sébastien Helleu a03232e155 core: add default key alt-'-' to toggle filters in current buffer (closes #17) 2014-04-01 16:00:44 +02:00
Sébastien Helleu af32279dc5 core: fix typo in a French translation 2014-04-01 14:27:02 +02:00
Sébastien Helleu 3b32d62fa6 trigger: add filter in trigger monitor buffer
The filter can be set with /trigger monitor <filter> or by entering data
in the trigger monitor input.
2014-04-01 14:26:02 +02:00
Sébastien Helleu e96639123b core: don't remove a buffer from hotlist if it's not visible (another merged buffer is zoomed) 2014-03-31 11:26:06 +02:00
Sébastien Helleu 0e561104fa core: add non-active merged buffers with activity in hotlist (if another merged buffer is zoomed) (task #12845)
There was a bug with "num_displayed" in buffers when they are merged and
that one buffer is zoomed: now the num_displayed is > 0 for the active buffer,
and it is set to 0 for all merged non-active buffers (only in case of zoom).

A variable "zoomed" has been added in buffers to know if a buffer with this
number is zoomed or not (possibly another buffer).
2014-03-31 10:31:56 +02:00
Sébastien Helleu 1fedd443da core: fix refresh of bar item "buffer_zoom" on buffer switch 2014-03-31 10:27:31 +02:00
Sébastien Helleu 58e86f004c core: use seconds as float number for delay in command /window bare <delay> 2014-03-30 22:28:51 +02:00
Sébastien Helleu e791c24a2e irc: allow "$ident" in option irc.network.ban_mask_default (closes #18) 2014-03-30 18:58:11 +02:00
Sébastien Helleu 474541b857 irc: add support of "away-notify" capability (closes #12) 2014-03-30 16:16:13 +02:00
Sébastien Helleu d7d91d6cf3 exec: fix typo in /help exec 2014-03-30 12:25:34 +02:00
Sebastien Helleu 0cfbae1512 core: fix reset of attributes in bars when "resetcolor" is used (closes #41) 2014-03-30 08:34:32 +02:00
Sebastien Helleu 5c1e5988f9 core: fix alignment of lines in merged buffers (closes #43)
The bug happened when options weechat.look.prefix_align and
weechat.look.prefix_buffer_align are set to "none".
2014-03-29 20:26:49 +01:00
Sebastien Helleu e2d708187c doc: update Japanese auto-generated files 2014-03-29 18:54:47 +01:00
Sébastien Helleu 1e33cc70f1 Merge pull request #44 from l/translation_ja
core: update Japanese translations
2014-03-29 18:45:24 +01:00
AYANOKOUZI, Ryuunosuke b46e2efadf core: update Japanese translations 2014-03-30 02:30:07 +09:00
Sebastien Helleu 2e08e39d2e core: quit WeeChat on signal SIGHUP, remove signal "signal_sighup" 2014-03-29 18:21:05 +01:00
Sebastien Helleu db000cd3b0 core: add text search in buffers with free content (task #13051) 2014-03-29 17:06:36 +01:00
Sebastien Helleu 29364768c6 doc: remove tags "translation missing" in french FAQ 2014-03-28 18:34:29 +01:00
Sebastien Helleu d2d2143792 doc: add question about terminal focus in FAQ 2014-03-28 14:28:27 +01:00
Sebastien Helleu 2556c46285 doc: update German auto-generated file with exec command 2014-03-27 21:29:44 +01:00
Sebastien Helleu 09aff01c71 doc: update auto-generated files with hdata 2014-03-27 21:28:36 +01:00
nils_2 75354ad530 core: update German translations 2014-03-27 19:27:56 +01:00
Sebastien Helleu 6a5f0fbc07 core: fix crash on /reload weechat
The problem was introduced in commit eef3b57075
which was storing split commands inside keys themselves (for optimization).

This causes a problem when weechat.conf is reloaded, because all keys are
then deleted and created again, which removes the array of commands which
is currently used. And then it leads to a crash of WeeChat.

This commit reverts this behavior and the key commands are split when they
are executed.
2014-03-27 07:53:01 +01:00
Sebastien Helleu d129b39b86 doc: use command /script in question about installation of scripts (FAQ) 2014-03-26 13:28:29 +01:00
Sebastien Helleu ee5819239d doc: add command to install script buffers.pl (FAQ) 2014-03-26 12:18:46 +01:00
Sebastien Helleu 364a4e522b doc: add link to WeeChat doc page (FAQ) 2014-03-26 12:14:09 +01:00
Sebastien Helleu 97b787b7a3 doc: replace links to weechat.org/scripts by command "/script search" (FAQ) 2014-03-25 19:42:22 +01:00
Sebastien Helleu 6942d08abc doc: replace links to remote GUIs by link to features page (FAQ) 2014-03-25 19:37:22 +01:00
Sebastien Helleu 03f73b8cdc core: skip and ignore color attributes before special names like "reset" in gui_color_get_custom 2014-03-25 15:36:21 +01:00
Sebastien Helleu 28df18379f core: save/restore buffer property "clear" on /upgrade 2014-03-25 11:47:46 +01:00
Sebastien Helleu 3375db7720 core: save/restore buffer property "day_change" on /upgrade 2014-03-25 11:44:57 +01:00
Sebastien Helleu d0138a8742 core: update ChangeLog 2014-03-25 11:43:10 +01:00
Sebastien Helleu babb3abff4 exec: allow clear of new buffers with /buffer clear 2014-03-25 10:56:05 +01:00
Sebastien Helleu 92ec36eced core: add buffer property "clear" 2014-03-25 10:55:12 +01:00
Sebastien Helleu 8deb0d3612 exec: add options -nf and -cl/-nocl in command /exec
-nf: create a new buffer with free content
-cl: clear new buffer
-nocl: append in new buffer
2014-03-25 09:25:47 +01:00
Sebastien Helleu 966a2f4fb4 irc: fix notify message: "joined" -> "connected" 2014-03-24 14:34:09 +01:00
Sebastien Helleu 0fb3f7d4a3 doc: add bare display in questions about copy/paste and click on long URLs (FAQ) 2014-03-24 07:28:46 +01:00
Sebastien Helleu 5776bcc818 doc: update German auto-generated files 2014-03-23 21:14:59 +01:00
nils_2 59c722c196 doc: update German documentation 2014-03-23 13:14:52 +01:00
nils_2 67b6baf05d doc: update German faq 2014-03-23 13:09:04 +01:00
nils_2 e434b552fb doc: update German documentation 2014-03-23 13:08:40 +01:00
nils_2 4f52c4a8f9 core: update German translations 2014-03-23 13:07:51 +01:00
Sebastien Helleu ea34976d4d doc: update the contribute chapter in developer's guide 2014-03-23 08:27:18 +01:00
Sébastien Helleu aa3a82f2f2 Merge pull request #39 from Mkaysi/links
README.asciidoc: fix links.
2014-03-23 08:10:21 +01:00
Mikaela Suomalainen 2334d7be10 README.asciidoc: add anchors to links. 2014-03-23 09:06:54 +02:00
Mikaela Suomalainen b99f4bce61 README.asciidoc: fix links. 2014-03-23 09:01:57 +02:00
Sebastien Helleu f7e52e2a08 doc: update Japanese auto-generated files 2014-03-23 07:35:31 +01:00
Sébastien Helleu b2318896e3 Merge pull request #38 from l/translation_ja
core: update Japanese translations
2014-03-23 07:31:30 +01:00
AYANOKOUZI, Ryuunosuke 1e3010cd6f core: update Japanese translations 2014-03-23 06:11:49 +09:00
Sébastien Helleu 2dcacc2ce3 Merge pull request #37 from Mkaysi/patch-1
core: fix developer's guide link in Contributing.asciidoc
2014-03-22 16:42:31 +01:00
Mikaela Suomalainen d5730060c7 Contributing.asciidoc: fix developer's guide link
The link directed to WeeChat.org instead of the developer's guide.
2014-03-22 17:09:50 +02:00
Sebastien Helleu 6fe09ccb19 doc: replace "echo -e" with "printf" in user's guide 2014-03-22 10:27:46 +01:00
Sebastien Helleu aad5765e35 irc: replace "user" by "nick" in description of commands 2014-03-22 10:05:45 +01:00
Sebastien Helleu 73576b49d0 irc: fix arguments in /help unquiet: at least one nick/host is required 2014-03-22 10:01:25 +01:00
Sebastien Helleu 262340ba19 irc: update description of some commands 2014-03-22 09:55:13 +01:00
Sebastien Helleu c9116e4982 irc: add command /unquiet (closes #36) 2014-03-22 09:30:04 +01:00
Sebastien Helleu e2798b2cf2 core: fix typo in /help command 2014-03-21 14:32:09 +01:00
Sebastien Helleu f1d483303d doc: update question about messages displayed on channel join (FAQ) 2014-03-20 19:51:53 +01:00
Sebastien Helleu 98c6b1a810 doc: update list of actions executed when a trigger is called (user's guide) 2014-03-20 19:11:32 +01:00
Sebastien Helleu 37438fc0e3 doc: add plugins trigger/exec in CMake options and list of default plugins (user's guide) 2014-03-20 19:06:02 +01:00
Sebastien Helleu 3a6313c4b5 api: add support of nested variables in function string_eval_expression and command /eval (closes #35) 2014-03-20 15:57:46 +01:00
Sebastien Helleu e6c775050b doc: update German auto-generated files 2014-03-20 10:51:43 +01:00
nils_2 fb8b0d9a5a core: update German translations 2014-03-19 21:53:22 +01:00
Sebastien Helleu 89160c565e core: fix add of filter on OS X when regex for message is empty (filter regex ending with "\t") 2014-03-19 19:59:02 +01:00
Sebastien Helleu b09fbea954 irc: fix typo in /help allpv 2014-03-19 19:24:35 +01:00
Sebastien Helleu 63b474013e irc: add command /allpv (task #13111) 2014-03-19 19:13:41 +01:00
Sebastien Helleu 9b380a935b core: fix use of reserved C identifiers in headers (closes #31) 2014-03-19 10:39:13 +01:00
Sebastien Helleu bc96d2f1ec core: add key alt-j,alt-f to jump to first buffer, change command for jump to last buffer
New key alt-j,alt-f is bound by default to "/buffer -".
The existing key alt-j,alt-l is now bound by default to "/buffer +".
2014-03-19 10:15:57 +01:00
Sebastien Helleu dac4d3a06a doc: update Japanese auto-generated files 2014-03-19 10:05:27 +01:00
Sébastien Helleu 800168b671 Merge pull request #28 from l/translation_ja
core: update Japanese translations
2014-03-18 19:22:21 +01:00
AYANOKOUZI, Ryuunosuke 568c038b12 core: update Japanese translations 2014-03-19 02:57:05 +09:00
Sebastien Helleu f82fe29ac3 core: update the message displayed on crash
Add a reference to user's guide, do not ask user to send the crash log
file any more (it may have private data and is not needed in most cases).
2014-03-18 15:22:15 +01:00
Sebastien Helleu 387cc5048a irc: fix truncated read on socket with SSL (bug #41558)
If there are still data on socket with SSL
(if gnutls_record_check_pending(session) returns > 0), then call
gnutls_record_recv() again to read all available data.

The problem was that some data remained in the gnutls buffers and the recv
callback was not called any more (nothing available on raw socket).
2014-03-18 13:27:18 +01:00
Sebastien Helleu ffb0ec47c2 core: check validity of buffer pointer when data is sent to a buffer 2014-03-18 12:08:11 +01:00
Sebastien Helleu 476729b897 core: fix crash when buffer is closed during execution of multiple commands (closes #27) 2014-03-18 11:50:44 +01:00
Sebastien Helleu ac89c976e2 core: remove trailing whitespace in a Polish translation 2014-03-18 10:48:09 +01:00
Sebastien Helleu f09e1c136c core: remove trailing space in log message when writing a configuration file 2014-03-18 09:25:15 +01:00
Sebastien Helleu 03b9b6c1a5 core: update German translations 2014-03-18 09:18:39 +01:00
Sebastien Helleu d6fbe95090 trigger: set default variable "tg_remaining_calls" for regex in timer callback 2014-03-17 18:23:11 +01:00
Sebastien Helleu 63c2915e3c irc: fix typo in /help kickban 2014-03-17 17:23:55 +01:00
Sebastien Helleu 30de830982 exec: don't use shell by default when executing commands (for security reasons)
It is possible to force shell by default with this command:
/set exec.command.default_options "-sh"
2014-03-17 14:59:00 +01:00
Sebastien Helleu e84eaafe8e script: set option script.scripts.cache_expire to 1440 by default 2014-03-17 12:59:46 +01:00
Sebastien Helleu db852a3f26 core: fix "/window scroll_bottom" on a buffer with free content
The bug was introduced by commit 8fac1eea40
which purpose was to not scroll to the end of buffer with "/window scroll -N"
when the top of buffer is displayed.

This commit is adding the syntax "--N" to force a scroll from the end (only
used by "/window scroll_bottom").
2014-03-17 08:32:18 +01:00
Sebastien Helleu 1a4c68a3d3 doc: update German auto-generated files 2014-03-17 07:13:44 +01:00
Sebastien Helleu 4905f3829f core: fix typo in French translation of /help logger 2014-03-17 07:13:07 +01:00
Sebastien Helleu a4a4e2f38f core: fix compilation on SmartOS (bug #40981, closes #23) 2014-03-16 19:18:16 +01:00
Sebastien Helleu d920f87455 core: fix some compilation problems on SmartOS 2014-03-16 17:46:56 +01:00
Sebastien Helleu 907e099f86 api: allow negative value for y in function printf_y 2014-03-16 17:21:35 +01:00
Sebastien Helleu fa28d23c4d ruby: fix crash when trying to load a directory with /ruby load 2014-03-16 16:49:41 +01:00
nils_2 c0d43497f1 core: update German translations 2014-03-16 14:16:26 +01:00
Sebastien Helleu 7f54a1adc1 ruby: add detection of Ruby 2.1 2014-03-16 11:26:47 +01:00
Sebastien Helleu 6981a17bbb exec: add example with option "-pipe" in /help exec 2014-03-16 10:29:07 +01:00
Sebastien Helleu 9a51449ee6 exec: add return code ("rc") in hashtable sent with option "-hsignal" 2014-03-16 10:08:08 +01:00
Sebastien Helleu bd2a625386 core: update translations 2014-03-16 09:55:41 +01:00
Sebastien Helleu fcf5e84fa4 exec: add values "irc" and "weechat" for option "-color", replace "decode" by "auto" 2014-03-16 09:52:44 +01:00
Sebastien Helleu ffba715ea1 exec: add options "-pipe" and "-hsignal" in command /exec 2014-03-16 09:37:45 +01:00
Sebastien Helleu 7afd013665 trigger: fix build of hashtable in hsignal callback when values have type "string" 2014-03-16 08:50:24 +01:00
Sebastien Helleu 11f2f5d3e4 exec: do not create/switch to buffer with option "-bg" 2014-03-15 19:48:37 +01:00
Sebastien Helleu 4245de528e exec: add examples in /help exec 2014-03-15 19:40:15 +01:00
Sebastien Helleu ff636cae89 exec: fix typo in /help exec 2014-03-15 19:22:28 +01:00
nils_2 0c18f6defe core: update German translations 2014-03-15 19:12:23 +01:00
Sebastien Helleu 112398ee62 exec: fix compilation on OpenBSD
Looks like the variable name "stdout" is a problem on OpenBSD (macro?).
So "stdout" and "stderr" are renamed to "out" an "err".
2014-03-15 15:56:58 +01:00
Sebastien Helleu 4ee2ef584d doc: add exec plugin in developer's guide 2014-03-15 15:15:29 +01:00
Sebastien Helleu fff24d0a23 core: update translations 2014-03-15 15:08:49 +01:00
Sebastien Helleu c92b186e01 exec: rename value "off" to "ansi" for option "-color" in command /exec 2014-03-15 12:43:06 +01:00
Sebastien Helleu 520509d62c core: update ChangeLog 2014-03-15 12:31:11 +01:00
Sebastien Helleu 85abcaedaa Merge branch 'exec' 2014-03-15 12:28:07 +01:00
Sebastien Helleu a62430b744 doc: fix IRC colors 14/15 in user's guide 2014-03-15 12:14:20 +01:00
Sebastien Helleu 0bfbe8ef40 irc: add decoding of bright ANSI colors (90-97, 100-107) 2014-03-15 12:09:51 +01:00
Sebastien Helleu 6749ed354d core: add decoding of bright ANSI colors (90-97, 100-107) 2014-03-15 12:09:31 +01:00
Sebastien Helleu 298f0211c1 exec: add option "-color" in command /exec (decode ANSI colors by default)
The ANSI colors are decoded by default to WeeChat colors (for local display),
or IRC colors (if output is sent to buffer with "-o").
2014-03-15 11:30:08 +01:00
Sebastien Helleu d3c85c920c irc: add modifier "irc_color_decode_ansi" 2014-03-15 11:12:49 +01:00
Sebastien Helleu e38f437ad7 core: add modifier and infos to decode ANSI colors
New modifier:
- color_decode_ansi: convert ANSI colors to WeeChat colors (or remove colors).

New infos:
- color_ansi_regex: regex used to parse ANSI colors in a string
- color_term2rgb: convert a terminal color (0-255) to RGB
- color_rgb2term: convert a RGB color to terminal color (0-255)
2014-03-15 11:06:30 +01:00
Sebastien Helleu 9e659d9f2e core: add options "term2rgb" and "rgb2term" in command /color 2014-03-14 19:51:52 +01:00
Sebastien Helleu a97bcd1ca1 core: add functions to convert RGB to terminal color (and vice versa) 2014-03-14 19:16:13 +01:00
Sebastien Helleu 5c5084c37f xfer: fix connection to remote host in DCC receive on Mac OS X (closes #25) 2014-03-14 09:29:41 +01:00
Sébastien Helleu b9b55f9c81 Merge pull request #26 from talisein/bug25
xfer: Don't use sockaddr_storage for address_length
2014-03-14 09:27:30 +01:00
Andrew Potter 1baa2e288c xfer: Fix segfault in DCC send.
This was broken before the previous change, since remote_address was
just a zero'd out struct.
2014-03-13 21:05:47 -07:00
Andrew Potter 92d454eb8d xfer: Don't use sockaddr_storage for address_length
Hopefully this addresses #25.
2014-03-13 20:32:59 -07:00
Sebastien Helleu d791e76e1b exec: switch to exec buffer even if it is already opened 2014-03-13 14:50:38 +01:00
Sebastien Helleu d52e5d8c8a core: update ChangeLog (closes #24) 2014-03-13 14:17:04 +01:00
Sebastien Helleu eb21248ae7 core: fix highlight problem with "(?-i)" and upper case letters in option weechat.look.highlight 2014-03-13 14:14:10 +01:00
Sebastien Helleu 7b31d397b7 exec: add missing empty lines in output of commands
The function weechat_string_split() collapses many separators (here "\n"),
so empty lines were removed and not displayed.

For example, if output is "Line1\n\nEnd\n", the empty line between "Line1"
and "End" was not displayed.
2014-03-13 12:08:33 +01:00
Sebastien Helleu cd65198c71 api: add callback in function string_replace_regex 2014-03-13 10:59:58 +01:00
Sebastien Helleu c8f574d730 exec: disable "output to buffer" if command is executed on an exec buffer 2014-03-13 09:02:36 +01:00
Sebastien Helleu 0eca1fd20b exec: add options "-rc"/"-norc" (display return code) in command /exec 2014-03-13 07:56:20 +01:00
Sebastien Helleu 571a7a5dbe exec: execute commands from input of exec buffers 2014-03-13 07:38:16 +01:00
Sebastien Helleu 1a30be392b core: update ChangeLog 2014-03-12 22:26:14 +01:00
Fredrik Fornwall cdb2a7374d core: use glibtoolize on mac instead of libtoolize 2014-03-12 22:25:59 +01:00
Fredrik Fornwall 2ea9f673a8 core: assume iconv usability when cross compiling
AC_TRY_RUN needs a fallback action when cross compiling.
2014-03-12 22:12:07 +01:00
Sebastien Helleu 86e12946a5 irc: add "#" before any channel in /join, even /join 0 (closes #20) 2014-03-12 22:00:05 +01:00
nils_2 ace01aff50 core: update translations 2014-03-12 21:36:09 +01:00
Sebastien Helleu ed6ea18c30 exec: add options "-ln"/"-noln" (line numbers) in command /exec 2014-03-12 19:52:04 +01:00
Sebastien Helleu 08bffd6f5a exec: automatically disable shell if command starts with "url:" (URL download) 2014-03-12 19:18:29 +01:00
Sebastien Helleu 6c20e402dc exec: add options "-buffer" and "-sw"/"-nosw" in command /exec 2014-03-12 19:13:56 +01:00
Sebastien Helleu 442bc80da6 exec: add option "-inclose" in command /exec 2014-03-12 12:04:23 +01:00
Sebastien Helleu 2962ce55d6 exec: add missing completion of "-ns" in command /exec 2014-03-12 11:56:09 +01:00
Sebastien Helleu e8de096625 exec: add options "-n"/"-ns" in command /exec (display output in a new buffer) 2014-03-12 11:54:00 +01:00
Sebastien Helleu 0790836695 exec: add option exec.command.default_options 2014-03-12 09:57:39 +01:00
Sebastien Helleu 0b73de9e98 core: update ChangeLog 2014-03-12 09:44:39 +01:00
Sebastien Helleu 4582a3cd24 Merge branch 'master' of git://github.com/talisein/weechat-1 into talisein-master 2014-03-12 09:36:09 +01:00
Sebastien Helleu 19d93d28ab core: update ChangeLog 2014-03-12 09:30:09 +01:00
Sebastien Helleu a38e577596 core: update translations 2014-03-12 09:30:09 +01:00
Shawn Smith d3ee1bcfe0 irc: display output of CAP LIST in server buffer (closes #10) 2014-03-12 09:30:02 +01:00
Andrew Potter 9f140ca805 xfer: Fix xfer.network.own_ip behavior
Fixes #5. xfer shouldn't try to bind() to the own_ip
address. Instead, always bind to the same local address that is
connected to the irc server, and just change the out_addr if own_ip is
used.

Also fixes a memory leak in error path.
2014-03-11 21:21:18 -07:00
Sebastien Helleu 9543f9c034 core: add missing \0 at the end of stderr buffer in hook_process 2014-03-11 21:11:54 +01:00
Sebastien Helleu d5e1a52e24 exec: fix crash when giving bad id to command /exec -in 2014-03-11 20:13:28 +01:00
Sebastien Helleu 2dc6eeaee2 exec: add option "-del" in command /exec 2014-03-11 18:11:52 +01:00
Sebastien Helleu 281cfdda94 exec: add option "-bg" in command /exec 2014-03-11 17:51:06 +01:00
Sebastien Helleu 5708b3977c exec: update plugin API version 2014-03-11 17:49:50 +01:00
Sebastien Helleu 319f2a51ec exec: fix typos in /help exec 2014-03-11 17:49:50 +01:00
Sebastien Helleu e3de3e6dda exec: add option "-set" in command /exec 2014-03-11 17:49:50 +01:00
Sebastien Helleu 29e498d002 exec: replace number by id in /help exec 2014-03-11 17:49:50 +01:00
Sebastien Helleu 67b892d1fd exec: add list of signal names in /help exec 2014-03-11 17:49:50 +01:00
Sebastien Helleu 2527c282c3 exec: implement options -signal/-kill/-killall in command /exec 2014-03-11 17:49:49 +01:00
Sebastien Helleu 3f50356a14 exec: remove error prefix in case of unexpected end of a command 2014-03-11 17:49:49 +01:00
Sebastien Helleu ee2cb329f4 exec: display command return code after output (stdout/stderr) 2014-03-11 17:49:49 +01:00
Sebastien Helleu 9355c867ed exec: add tag "exec_rc" for line with command return code, remove empty line displayed before 2014-03-11 17:49:49 +01:00
Sebastien Helleu 97254780d6 exec: add exec plugin 2014-03-11 17:49:49 +01:00
Sebastien Helleu 4f48c7a566 api: add option "detached" in function hook_process_hashtable 2014-03-11 17:48:52 +01:00
Sebastien Helleu cd66b459de relay: search buffers by full name 2014-03-11 15:30:51 +01:00
Sebastien Helleu e3207000dd fifo: search buffer by full name when text is received in pipe 2014-03-11 15:16:55 +01:00
Sebastien Helleu 9c838d2628 api: add support of case insensitive search and search by buffer full name in function buffer_search (bug #34318) 2014-03-11 15:07:36 +01:00
Sebastien Helleu 925ba52793 core: update translations 2014-03-11 13:06:00 +01:00
Sebastien Helleu 42b416af19 api: add option "signal" in function hook_set to send a signal to the child process 2014-03-11 11:14:07 +01:00
Sebastien Helleu b6da2c3fa5 core: fix detection of terminated process in hook_process
Check if the process is finished, even if stdout/stderr are not closed.
Moreover, if the process was terminated by a signal, the return code is
set to WEECHAT_HOOK_PROCESS_ERROR.
2014-03-11 11:01:00 +01:00
Sebastien Helleu acb24d9d2a trigger: add plugin name in error messages 2014-03-10 21:10:23 +01:00
Sebastien Helleu 765b603cb2 trigger: remove unneeded code to make C compiler happy 2014-03-09 09:13:29 +01:00
Sebastien Helleu 1589e54e02 trigger: fix typo in a comment 2014-03-08 09:15:17 +01:00
Sebastien Helleu 3c2d8ca776 core: add shadow on WeeChat screenshot in README 2014-03-07 20:56:31 +01:00
Sebastien Helleu 32703ae42b core: set option weechat.look.buffer_search_where to prefix_message by default 2014-03-07 20:47:28 +01:00
Sebastien Helleu f62472e377 script: fix scroll on script buffer in the detailed view of script (closes #6) 2014-03-07 17:50:18 +01:00
Sebastien Helleu 8fac1eea40 core: fix "/window scroll -N" on a buffer with free content 2014-03-07 17:46:51 +01:00
Sebastien Helleu 62d3c4ebfc doc: update German auto-generated files 2014-03-07 09:25:50 +01:00
Sebastien Helleu 7a191c2de1 relay: fix crash on /upgrade received from a client (weechat protocol)
Some commands like /upgrade sent by relay client can cause problems, because
they were executed immediately (while relay code is running). The /upgrade
command unloads all plugins, so the result is unpredictable (it can cause a
crash).

This commit adds a timer (1 millisecond) to delay the execution of command
after we go back in the WeeChat main loop.
2014-03-07 09:22:21 +01:00
nils_2 c87cd88e72 de.po: add missing translations 2014-03-06 22:41:54 +01:00
Sebastien Helleu dc2365104f core: add option weechat.look.hotlist_add_conditions, remove option weechat.look.hotlist_add_buffer_if_away 2014-03-06 19:29:08 +01:00
Sebastien Helleu 6fbba54bf0 core: fix recursive calls to function eval_expression 2014-03-06 18:23:20 +01:00
Sebastien Helleu 0edf3c0674 core: add a WeeChat screenshot in README.asciidoc 2014-03-06 09:52:01 +01:00
Sebastien Helleu 458dc88330 core: add asciidoc attribute "lang" in Contributing and README 2014-03-06 09:51:07 +01:00
Sebastien Helleu 659cf10f3b core: add sub-sections and note about scripts in Contributing.asciidoc 2014-03-05 14:04:23 +01:00
Sebastien Helleu 63b2b30d80 core: fix typo in Contributing.asciidoc 2014-03-05 13:31:22 +01:00
Sebastien Helleu ecf18c81f7 core: add file Contributing.asciidoc 2014-03-05 13:27:34 +01:00
Sebastien Helleu b2a48a9913 core: move content of INSTALL.asciidoc into README.asciidoc 2014-03-05 12:44:10 +01:00
Sebastien Helleu 59f0927c9b core: rename file NEWS.asciidoc to ReleaseNotes.asciidoc 2014-03-05 12:21:54 +01:00
Sebastien Helleu 2d7778292a relay: add info "relay_client_count" with optional status name as argument
Use in evaluated strings (for example in /eval or triggers):
- "${info:relay_client_count}": total number of relay clients (any status)

With a specific status:
- "${info:relay_client_count,connecting}"
- "${info:relay_client_count,waiting_auth}"
- "${info:relay_client_count,connected}"
- "${info:relay_client_count,auth_failed}"
- "${info:relay_client_count,disconnected}"
2014-03-05 11:49:25 +01:00
Sebastien Helleu 0995eb334f relay: add signals "relay_client_xxx" for client status changes (closes #2)
New signals:
- relay_client_connecting
- relay_client_waiting_auth
- relay_client_connected
- relay_client_auth_failed
- relay_client_disconnected
2014-03-05 11:43:32 +01:00
Sebastien Helleu 7115f8306a core: add link to formatted version of {ChangeLog|NEWS}.asciidoc 2014-03-05 11:06:49 +01:00
Sebastien Helleu 90b2094b70 core: add .asciidoc files in main Makefile.am 2014-03-05 10:37:04 +01:00
Sebastien Helleu 1d928b50cc core: add "foreign" for AM_INIT_AUTOMAKE to ignore missing files and remove some warnings 2014-03-05 10:35:15 +01:00
Tor Hveem 0c05c82f77 Use asciidoc file ending for all asciidoc files 2014-03-04 23:39:07 +01:00
Sebastien Helleu fba765cb8f trigger: update description of trigger plugin 2014-03-04 21:48:23 +01:00
Sebastien Helleu 76c0e8938e debian: replace rmodifier by trigger in control file 2014-03-04 21:44:43 +01:00
Sebastien Helleu 6b7d96f4b4 core: mute all buffers by default in command /mute (replace option -all by -core) 2014-03-04 16:12:56 +01:00
Sebastien Helleu 12b82146aa core: save and restore mute state in command /mute (bug #41748) 2014-03-04 14:42:35 +01:00
Sebastien Helleu 2b2c729854 trigger: add some missing "+" after spaces in regex of default triggers cmd_pass/msg_auth 2014-03-04 12:38:54 +01:00
Sebastien Helleu 3c398bd61d rmodifier: remove plugin (replaced by trigger) 2014-03-04 12:08:33 +01:00
Sebastien Helleu d3281b7812 doc: update German auto-generated files 2014-03-04 09:25:55 +01:00
nils_2 cff840c9ae de.po: update german translation 2014-03-03 21:51:52 +01:00
Sebastien Helleu 61fee37095 doc: update links to git repositories (savannah -> github) 2014-03-03 12:31:02 +01:00
Sebastien Helleu bd06f0f60f doc: add trigger example to colorize URLs 2014-03-02 18:59:57 +01:00
Sebastien Helleu be9046741f core: fix memory in execution of commands
This memory leak was introduced by commit aa81067ad0
2014-03-02 17:59:40 +01:00
Sebastien Helleu 32a4f4e1d5 core: fix memory leak when removing a hdata 2014-03-02 17:59:08 +01:00
Sebastien Helleu 4b57c95494 core: fix memory leak in evaluation of sub-conditions 2014-03-02 17:43:19 +01:00
Sebastien Helleu 16c13e94a6 trigger: add variable "tg_notify" (notify level of a message, if different from "none") 2014-03-02 12:35:34 +01:00
Sebastien Helleu 0329cb65f3 doc: add trigger doc in user's guide 2014-03-02 09:29:14 +01:00
Sebastien Helleu cc5ab76186 trigger: allow chars '\' and '(' as delimiter in regex 2014-03-02 08:40:17 +01:00
Sebastien Helleu ddf3e9043b trigger: do not create the trigger with /trigger add if the regex is invalid 2014-03-02 08:32:05 +01:00
Sebastien Helleu 8f0294f8d0 trigger: fix typo in /help trigger 2014-03-01 19:00:54 +01:00
Sebastien Helleu 7a1798a7fb trigger: fix typo in /help trigger 2014-03-01 17:42:28 +01:00
Sebastien Helleu 44b8447ff0 trigger: make optional the alignment on second and max calls (in hook timer) 2014-03-01 17:25:48 +01:00
Sebastien Helleu 050d2023d6 irc: fix colors in message with CTCP reply sent to another user 2014-02-28 15:07:23 +01:00
Sebastien Helleu cf48fa4642 irc: evaluate content of server options "username" and "realname" 2014-02-28 15:00:39 +01:00
Sebastien Helleu 4196dcf7a5 doc: update auto-generated files with WeeChat commands 2014-02-28 14:55:58 +01:00
Sebastien Helleu a4c385db99 core: fix output of /eval -n when there is a tab in output 2014-02-28 14:34:49 +01:00
Sebastien Helleu ea71121723 api: add support of escaped strings in function string_eval_expression and command /eval 2014-02-28 14:31:40 +01:00
Sebastien Helleu 13b0a88f21 trigger: allow empty return code in command /trigger {add|addoff|addreplace} 2014-02-28 11:48:59 +01:00
Sebastien Helleu 02dcc3cb69 xfer: replace constant by sizeof in a call to snprintf 2014-02-28 11:45:18 +01:00
Sebastien Helleu 7ff2dd13cb rmodifier: fix size used in a snprintf 2014-02-28 11:41:14 +01:00
Sebastien Helleu 4c3a10506a relay: fix size used in a snprintf 2014-02-28 11:40:55 +01:00
Sebastien Helleu 82ade05f66 irc: fix size used in some snprintf 2014-02-28 11:39:48 +01:00
Sebastien Helleu 6ea8c2d83c irc: fix some malloc sizes 2014-02-28 11:39:24 +01:00
Sebastien Helleu 7213fe5826 scripts: fix size used in some snprintf 2014-02-28 11:38:23 +01:00
Sebastien Helleu 0084eaa193 core: replace constant by sizeof in a call to snprintf 2014-02-27 09:44:59 +01:00
Sebastien Helleu c8cd6c4639 core: fix size used in some snprintf 2014-02-26 09:17:20 +01:00
Sebastien Helleu 1aae49a2eb core: fix malloc size when building filename of upgrade file 2014-02-25 09:20:44 +01:00
Sebastien Helleu 59f4fe05bc core: fix size used in snprintf when reading a configuration file 2014-02-24 10:41:51 +01:00
Sebastien Helleu fdfee08cf8 relay: add option relay.network.clients_purge_delay 2014-02-23 20:32:42 +01:00
Sebastien Helleu 897bb0950c relay: fix freeze after /upgrade when many disconnected clients still exist
The hooks for the WeeChat disconnected clients are not created again
after /upgrade (they were removed on client disconnection, so there is
no reason to create them again).

The hooks like nicklist sync are called often (for example on irc
disconnection), which can cause long freeze if many WeeChat disconnected
clients exist in relay.
2014-02-23 13:07:45 +01:00
Sebastien Helleu 1cd1877128 doc: add chapter about bare display in user's guide 2014-02-23 10:03:30 +01:00
Sebastien Helleu 314f17c7f4 doc: fix typo in a link (user's guide) 2014-02-23 09:28:56 +01:00
Sebastien Helleu 2396224d3f doc: add missing nicks in screen examples (user's guide) 2014-02-23 09:21:19 +01:00
Sebastien Helleu 980326c685 trigger: fix potential uninitialized pointer in signal hook callback 2014-02-22 20:23:08 +01:00
Sebastien Helleu 76469269ce core: fix uninitialized value in functions secure_{encrypt|decrypt}_data (in case of insufficient memory) 2014-02-22 20:20:57 +01:00
Sebastien Helleu 88d5ff3f20 core: fix possible zero bytes allocation in /help command 2014-02-22 20:03:34 +01:00
Sebastien Helleu 4d7e6c1664 core: fix potential dereference of NULL pointer in function command_set_display_option 2014-02-22 19:54:02 +01:00
Sebastien Helleu c3775888bd trigger: fix crash when a signal is received with type "int" and NULL pointer in signal_data 2014-02-22 17:10:35 +01:00
Sebastien Helleu 0c3835d824 scripts: fix crash when a signal is received with type "int" and NULL pointer in signal_data 2014-02-22 17:10:01 +01:00
Sebastien Helleu a08679c887 irc: set option irc.network.autoreconnect_delay_max to 600 by default, increase max value to 604800 seconds (7 days) 2014-02-22 16:33:02 +01:00
Sebastien Helleu a0651e11bd core: fix memory leak in function gui_key_add_to_infolist (in case of insufficient memory) 2014-02-22 15:22:27 +01:00
Sebastien Helleu b8f07e935a core: remove dead assignment in function gui_key_pressed 2014-02-22 15:16:31 +01:00
Sebastien Helleu 60456c31e9 relay: remove dead assignment in function relay_client_recv_cb 2014-02-22 15:13:26 +01:00
Sebastien Helleu b04fead1ab core: remove dead assignment in function gui_bar_window_draw 2014-02-22 15:07:59 +01:00
Sebastien Helleu 381140f964 irc: remove dead assignment in function irc_ignore_check 2014-02-22 14:59:24 +01:00
Sebastien Helleu 3ef27075f9 xfer: remove dead assignment in function xfer_add_cb 2014-02-22 14:54:21 +01:00
Sebastien Helleu e4493a1b0c relay: remove dead assignment in function relay_irc_get_line_info 2014-02-22 14:51:59 +01:00
Sebastien Helleu 86f5145e1a irc: fix read of MODES server value when in commands /op, /deop, /voice, /devoice, /halfop, /dehalfop 2014-02-22 14:30:30 +01:00
Sebastien Helleu 6339c15c6d script: remove dead assignments in functions script_action_{unload|reload} 2014-02-22 13:57:28 +01:00
Sebastien Helleu 7191114104 core: remove dead assignment in function gui_chat_printf_y 2014-02-22 13:39:52 +01:00
Sebastien Helleu 4a9e1c98d2 irc: remove dead assignments in functions irc_server_str(n)casecmp 2014-02-22 13:37:54 +01:00
Sebastien Helleu 47d89ce201 core: fix use of invalid pointer in function gui_bar_window_content_alloc (in case of insufficient memory) 2014-02-22 12:57:01 +01:00
Sebastien Helleu bcf0a94bf4 core: comment unneeded assignment in function string_split_shell (make C static analyzer happy) 2014-02-22 12:50:38 +01:00
Sebastien Helleu 913de0c29b core: fix uninitialized value in function string_decode_base64 2014-02-22 12:46:57 +01:00
Sebastien Helleu 9ce8fc7068 core: fix memory leak and use of invalid pointer in split of string (in case of insufficient memory) 2014-02-22 12:28:19 +01:00
Sebastien Helleu 0110f81e88 core: fix potential NULL pointer in function gui_color_emphasize 2014-02-22 12:07:43 +01:00
Sebastien Helleu c3c1a63ea8 trigger: use command "/print -beep" in default trigger "beep" 2014-02-22 12:02:02 +01:00
Sebastien Helleu 57e195391b relay: fix NULL pointer when reading buffer lines for irc backlog 2014-02-22 11:44:19 +01:00
Sebastien Helleu 639fbbff79 trigger: fix wrong info in /help trigger.trigger.xxx.regex 2014-02-21 17:59:33 +01:00
Sebastien Helleu b4cef01e2a core: update ChangeLog 2014-02-21 16:36:31 +01:00
Sebastien Helleu 3847318497 core: update translations 2014-02-21 16:32:34 +01:00
Sebastien Helleu f907ea17d5 Merge branch 'trigger' 2014-02-21 15:36:14 +01:00
Sebastien Helleu d6e7c9fda6 trigger: return WEECHAT_RC_ERROR in command /trigger if arguments are wrong/missing 2014-02-21 14:48:23 +01:00
Sebastien Helleu 3019187178 core: update ChangeLog 2014-02-21 13:40:24 +01:00
Sebastien Helleu f97f406efb core: update translations 2014-02-21 13:39:35 +01:00
Sebastien Helleu 078f549c4a rmodifier: return WEECHAT_RC_ERROR in command /rmodifier if arguments are wrong/missing 2014-02-21 13:39:26 +01:00
Sebastien Helleu eb26e13814 relay: return WEECHAT_RC_ERROR in command /relay if arguments are wrong/missing 2014-02-21 13:39:03 +01:00
Sebastien Helleu a3253378b7 script: return WEECHAT_RC_ERROR in command /script if arguments are wrong/missing 2014-02-21 13:38:46 +01:00
Sebastien Helleu 84edf5443a guile: return WEECHAT_RC_ERROR in command /guile if arguments are wrong/missing 2014-02-21 13:38:27 +01:00
Sebastien Helleu 9e2e59c3e1 tcl: return WEECHAT_RC_ERROR in command /tcl if arguments are wrong/missing 2014-02-21 13:38:11 +01:00
Sebastien Helleu cf827580f5 lua: return WEECHAT_RC_ERROR in command /lua if arguments are wrong/missing 2014-02-21 13:37:58 +01:00
Sebastien Helleu decbaf306d ruby: return WEECHAT_RC_ERROR in command /ruby if arguments are wrong/missing 2014-02-21 13:37:46 +01:00
Sebastien Helleu d86d6013ef perl: return WEECHAT_RC_ERROR in command /perl if arguments are wrong/missing 2014-02-21 13:37:31 +01:00
Sebastien Helleu 18fd85de7d python: return WEECHAT_RC_ERROR in command /python if arguments are wrong/missing 2014-02-21 13:37:17 +01:00
Sebastien Helleu 2dbcffc93e logger: return WEECHAT_RC_ERROR in command /logger if arguments are wrong/missing 2014-02-21 13:36:39 +01:00
Sebastien Helleu f535aad9fc irc: use same return code and message in all commands when arguments are wrong/missing 2014-02-21 13:10:05 +01:00
Sebastien Helleu 898c9dc195 charset: remove unneeded test in command /charset 2014-02-21 13:09:43 +01:00
Sebastien Helleu 01c7f1cc6a alias: use same return code and message in all commands when arguments are wrong/missing 2014-02-21 13:09:24 +01:00
Sebastien Helleu aa81067ad0 core: use same return code and message in all commands when arguments are wrong/missing 2014-02-21 13:08:20 +01:00
Sebastien Helleu f78f42d833 irc: add note about option irc.network.whois_double_nick in /help whois 2014-02-20 11:44:30 +01:00
Sebastien Helleu cdadbdec0d irc: set option irc.network.whois_double_nick to "off" by default 2014-02-20 11:40:45 +01:00
Sebastien Helleu b400be0486 trigger: add option "addreplace" in command /trigger (used by /trigger recreate)
Now the command "/trigger recreate" does not delete the trigger any more.
Instead the option "addreplace" is used in input, so the existing trigger
is overwritten if the command is sent.
2014-02-20 11:20:23 +01:00
Sebastien Helleu f8a5c26d96 alias: change default command for alias /beep to "/print -beep" 2014-02-20 11:02:36 +01:00
Sebastien Helleu f376893681 core: add option "-beep" in command /print 2014-02-20 11:00:24 +01:00
Sebastien Helleu 975b9c8912 core: add contributor to AUTHORS 2014-02-20 08:42:48 +01:00
Sebastien Helleu a15184a9bd irc: fix parsing of nick/host when there is nothing after in message (malformed message) 2014-02-20 08:39:18 +01:00
Felix Eckhofer 7fb84bdb03 irc: fix parsing of nick in host when '!' is not found (bug #41640) 2014-02-20 08:35:23 +01:00
Sebastien Helleu 36641bc3d3 core: add missing option "rename" in /help filter and in command completion 2014-02-19 10:35:39 +01:00
Sebastien Helleu 194b362e23 doc: add chapter about secured data in user's guide 2014-02-18 19:26:55 +01:00
Sebastien Helleu 8e1ad0b1f0 doc: fix some title levels in Japanese user's guide 2014-02-18 19:18:53 +01:00
Sebastien Helleu 7b37bf701e guile: fix module used after unload of a script 2014-02-17 22:01:14 +01:00
Sebastien Helleu be159f42a8 lua: fix interpreter used after unload of a script 2014-02-17 22:00:16 +01:00
Sebastien Helleu 77058acc0a perl: fix context used after unload of a script 2014-02-17 21:57:51 +01:00
Sebastien Helleu 5ac3d538b8 python: fix interpreter used after unload of a script 2014-02-17 21:56:21 +01:00
Sebastien Helleu 652ec24449 core: allow empty arguments for command /print 2014-02-17 11:12:36 +01:00
Sebastien Helleu 86b0c99029 trigger: add option "addoff" in command /trigger (add a trigger in disabled state) 2014-02-16 18:57:43 +01:00
Sebastien Helleu 45db2e9668 core: update ChangeLog (add option "bare" in command /window) 2014-02-16 16:22:19 +01:00
Sebastien Helleu 39be4e3387 core: add bare display mode (for easy text selection and click on URLs)
New key: alt+"!", to swith to bare display (same key to come back to
standard display).

New options:
- weechat.look.bare_display_exit_on_input (default: on): by default
  any changes in input will return to standard display
- weechat.look.bare_display_time_format (default: "%H:%M"): the format
  of time used in bare display.
2014-02-16 11:29:03 +01:00
Sebastien Helleu 20a70c80f8 core: add missing feature in ChangeLog for v0.4.3 (use one date format when day changes from day to day+1) 2014-02-16 10:07:13 +01:00
Sebastien Helleu 508437b6e7 doc: fix typo in prototypes of functions hashtable_map/hashtable_map_string (plugin API reference) 2014-02-15 13:16:00 +01:00
Sebastien Helleu 360f900d92 core: move function string_replace before string_replace_regex 2014-02-15 12:59:05 +01:00
Sebastien Helleu 7aba5f713f core: add trigger plugin in Cygwin packaging 2014-02-15 12:48:49 +01:00
Sebastien Helleu e664e7f698 core: add trigger plugin in debian packaging (in package weechat-plugins) 2014-02-15 12:48:31 +01:00
Sebastien Helleu 1637c2b64f doc: add trigger plugin in docgen.py 2014-02-15 12:47:52 +01:00
Sebastien Helleu 69ee211b26 trigger: add file trigger.conf in man page 2014-02-15 12:47:02 +01:00
Sebastien Helleu 56f74ae768 trigger: remove triggers in /help trigger that are already default triggers 2014-02-15 11:25:19 +01:00
Sebastien Helleu 4028e5c200 trigger: update help of options trigger.trigger.xxx.{arguments|command} 2014-02-15 11:18:39 +01:00
Sebastien Helleu 2a5b2c6705 trigger: add trigger plugin in developer's guide 2014-02-15 10:48:45 +01:00
Sebastien Helleu 151a0c0190 trigger: update description of command /trigger 2014-02-14 19:42:12 +01:00
Sebastien Helleu b32193bee5 trigger: remove the return code with /trigger input/output/recreate for modifier and focus hooks 2014-02-14 19:17:27 +01:00
Sebastien Helleu 4fc2db8df4 trigger: fix return code of focus callback 2014-02-14 19:07:31 +01:00
Sebastien Helleu fe33f7d019 trigger: allow restart of trigger only if trigger is enabled 2014-02-14 18:41:15 +01:00
Sebastien Helleu 8e63a9a52f trigger: add option trigger.look.enabled (can be changed with /trigger enable|disable|toggle) 2014-02-14 18:35:29 +01:00
Sebastien Helleu f52770137f trigger: add option "recreate" in command /trigger
The "recreate" option is the same as "input" but the trigger is first
deleted. So this lets you recreate the same trigger and edit some things
if needed.
2014-02-14 15:15:21 +01:00
Sebastien Helleu ac82063928 core: add asciidoc attributes in files ChangeLog/NEWS 2014-02-14 15:06:02 +01:00
Sebastien Helleu e782020b14 core: fix completion template used in command completion when first argument in template has pipes 2014-02-14 14:50:31 +01:00
Sebastien Helleu c25bd9c26b trigger: add option "copy" in command /trigger 2014-02-14 14:21:24 +01:00
Sebastien Helleu 93038a3634 trigger: add options "input" and "output" in command /trigger 2014-02-14 12:37:34 +01:00
Sebastien Helleu 90c233a364 doc: add function string_convert_escaped_chars in plugin API reference 2014-02-14 12:25:36 +01:00
Sebastien Helleu fa2600f496 doc: add function string_split_shell in plugin API reference 2014-02-14 11:15:09 +01:00
Sebastien Helleu 05eda016ec doc: add function string_replace_regex in plugin API reference 2014-02-14 10:55:18 +01:00
Sebastien Helleu 0bfacb5592 core: change text in comment of function string_replace_regex 2014-02-14 10:54:38 +01:00
Sebastien Helleu f4606ef0a9 doc: add function hashtable_dup in plugin API reference 2014-02-14 09:19:03 +01:00
Sebastien Helleu ec9adea198 core: use item "buffer_last_number" instead of "buffer_count" by default in status bar 2014-02-13 22:34:20 +01:00
Sebastien Helleu 03abd78355 core: sync debian files with debian git repository 2014-02-13 22:10:27 +01:00
Sebastien Helleu b530aa5f5a trigger: add strings without colors in hashtable for modifier "weechat_print" and hook print
For modifier "weechat_print", variables added:
- tg_string_nocolor (same as tg_string, without colors)
- tg_prefix_nocolor (same as tg_prefix, without colors)
- tg_message_nocolor (same as tg_message, without colors)

For hook print, variables added:
- tg_prefix_nocolor (same as tg_prefix, without colors)
- tg_message_nocolor (same as tg_message, without colors)
2014-02-13 19:31:48 +01:00
Sebastien Helleu 7356d1889a trigger: add "tg_prefix" and "tg_message" in hashtable for modifier "weechat_print" 2014-02-13 18:53:13 +01:00
Sebastien Helleu 0ac6ebe532 trigger: escape chars in regex replacement (when trigger is created) 2014-02-13 18:44:43 +01:00
Sebastien Helleu c06cfb25ce api: add function string_convert_escaped_chars 2014-02-13 18:39:55 +01:00
Sebastien Helleu a9550dbf8f trigger: display arguments of triggers on monitor buffer 2014-02-13 18:33:11 +01:00
Sebastien Helleu a7dbaf8162 trigger: evaluate regex replacement on execution of trigger (and not when creating the trigger) 2014-02-13 18:20:00 +01:00
Sebastien Helleu d74259303f trigger: fix call of IRC message parser on non-IRC messages in modifier callback 2014-02-13 17:37:22 +01:00
Jason A. Donenfeld c324610226 core: fix freeze/crash in gnutls (bug #41576)
The link is now made against pthread on all platforms.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2014-02-13 16:09:35 +01:00
Sebastien Helleu e36c49995b trigger: add "server" in hashtable after parsing of IRC message 2014-02-13 15:04:54 +01:00
Sebastien Helleu 65b40ab5cc trigger: parse IRC messages received in signal/modifier hook callbacks
The parsed message is added into hashtable "extra_vars".

For example, signal "freenode,irc_in_PRIVMSG" received with the message
"hello world!" on channel #weechat gives in the hashtable:

  extra_vars:
    tags: ""
    host: "tester!user@host.com"
    tg_signal: "freenode,irc_in_PRIVMSG"
    channel: "#weechat"
    tg_signal_data: ":tester!user@host.com PRIVMSG #weechat :hello world!"
    arguments: "#weechat :hello world!"
    nick: "tester"
    command: "PRIVMSG"
    message_without_tags: ":tester!user@host.com PRIVMSG #weechat :hello world!"
2014-02-13 13:38:10 +01:00
Sebastien Helleu c103bc6584 trigger: refactor some code in hook callbacks using macros 2014-02-13 12:52:06 +01:00
Sebastien Helleu 132b09bde9 trigger: add hook focus 2014-02-13 12:06:46 +01:00
Sebastien Helleu 00402b87c2 trigger: add hook command 2014-02-13 11:33:16 +01:00
Sebastien Helleu bc3eaa8d62 trigger: add extra colors in trigger monitor buffer 2014-02-13 11:24:03 +01:00
Sebastien Helleu 8ffba2ad9e trigger: add the name of buffer on trigger monitor when executing a command 2014-02-13 11:21:30 +01:00
Sebastien Helleu f821a94cc4 irc: use a more explicit error when the creation of a temporary server failed 2014-02-13 10:06:25 +01:00
Sebastien Helleu f057e86390 doc: update auto-generated files with hdata 2014-02-13 10:05:17 +01:00
Sebastien Helleu 271f92a66d doc: fix typo in plugin API reference 2014-02-12 13:31:22 +01:00
Sebastien Helleu 44411f123a core: fix cmake warning CMP0007 on "make uninstall" (bug #41528) 2014-02-12 10:33:21 +01:00
Sebastien Helleu f324a1589d core: add signals "key_combo_{default|search|cursor}" 2014-02-11 20:09:02 +01:00
Sebastien Helleu a9aca06545 core: ignore return value of 'write' in function hook_set (fix compiler warning) 2014-02-11 11:55:05 +01:00
Sebastien Helleu 04cb8dd4da core: replace compiler flag -W by -Wextra (new name) 2014-02-11 11:50:05 +01:00
Sebastien Helleu 4f5865ddfe core: sync debian files with debian git repository 2014-02-11 10:29:54 +01:00
Sebastien Helleu 4f0be6edb3 trigger: add option "show" in command /trigger 2014-02-10 22:25:25 +01:00
Sebastien Helleu eef3b57075 core: split key command when the key is created (improve speed when executing commands of a key) 2014-02-10 21:10:45 +01:00
Sebastien Helleu 437767c0ca api: add integer return code for functions hook_{signal|hsignal}_send 2014-02-10 17:42:53 +01:00
Sebastien Helleu 93d3375440 trigger: add option trigger.look.monitor_strip_colors 2014-02-10 13:28:45 +01:00
Sebastien Helleu 9b3d2eeec7 trigger: add hook config 2014-02-10 13:08:40 +01:00
Sebastien Helleu 614f34adbc trigger: add missing hook "command_run" in /help trigger 2014-02-10 13:01:20 +01:00
Sebastien Helleu 32facbe783 trigger: update actions performed in the trigger (in /help trigger) 2014-02-10 09:48:33 +01:00
Sebastien Helleu d877510825 trigger: add condition "${tg_tag_nick}" in trigger example "effects" (/help trigger) 2014-02-09 19:22:42 +01:00
Sebastien Helleu 8b17981d1f trigger: set variables in hashtable using message tags 2014-02-09 19:20:53 +01:00
Sebastien Helleu 471a2b1da1 trigger: add examples of triggers using "signal_sigwinch" in /help trigger 2014-02-09 17:17:20 +01:00
Sebastien Helleu 75e1c5320e trigger: add options trigger.color.flag_{command|conditions|regex|return_code} 2014-02-09 17:01:36 +01:00
Sebastien Helleu 6ab17dfec1 trigger: add default triggers 2014-02-09 16:17:11 +01:00
Sebastien Helleu 7c0d9fe850 core: improve the string_replace_regex function (add reference char, change syntax for match refs)
The reference char is now an argument for the function.
The references are now $0 .. $99 and $+ was added (last match, with
highest number).
The syntax to replace a match with one char is now: $.cN or $.c+
(for example: "$.*3").
2014-02-09 15:14:07 +01:00
Sebastien Helleu f666a356d7 trigger: add missing init of buffer pointer in modifier callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu 7b496197ef trigger: fix crash in callback if one regex is NULL (invalid) 2014-02-09 12:55:41 +01:00
Sebastien Helleu f04eb4ae23 trigger: add buffer pointer in modifier callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu d9bd1986ad trigger: refactor some code in hook callbacks (debug, conditions, regex, command) 2014-02-09 12:55:41 +01:00
Sebastien Helleu 53921acc38 trigger: fix evaluated command in callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu 09c75714f9 trigger: add option "listfull" in command /trigger 2014-02-09 12:55:41 +01:00
Sebastien Helleu 717d89a1f7 trigger: split trigger command on creation, not when executing the callback 2014-02-09 12:55:41 +01:00
Sebastien Helleu 4a9c9a0b07 trigger: add options trigger.color.trigger{_disabled} 2014-02-09 12:55:41 +01:00
Sebastien Helleu adf547a47c trigger: add option "addinput" in command /trigger 2014-02-09 12:55:41 +01:00
Sebastien Helleu 77e49a99e6 trigger: add missing value in trigger_hook_default_regex 2014-02-09 12:55:41 +01:00
Sebastien Helleu 9dab03fab2 trigger: do not sort completions for hook type (use order defined in trigger.h) 2014-02-09 12:55:41 +01:00
Sebastien Helleu b712eebece trigger: add callback for changes on hook option (trigger.trigger.xxx.hook) 2014-02-09 12:55:41 +01:00
Sebastien Helleu f8ffe9d590 trigger: reorder internal trigger vars 2014-02-09 12:55:41 +01:00
Sebastien Helleu a03653273c core: replace "regex_t *" by "void *" in string functions (fix ruby compilation error with autotools) 2014-02-09 12:55:40 +01:00
Sebastien Helleu 66158f41f2 trigger: add hook command_run 2014-02-09 12:55:40 +01:00
Sebastien Helleu 639ac51593 trigger: use case insensitive comparison when searching for a trigger name 2014-02-09 12:55:40 +01:00
Sebastien Helleu 63a3837d14 trigger: add option "restart" in command /trigger 2014-02-09 12:55:40 +01:00
Sebastien Helleu a09e46f456 trigger: remove the timer hook pointer during the last timer call 2014-02-09 12:55:40 +01:00
Sebastien Helleu 1496c8a25c trigger: add completion for all arguments of command /trigger add 2014-02-09 12:55:40 +01:00
Sebastien Helleu e372b8c8cb trigger: sort triggers by name 2014-02-09 12:55:40 +01:00
Sebastien Helleu bb48af29b6 trigger: split arguments like shell in "/trigger add", to create a whole trigger with one command 2014-02-09 12:55:40 +01:00
Sebastien Helleu b5bfeb7b8d api: add function string_split_shell 2014-02-09 12:55:40 +01:00
Sebastien Helleu 6bc7c456d7 core: add argument "num_items" in function string_split_shell 2014-02-09 12:55:40 +01:00
Sebastien Helleu a703fc8c17 trigger: add timer 2014-02-09 12:55:40 +01:00
Sebastien Helleu 8368fc8b1e trigger: execute callback even if regex/command are not set in the trigger 2014-02-09 12:55:40 +01:00
Sebastien Helleu 2c1ce41faa trigger: remove quotes around value in command /trigger set 2014-02-09 12:55:40 +01:00
Sebastien Helleu e0de501a0a trigger: add hsignal 2014-02-09 12:55:40 +01:00
Sebastien Helleu 2e28f7c6be api: add function hashtable_dup 2014-02-09 12:55:40 +01:00
Sebastien Helleu be8e32dd1b trigger: add support of variable in regex option
Examples with new format:
  /regex/text/
  /regex/text/var
  /regex1/text1/ /regex2/text2/
  /regex1/text1/var /regex2/text2/var
2014-02-09 12:55:40 +01:00
Sebastien Helleu bcff9162a7 trigger: enable many trigger names and value "-all" in command /trigger {enable|disable|toggle} 2014-02-09 12:55:40 +01:00
Sebastien Helleu c9b1444b8f trigger: fix regex result in a hook print 2014-02-09 12:55:40 +01:00
Sebastien Helleu 356ac05e07 trigger: display regex changes in monitor buffer 2014-02-09 12:55:40 +01:00
Sebastien Helleu a0a2103828 trigger: minor change in output of /trigger for regex 2014-02-09 12:55:40 +01:00
Sebastien Helleu e9e32931aa trigger: add more help in trigger options 2014-02-09 12:55:40 +01:00
Sebastien Helleu 4205f7c498 trigger: add option "rename" in command /trigger 2014-02-09 12:55:40 +01:00
Sebastien Helleu f92d6e9da3 trigger: do not allow a name starting with "-" 2014-02-09 12:55:40 +01:00
Sebastien Helleu 30942f7f62 trigger: add trigger plugin 2014-02-09 12:55:40 +01:00
Sebastien Helleu a0bf3938f1 core: display a warning in case of inconsistency between the options weechat.look.save_{config|layout}_on_exit 2014-02-09 12:51:34 +01:00
Sebastien Helleu 190f5dd5f2 core: add more info in /help weechat.look.hotlist_sort 2014-02-09 12:43:18 +01:00
Sebastien Helleu 8564d9c7ef Version 0.4.4-dev 2014-02-09 12:04:13 +01:00
Sebastien Helleu f25dd0c81e Version 0.4.3 2014-02-09 09:52:53 +01:00
Sebastien Helleu 2b4401339a doc: clean temporary files used to build man pages (autotools) 2014-02-08 23:40:21 +01:00
Sebastien Helleu 7b0e01265b doc: add missing Polish docs in Makefile.am 2014-02-08 23:38:31 +01:00
Ryuunosuke Ayanokouzi 1eedace713 doc: update Japanese translations, user/developer's guide and plugin API reference 2014-02-08 15:15:18 +01:00
Sebastien Helleu 43fb54f51d core: fix apply of layout when buffers that are not in layout are before some buffers in layout
Now when a layout is applied, the buffers in layout are inserted/sorted
first in the new list. Then the other buffers (not in layout) are added
after this loop, and then they are added after all layout buffers.
2014-02-07 17:07:45 +01:00
Sebastien Helleu bbd212c675 weercd.py: use /usr/bin/env in python shebang 2014-02-07 15:01:39 +01:00
Sebastien Helleu 52fb9fc237 core: fix typo in FindGnuTLS.cmake 2014-02-06 17:26:36 +01:00
Sebastien Helleu 0ffb61617a core: fix hotlist problems after apply of a layout (bug #41481)
This commit fixes a problem when computing the value of "num_displayed"
in all buffers. For merged buffers (with same number), the num_displayed
of each merged buffer must be incremented (and not only the current
active buffer).
2014-02-06 15:17:00 +01:00
Krzysztof Koroscik 6c33b0d6e6 doc: update Polish translations and user's guide 2014-02-06 11:25:35 +01:00
Sebastien Helleu d8b9e0a6bf ruby: add detection and fix compilation with Ruby 2.0 (patch #8209)
Now the search for Ruby is first performed with pkg-config and includes
detection of Ruby 2.0.
If not found, the old code for detection is used (for old distros or
old Ruby versions).

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

Thanks to Nils Görs.
2014-01-27 18:32:32 +01:00
Sebastien Helleu b8ffa87b5c logger: replace backslashs in name by logger replacement char under Cygwin (bug #41207) 2014-01-27 16:31:36 +01:00
Sebastien Helleu 58c615f33b core: fix memory leak in regex matching when evaluating expression 2014-01-26 20:04:05 +01:00
Sebastien Helleu f566de5d60 doc: update german auto-generated files with WeeChat commands and IRC options 2014-01-26 10:23:03 +01:00
Nils Görs 518dcfe9d9 core: update german translations and user's guide 2014-01-26 10:06:02 +01:00
Sebastien Helleu 0fbbbb4435 irc: add command "monitor" in /help irc.look.notify_tags_ison 2014-01-25 13:37:41 +01:00
Sebastien Helleu 86a99af606 scripts: fix script interpreter used after register during load of script in python/perl/ruby/lua/guile plugins (bug #41345) 2014-01-25 13:04:25 +01:00
Sebastien Helleu 97cede06b5 core: add support of escaped unicode chars in commands /print and "/input insert" 2014-01-24 12:53:23 +01:00
751 changed files with 83434 additions and 39896 deletions
+1
View File
@@ -3,3 +3,4 @@
.git* export-ignore
debian export-ignore
weechat.spec export-ignore
.mailmap export-ignore
+19
View File
@@ -0,0 +1,19 @@
# Map author and committer names and email addresses to canonical real names
# and email addresses.
#
# For example with these commands:
# git shortlog -nse
# git shortlog -se | cut -f2 | sort
Sébastien Helleu <flashcode@flashtux.org>
Sébastien Helleu <flashcode@flashtux.org> <flashcode@krypton>
Sébastien Helleu <flashcode@flashtux.org> <flashcode>
Sébastien Helleu <flashcode@flashtux.org> <uid67137>
Nils Görs <weechatter@arcor.de>
Ryuunosuke Ayanokouzi <i38w7i3@yahoo.co.jp>
Krzysztof Korościk <soltys@szluug.org>
Marco Paolone <marcopaolone@gmail.com>
<marcopaolone@gmail.com> <marco@DrB4tch.sitecomwl601>
<mikaela.suomalainen@outlook.com> <mkaysi@outlook.com>
<simon@arlott.org> <sa.me.uk>
<Simon.Kuhnle@cs.fau.de> <simon@blarzwurst.de>
+33
View File
@@ -0,0 +1,33 @@
language: c
compiler:
- gcc
- clang
env:
- BUILDTOOL="cmake" BUILDARGS=""
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_PYTHON3=ON"
- BUILDTOOL="cmake" BUILDARGS="-DENABLE_GNUTLS=OFF"
- BUILDTOOL="autotools" BUILDARGS=""
- BUILDTOOL="autotools" BUILDARGS="--enable-python3"
- BUILDTOOL="autotools" BUILDARGS="--disable-gnutls"
before_script:
- echo 'APT::Install-Recommends "false";' | sudo tee -a /etc/apt/apt.conf
- sudo apt-get update -qq
- sudo apt-get -y install devscripts equivs python-pip libenchant-dev autopoint asciidoc source-highlight xsltproc docbook-xsl docbook-xml cmake pkg-config libncursesw5-dev gem2deb libperl-dev python-dev python3-dev libaspell-dev liblua5.1-0-dev tcl8.5-dev guile-2.0-dev libcurl4-gnutls-dev libgcrypt11-dev libgnutls-dev zlib1g-dev curl
- curl -OL https://weechat.org/files/tests/ubuntu/precise/amd64/libcpputest-dev_3.4-3_amd64.deb
- sudo dpkg -i libcpputest-dev_3.4-3_amd64.deb
- sudo pip install msgcheck pylint
script:
- ./scripts/build.sh
- msgcheck po/*.po
- pylint doc/docgen.py
after_success:
- weechat --help
- weechat -r "/debug libs;/quit"
matrix:
fast_finish: true
+14 -5
View File
@@ -1,5 +1,7 @@
= WeeChat Authors
Sébastien Helleu <flashcode@flashtux.org>
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
== Developers
@@ -16,6 +18,7 @@ Alphabetically:
* Ailin Nemui (Nei)
* Aleksey V Zapparov
* Alex Tarkovsky
* Anders Bergh
* Andrew Potter (talisein)
* Antoine Pietri (seirl)
* Asakura
@@ -31,12 +34,14 @@ Alphabetically:
* Elizabeth Myers (Elizacat)
* Emanuele Giaquinta
* Esteban I. Ruiz Moreno (Exio)
* Felix Eckhofer
* Frank Zacharias
* Gu1ll4um3r0m41n
* Guido Berhoerster
* Gwenn
* Hasan Kiran (turgay)
* Ivan Sichmann Freitas
* Jason A. Donenfeld (zx2c4)
* JD Horelick (jdhore)
* Jim Ramsay (lack)
* Jiri Golembiovsky (GolemJ)
@@ -50,13 +55,17 @@ Alphabetically:
* Matt Robinson
* Mantas Mikulėnas (grawity)
* Mateusz Poszwa
* Max Anton Teufel
* Murilo Opsfelder Araujo
* Nicolas Cavigneaux
* Nils Görs (nils_2)
* nyuszika7h
* Odin
* Patrick Steinhardt
* Paul Komkoff
* Pavel Shevchuk (Stalwart)
* Peter Boström (pbos)
* Phillip Sz
* Pierre Carru
* Piotr Szymaniak
* Pistos
@@ -67,10 +76,12 @@ Alphabetically:
* Rudolf Polzer (divVerent)
* Ryuunosuke Ayanokouzi
* Sergio Durigan Junior
* Shawn Smith
* Simon Arlott
* Simon Kuhnle
* Stefano Pigozzi
* Stfn
* Tim D. Smith
* Tom Alsberg
* Tor Hveem (xt)
* Valentin Lorentz (progval)
@@ -79,7 +90,5 @@ Alphabetically:
== Contact
Developers are connected to IRC:
* server: 'irc.freenode.net'
* channels: '#weechat' (english) and '#weechat-fr' (french)
See https://weechat.org/files/doc/devel/weechat_user.en.html#support[user's guide]
or https://weechat.org/dev/support
+211 -104
View File
@@ -19,152 +19,259 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
PROJECT(weechat C)
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 -Werror-implicit-function-declaration")
IF(PREFIX)
SET(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
ENDIF(PREFIX)
project(weechat C)
SET(VERSION_MAJOR "0")
SET(VERSION_MINOR "4")
SET(VERSION_PATCH "3-rc1")
SET(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
SET(LICENSE "GPL3")
SET(PKG_STRING "${PROJECT_NAME} ${VERSION}")
STRING(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
# CMake options
set(CMAKE_VERBOSE_MAKEFILE OFF)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})
set(CMAKE_SKIP_RPATH ON)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror-implicit-function-declaration")
if(PREFIX)
set(CMAKE_INSTALL_PREFIX ${PREFIX} CACHE PATH "Install path prefix" FORCE)
endif()
IF(DEFINED LIBDIR)
SET(LIBDIR ${LIBDIR}/${PROJECT_NAME})
ELSE(DEFINED LIBDIR)
SET(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
ENDIF(DEFINED LIBDIR)
# version
set(VERSION_MAJOR "1")
set(VERSION_MINOR "1-rc1")
set(VERSION_PATCH "")
if(VERSION_PATCH STREQUAL "")
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR})
else()
set(VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
endif()
IF(NOT DEFINED SHAREDIR)
SET(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
ENDIF(NOT DEFINED SHAREDIR)
# license
set(LICENSE "GPL3")
IF(NOT DEFINED MANDIR)
SET(MANDIR ${SHAREDIR}/man)
ENDIF(NOT DEFINED MANDIR)
# package string
set(PKG_STRING "${PROJECT_NAME} ${VERSION}")
string(REPLACE "\";\"" "\ " PKG_STRING ${PKG_STRING})
IF(NOT DEFINED LOCALEDIR)
SET(LOCALEDIR ${SHAREDIR}/locale)
ENDIF(NOT DEFINED LOCALEDIR)
if(DEFINED LIBDIR)
set(LIBDIR ${LIBDIR}/${PROJECT_NAME})
else()
set(LIBDIR ${CMAKE_INSTALL_PREFIX}/lib/${PROJECT_NAME})
endif()
IF(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
ELSE(DEFINED INCLUDEDIR)
SET(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
ENDIF(DEFINED INCLUDEDIR)
if(NOT DEFINED SHAREDIR)
set(SHAREDIR ${CMAKE_INSTALL_PREFIX}/share)
endif()
OPTION(ENABLE_NCURSES "Enable Ncurses interface" ON)
OPTION(ENABLE_NLS "Enable Native Language Support" ON)
OPTION(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
OPTION(ENABLE_LARGEFILE "Enable Large File Support" ON)
OPTION(ENABLE_ALIAS "Enable Alias plugin" ON)
OPTION(ENABLE_ASPELL "Enable Aspell plugin" ON)
OPTION(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
OPTION(ENABLE_CHARSET "Enable Charset plugin" ON)
OPTION(ENABLE_FIFO "Enable FIFO plugin" ON)
OPTION(ENABLE_IRC "Enable IRC plugin" ON)
OPTION(ENABLE_LOGGER "Enable Logger plugin" ON)
OPTION(ENABLE_RELAY "Enable Relay plugin" ON)
OPTION(ENABLE_RMODIFIER "Enable Rmodifier plugin" ON)
OPTION(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
OPTION(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
OPTION(ENABLE_PERL "Enable Perl scripting language" ON)
OPTION(ENABLE_PYTHON "Enable Python scripting language" ON)
OPTION(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
OPTION(ENABLE_RUBY "Enable Ruby scripting language" ON)
OPTION(ENABLE_LUA "Enable Lua scripting language" ON)
OPTION(ENABLE_TCL "Enable Tcl scripting language" ON)
OPTION(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
OPTION(ENABLE_XFER "Enable Xfer plugin" ON)
OPTION(ENABLE_MAN "Enable build of man page" OFF)
OPTION(ENABLE_DOC "Enable build of documentation" OFF)
if(NOT DEFINED MANDIR)
set(MANDIR ${SHAREDIR}/man)
endif()
if(NOT DEFINED LOCALEDIR)
set(LOCALEDIR ${SHAREDIR}/locale)
endif()
if(DEFINED INCLUDEDIR)
set(INCLUDEDIR ${INCLUDEDIR}/${PROJECT_NAME})
else()
set(INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/include/${PROJECT_NAME})
endif()
option(ENABLE_NCURSES "Enable Ncurses interface" ON)
option(ENABLE_NLS "Enable Native Language Support" ON)
option(ENABLE_GNUTLS "Enable SSLv3/TLS support" ON)
option(ENABLE_LARGEFILE "Enable Large File Support" ON)
option(ENABLE_ALIAS "Enable Alias plugin" ON)
option(ENABLE_ASPELL "Enable Aspell plugin" ON)
option(ENABLE_ENCHANT "Enable Enchant lib for Aspell plugin" OFF)
option(ENABLE_CHARSET "Enable Charset plugin" ON)
option(ENABLE_EXEC "Enable Exec plugin" ON)
option(ENABLE_FIFO "Enable FIFO plugin" ON)
option(ENABLE_IRC "Enable IRC plugin" ON)
option(ENABLE_LOGGER "Enable Logger plugin" ON)
option(ENABLE_RELAY "Enable Relay plugin" ON)
option(ENABLE_SCRIPT "Enable Script plugin (scripts manager)" ON)
option(ENABLE_SCRIPTS "Enable script plugins (perl, python, ...)" ON)
option(ENABLE_PERL "Enable Perl scripting language" ON)
option(ENABLE_PYTHON "Enable Python scripting language" ON)
option(ENABLE_PYTHON3 "Use Python 3.x if found (NOT recommended)" OFF)
option(ENABLE_RUBY "Enable Ruby scripting language" ON)
option(ENABLE_LUA "Enable Lua scripting language" ON)
option(ENABLE_TCL "Enable Tcl scripting language" ON)
option(ENABLE_GUILE "Enable Scheme (guile) scripting language" ON)
option(ENABLE_TRIGGER "Enable Trigger plugin" ON)
option(ENABLE_XFER "Enable Xfer plugin" ON)
option(ENABLE_MAN "Enable build of man page" OFF)
option(ENABLE_DOC "Enable build of documentation" OFF)
option(ENABLE_TESTS "Enable tests" OFF)
# option WEECHAT_HOME
IF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "~/.weechat")
ENDIF(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
SET(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
if(NOT DEFINED WEECHAT_HOME OR "${WEECHAT_HOME}" STREQUAL "")
set(WEECHAT_HOME "~/.weechat")
endif()
set(WEECHAT_HOME "${WEECHAT_HOME}" CACHE
STRING "WeeChat home directory for config, logs, scripts.. (default is \"~/.weechat\")"
FORCE)
MARK_AS_ADVANCED(CLEAR WEECHAT_HOME)
mark_as_advanced(CLEAR WEECHAT_HOME)
# option CA_FILE
IF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
SET(CA_FILE "/etc/ssl/certs/ca-certificates.crt")
ENDIF(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
SET(CA_FILE "${CA_FILE}" CACHE
if(NOT DEFINED CA_FILE OR "${CA_FILE}" STREQUAL "")
set(CA_FILE "/etc/ssl/certs/ca-certificates.crt")
endif()
set(CA_FILE "${CA_FILE}" CACHE
STRING "File containing the certificate authorities (default is \"/etc/ssl/certs/ca-certificates.crt\"). This is the default value of option \"weechat.network.gnutls_ca_file\"."
FORCE)
MARK_AS_ADVANCED(CLEAR CA_FILE)
mark_as_advanced(CLEAR CA_FILE)
IF(ENABLE_NLS)
ADD_SUBDIRECTORY( po )
ENDIF(ENABLE_NLS)
if(COMMAND cmake_policy)
if(POLICY CMP0003)
cmake_policy(SET CMP0003 NEW)
endif()
if(POLICY CMP0017)
cmake_policy(SET CMP0017 NEW)
endif()
endif()
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( doc )
add_definitions(-DHAVE_CONFIG_H)
CONFIGURE_FILE(config.h.cmake config.h @ONLY)
include(CheckIncludeFiles)
include(CheckFunctionExists)
include(CheckSymbolExists)
check_include_files("langinfo.h" HAVE_LANGINFO_CODESET)
check_include_files("sys/resource.h" HAVE_SYS_RESOURCE_H)
check_function_exists(mallinfo HAVE_MALLINFO)
check_symbol_exists("eat_newline_glitch" "term.h" HAVE_EAT_NEWLINE_GLITCH)
# Check for Large File Support
if(ENABLE_LARGEFILE)
add_definitions(-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES)
endif()
# Check for Gettext
if(ENABLE_NLS)
find_package(Gettext)
if(GETTEXT_FOUND)
add_definitions(-DENABLE_NLS)
endif()
endif()
# Check for libgcrypt
find_package(GCRYPT REQUIRED)
add_definitions(-DHAVE_GCRYPT)
list(APPEND EXTRA_LIBS ${GCRYPT_LDFLAGS})
# Check for GnuTLS
if(ENABLE_GNUTLS)
find_package(GnuTLS)
if(GNUTLS_FOUND)
string(REGEX REPLACE "/[^/]*$" "" GNUTLS_LIBRARY_PATH "${GNUTLS_LIBRARY}")
add_definitions(-DHAVE_GNUTLS)
include_directories(${GNUTLS_INCLUDE_PATH})
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${GNUTLS_LIBRARY_PATH}")
list(APPEND EXTRA_LIBS gnutls)
endif()
endif()
# Check for zlib
find_package(ZLIB REQUIRED)
add_definitions(-DHAVE_ZLIB)
# Check for iconv
find_package(Iconv)
if(ICONV_FOUND)
add_definitions(-DHAVE_ICONV)
endif()
# Check for CURL
find_package(CURL REQUIRED)
# weechat_gui_common MUST be the first lib in the list
set(STATIC_LIBS weechat_gui_common)
find_library(DL_LIBRARY
NAMES dl
PATHS /lib /usr/lib /usr/libexec /usr/local/lib /usr/local/libexec
)
list(APPEND STATIC_LIBS weechat_plugins)
if(DL_LIBRARY)
string(REGEX REPLACE "/[^/]*$" "" DL_LIBRARY_PATH "${DL_LIBRARY}")
set(CMAKE_C_LINK_FLAGS "${CMAKE_C_LINK_FLAGS} -L${DL_LIBRARY_PATH}")
list(APPEND EXTRA_LIBS dl)
endif()
if(ENABLE_NLS)
add_subdirectory(po)
endif()
add_subdirectory(src)
add_subdirectory(doc)
if(ENABLE_TESTS)
enable_testing()
add_subdirectory(tests)
endif()
configure_file(config.h.cmake config.h @ONLY)
# set the git version in "config-git.h"
ADD_CUSTOM_TARGET(version_git ALL
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
add_custom_target(version_git ALL
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/scripts/git-version.sh" "${CMAKE_CURRENT_SOURCE_DIR}" "${VERSION}" "config-git.h"
WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}")
CONFIGURE_FILE(
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
ADD_CUSTOM_TARGET(uninstall
add_custom_target(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
ADD_CUSTOM_TARGET(dist
"${CMAKE_CURRENT_SOURCE_DIR}/makedist.sh" "${VERSION}" "HEAD"
add_custom_target(dist
"${CMAKE_CURRENT_SOURCE_DIR}/makedist.sh" "${VERSION}" "HEAD" "${CMAKE_CURRENT_BINARY_DIR}"
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_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 ${LIBDIR}/../pkgconfig)
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 ${LIBDIR}/../pkgconfig)
# cygport file (used to build Cygwin packages)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/weechat.cygport.in ${CMAKE_CURRENT_BINARY_DIR}/weechat-${VERSION}-1.cygport @ONLY)
# install some files (only on Cygwin)
if(CYGWIN)
install(FILES
${CMAKE_CURRENT_SOURCE_DIR}/AUTHORS.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/ChangeLog.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/Contributing.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/README.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/ReleaseNotes.asciidoc
DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
endif()
# icon
INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/weechat.png DESTINATION ${SHAREDIR}/icons/hicolor/32x32/apps)
# packages
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
SET(CPACK_PACKAGE_VENDOR "Sébastien Helleu")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README")
SET(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/COPYING")
SET(CPACK_PACKAGE_VERSION_MAJOR ${VERSION_MAJOR})
SET(CPACK_PACKAGE_VERSION_MINOR ${VERSION_MINOR})
SET(CPACK_PACKAGE_VERSION_PATCH ${VERSION_PATCH})
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast, light and extensible chat client")
set(CPACK_PACKAGE_VENDOR "Sébastien Helleu")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/README.asciidoc")
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})
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/"
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$"
@@ -174,4 +281,4 @@ SET(CPACK_SOURCE_IGNORE_FILES "/\\\\.git" "/build/" "/m4/"
"\\\\.lo$" "\\\\.a$" "\\\\.la$" "\\\\.lai$" "\\\\.Plo$" "/weechat$"
)
INCLUDE(CPack)
include(CPack)
File diff suppressed because it is too large Load Diff
+86
View File
@@ -0,0 +1,86 @@
= Contributing to WeeChat
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
== Reporting bugs
First, some basic things:
* Use only English to communicate with developers.
* If you can, please check if the problem has been fixed in development version
(if you are using a stable release or old version).
* Report only one bug or feature request per issue.
=== Security reports
Please *DO NOT* file a GitHub issue for security related problems, but send an
email to <security@weechat.org> instead.
=== Required info
When reporting https://github.com/weechat/weechat/issues[issues] on GitHub,
please include:
* your *WeeChat version*: the output of `/v` in WeeChat, for example:
'WeeChat 1.0-dev (git: v0.4.3-475-gb174b3c)'. +
If WeeChat does not start at all, please include the version displayed by
`weechat --help` (or the version installed with your package manager).
* your *operating system*: its name and version (examples: Linux Debian Wheezy,
FreeBSD 10.0, Windows/Cygwin 64-bit, ...).
* the *steps to reproduce*: if possible, please include a reproducible example:
explain the steps which led you to the problem. +
It's even better if you can reproduce the problem with a new config (and no
scripts loaded): try `weechat --dir /tmp/weechat` and check if you have the
problem here.
* the *gdb's backtrace* (only for a crash): if you can reproduce the crash
(or if you have a core file), please include the backtrace from gdb (look at
https://weechat.org/files/doc/devel/weechat_user.en.html#report_crashes[User's guide]
for more info).
[IMPORTANT]
Most of times, the WeeChat crash log file ('weechat_crash_YYYYMMDD_xxx.log') is
*NOT USEFUL* to fix the bug, so please report this file *ONLY* if a developer
asked you to send it (and be extremely careful, this file can contain personal
data like passwords and contents of your chats).
=== Scripts related issues
If you are using scripts, they can cause problems/crashes. To check if the
problem is related to one script, try to unload them one by one (using
command `/script unload <name>`).
Many issues reported are in fact related to bugs in scripts, so please first
check that before reporting any issue on WeeChat itself.
If you think the problem comes from a specific script, please report the issue
in the https://github.com/weechat/scripts/issues[scripts git repository]
instead.
== Translations
Pull requests on GitHub for fixes or new translations are welcome at any
time, for https://github.com/weechat/weechat[WeeChat] and
the web site https://github.com/weechat/weechat.org[weechat.org].
To start a translation in a new language (not yet supported), please look at
https://weechat.org/files/doc/devel/weechat_dev.en.html#translations[translations]
in Developer's guide.
== Feature requests
WeeChat is under active development, so your idea may already have been
implemented, or scheduled for a future version (you can check in
https://weechat.org/dev[roadmap] or
https://github.com/weechat/weechat/milestones[milestones] on GitHub.
Pull requests on GitHub are welcome for minor new features.
For major new features, it's better to discuss about it in IRC
(server: 'chat.freenode.net', channel '#weechat').
Before submitting any pull request, be sure you have read the
https://weechat.org/files/doc/devel/weechat_dev.en.html#coding_rules[coding rules]
in Developer's guide, which contains info about styles used, naming convention
and other useful info.
-45
View File
@@ -1,45 +0,0 @@
= WeeChat Installation instructions
Sébastien Helleu <flashcode@flashtux.org>
WeeChat can be built with cmake (recommended) or autotools.
[NOTE]
Only cmake is officially supported to build WeeChat. You should use autotools
only if you are not able to use cmake. +
Build with autotools requires more dependencies and is slower than with cmake.
== Dependencies
Following packages are *required*:
* cmake
* libncurses
* libcurl
* zlib
* libgcrypt
Following packages are all optional:
* for i18n: gettext
* for SSL: gnutls, ca-certificates
* for spell checking: aspell
* for scripting: python, perl, ruby, lua, tcl, guile
* for building doc: asciidoc, source-highlight
(for man page: xsltproc, docbook-xml, docbook-xsl)
For a complete list of dependencies and versions recommended, please look at
'User's guide'.
== Installation With cmake
----
$ mkdir build
$ cd build
$ cmake .. -DPREFIX=/path/to/directory
$ make
$ make install (as root for installation in system directories)
----
For more information or installation with autotools, please look at
'User's guide': http://weechat.org/doc
+15 -4
View File
@@ -23,18 +23,27 @@
# (if needed, and only for a devel/rc version).
BUILT_SOURCES = build-config-git.h
build-config-git.h:
-$(abs_top_srcdir)/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
-$(abs_top_srcdir)/scripts/git-version.sh "$(abs_top_srcdir)" "$(VERSION)" config-git.h
SUBDIRS = po doc intl src
if TESTS
tests_dir = tests
endif
EXTRA_DIST = CMakeLists.txt \
SUBDIRS = po doc intl src $(tests_dir)
EXTRA_DIST = AUTHORS.asciidoc \
ChangeLog.asciidoc \
Contributing.asciidoc \
README.asciidoc \
ReleaseNotes.asciidoc \
CMakeLists.txt \
config.rpath \
config.h.cmake \
git-version.sh \
makedist.sh \
cmake/CMakeParseArguments.cmake \
cmake/FindAsciidoc.cmake \
cmake/FindAspell.cmake \
cmake/FindCppUTest.cmake \
cmake/FindENCHANT.cmake \
cmake/FindGCRYPT.cmake \
cmake/FindGettext.cmake \
@@ -54,6 +63,8 @@ EXTRA_DIST = CMakeLists.txt \
cmake/cmake_uninstall.cmake.in \
po/CMakeLists.txt \
po/srcfiles.cmake \
scripts/build.sh \
scripts/git-version.sh \
weechat.png \
weechat.pc.in \
weechat.cygport.in
-37
View File
@@ -1,37 +0,0 @@
= WeeChat Readme
Sébastien Helleu <flashcode@flashtux.org>
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
environment for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
== Features
* chat client with multi-protocols/servers connection
* small, fast and very light
* customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile)
* compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813
* developed from scratch
* multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other)
* free software, released under GPLv3
== Copyright
Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
WeeChat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
+91
View File
@@ -0,0 +1,91 @@
= WeeChat
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
environment for many operating systems. Everything can be done with a keyboard.
It is customizable and extensible with scripts.
Homepage: https://weechat.org/
image:https://travis-ci.org/weechat/weechat.svg?branch=master["Build Status", link="https://travis-ci.org/weechat/weechat"]
== Features
* Modular chat client with a lightweight core and optional plugins.
* Multi-platform (GNU/Linux, *BSD, Mac OS X, QNX, Windows & other).
* Multi-protocols architecture (mainly IRC).
* Compliant with IRC RFCs 1459, 2810, 2811, 2812 and 2813.
* Small, fast and very light.
* Customizable and extensible with plugins (C, Perl, Python, Ruby, Lua, Tcl, Guile).
* Fully documented and translated into several languages.
* Developed from scratch.
* Free software, released under GPLv3.
image::http://static.weechat.org/images/screenshots/weechat/medium/weechat_2013-04-27_phlux_shadow.png[align="center"]
== Install
=== Dependencies
Following packages are *required*:
* CMake
* libncurses
* libcurl
* zlib
* libgcrypt
Following packages are optional:
* for i18n: gettext
* for SSL: gnutls, ca-certificates
* for spell checking: aspell
* for scripting: python, perl, ruby, lua, tcl, guile
* for building doc: asciidoc, source-highlight
(for man page: xsltproc, docbook-xml, docbook-xsl)
* for building tests: C++ compiler, CppUTest
For a complete list of dependencies and versions recommended, please look at
https://weechat.org/files/doc/devel/weechat_user.en.html#dependencies[user's guide].
=== Compile
WeeChat can be built with http://cmake.org/[CMake] (recommended) or autotools.
[NOTE]
Only CMake is officially supported to build WeeChat. You should use autotools
only if you are not able to use CMake. +
Build with autotools requires more dependencies and is slower than with CMake.
----
$ mkdir build
$ cd build
$ cmake .. -DPREFIX=/path/to/directory
$ make
$ make install (as root for installation in system directories)
----
For more information or installation with autotools, please look at
https://weechat.org/files/doc/devel/weechat_user.en.html#compile_with_autotools[user's guide].
== Copyright
Copyright (C) 2003-2014 Sébastien Helleu <flashcode@flashtux.org>
This file is part of WeeChat, the extensible chat client.
WeeChat is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
WeeChat is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
+223 -6
View File
@@ -1,17 +1,219 @@
= WeeChat Release Notes
Sébastien Helleu <flashcode@flashtux.org>
:author: Sébastien Helleu
:email: flashcode@flashtux.org
:lang: en
This document lists important changes for each version, that require manual
actions. It is recommended to read it when upgrading to a new stable
actions (the latest formatted version of this document can be found
https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[here]). +
It is recommended to read it when upgrading to a new stable
version.
For a complete list of changes, please look at
http://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file 'ChangeLog' in sources).
https://weechat.org/files/changelog/ChangeLog-devel.html[ChangeLog]
(file 'ChangeLog.asciidoc' in sources).
== Version 0.4.3 (under dev)
== Version 1.1 (under dev)
=== New format for regex replacement in triggers
A new format is used in regex replacement to use regex groups, this format
is incompatible with version 1.0.
The existing triggers are *NOT automatically updated*.
[width="60%",cols="2,2,3",options="header"]
|===
| Old format | New format | Examples (new format)
| `$0` ... `$99` | `${re:0}` ... `${re:99}` | `${re:1}`
| `$+` | `${re:+}` | `${re:+}`
| `$.*N` | `${hide:*,${re:N}}` | `${hide:*,${re:2}}` +
`${hide:-,${re:+}}`
|===
Moreover, default triggers used to hide passwords have been fixed for *BSD
operating systems.
You can restore them with the following command:
----
/trigger restore cmd_pass msg_auth server_pass
----
If you added triggers with the old regex replacement format, you must update
them manually.
=== Default "beep" trigger
The command of "beep" trigger is now executed only if the message is displayed
(not filtered with /filter).
You can restore the default "beep" trigger with the following command:
----
/trigger restore beep
----
=== Return code of commands
The API function 'weechat_command' now sends the value returned return by
command callback.
WeeChat does not display any more an error when a command returns
'WEECHAT_RC_ERROR'. Consequently, all plugins/scripts should display an
explicit error message before returning 'WEECHAT_RC_ERROR'.
For C plugins, two macros have been added in weechat-plugin.h:
'WEECHAT_COMMAND_MIN_ARGS' and 'WEECHAT_COMMAND_ERROR'.
=== Completion of inline commands
WeeChat now completes by default inline commands (not only at beginning of
line).
When this feature is enabled, there is no more automatic completion of
absolute paths (except if you are completing a path inside a command argument,
like `/dcc send <nick> <path>`).
To restore the old behavior (no completion of inline commands):
----
/set weechat.completion.command_inline off
----
=== Relay option relay.irc.backlog_tags
The option 'relay.irc.backlog_tags' is now a list separated by commas
(it was separated by semicolons in older versions).
If you are using a list of tags in this option, you must adjust the value
manually.
=== IPv4-mapped IPv6 client address in relay
The string "::ffff:" has been removed from IPv4-mapped IPv6 client address
in relay plugin.
If you are using "::ffff:" in option 'relay.network.allowed_ips', you can
remove it.
=== Temporary servers disabled by default with /connect
Creating a temporary server with command `/connect <address>` or
`/connect irc://...` is now forbidden by default.
A new option has been added to unlock the feature, you can do that for
the old behavior in command `/connect`:
----
/set irc.look.temporary_servers on
----
=== Microseconds in API timeval functions
The API functions using timeval are now using or returning microseconds,
instead of milliseconds:
* function 'util_timeval_diff': returns microseconds
* function 'util_timeval_add': the argument 'interval' is now expressed in
microseconds.
== Version 1.0.1 (2014-09-28)
Bug fix and maintenance release.
== Version 1.0 (2014-08-15)
=== Channel type not added by default on /join
The channel type is not any more automatically added to a channel name on join
(for example `/join weechat` will not send `/join #weechat`).
If you are lazy and want to automatically add the channel type, you can turn on
the new option:
----
/set irc.look.join_auto_add_chantype on
----
=== Hide IRC channel modes arguments
The option 'irc.look.item_channel_modes_hide_key' has been renamed to
'irc.look.item_channel_modes_hide_args' and is now a string. +
It can now hide arguments for multiple channel modes.
By default, a channel key (mode "k") will hide channel arguments. For old
behavior (never hide arguments, even with a channel key), you can do:
----
/set irc.look.item_channel_modes_hide_args ""
----
=== Jump to first/last buffer
The command `/input jump_last_buffer` has been replaced by `/buffer +`.
You can rebind the key key[alt-j,alt-l]:
----
/key bind meta-jmeta-l /buffer +
----
[NOTE]
The command `/input jump_last_buffer` still works for compatibility reasons,
but it should not be used any more.
Similarly, a new key has been added to jump to first buffer: key[alt-j,alt-f].
You can add it with following command:
----
/key missing
----
=== Hotlist conditions
A new option 'weechat.look.hotlist_add_conditions' has been added. This option
replaces the option 'weechat.look.hotlist_add_buffer_if_away', which has been
removed.
Default conditions are `${away} || ${buffer.num_displayed} == 0`, which means
that a buffer is added in hotlist if you are away ("away" local variable is
set), or if the buffer is not visible on screen (not displayed in any window).
If you have set 'weechat.look.hotlist_add_buffer_if_away' to `off` (to not add
current buffer in hotlist when you are away), then you must manually change the
default conditions with the following command:
----
/set weechat.look.hotlist_add_conditions "${buffer.num_displayed} == 0"
----
=== Rmodifier replaced by Trigger plugin
The trigger plugin replaces the rmodifier plugin, which has been removed
(and trigger has much more features than rmodifier).
Default triggers have same features as default rmodifiers (to hide passwords
in commands and output).
If you added some custom rmodifiers, you must create similar triggers, see
`/help trigger` and the complete trigger doc in the 'WeeChat User's guide'.
[NOTE]
If on startup you have an error about API mismatch in plugin 'rmodifier.so',
you can manually remove the file (the command `make install` does not remove
obsolete plugins).
=== Bare display
A bare display mode has been added (for easy text selection and click on URLs),
the new default key is key[alt-l].
Use command `/key missing` to add the key or `/key listdiff` to see differences
between your current keys and WeeChat default keys.
== Version 0.4.3 (2014-02-09)
=== Colors in messages
@@ -67,6 +269,21 @@ The default value for status bar items becomes:
/set weechat.bar.status.items "[time],[buffer_count],[buffer_plugin],buffer_number+:+buffer_name+(buffer_modes)+{buffer_nicklist_count}+buffer_zoom+buffer_filter,[lag],[hotlist],completion,scroll"
----
=== IRC messages on channel join
The names are not displayed any more by default on channel join (they are in
nicklist anyway).
Names can be displayed with the value "353" in option
'irc.look.display_join_message' (which is not in default value). +
The value "366" shows only names count on channel.
If you want to display all messages on join (including names), you can do:
----
/set irc.look.display_join_message "329,332,333,353,366"
----
=== Maximum lag in IRC
Option 'irc.network.lag_max' has been added.
@@ -618,7 +835,7 @@ IRC commands /ame and /amsg are now aliases, if you are upgrading from version
== Version 0.3.0 (2009-09-06)
This version brings *MAJOR* changes, especially for configuration files and
plugin API and it not compatible with previous versions.
plugin API and is not compatible with previous versions.
Major differences:
+8 -19
View File
@@ -24,6 +24,9 @@
### common stuff
###
DIR=$(cd $(dirname "$0"); pwd)
cd $DIR
AUTOGEN_LOG=autogen.log
err ()
@@ -48,34 +51,20 @@ run ()
fi
}
###
### cleanning part
###
# remove autotools stuff
run "rm -rf config"
# remove autotools stuff
run "rm -f config.h.in"
run "rm -f aclocal.m4 configure config.log config.status"
run "rm -rf autom4te*.cache"
# remove libtool stuff
run "rm -f libtool"
# remove gettext stuff
run "rm -f ABOUT-NLS"
run "rm -rf intl"
###
### configuration part
###
# create the config directory
run "mkdir -p config/m4"
run "mkdir intl"
# execute autotools cmds
run "autopoint -f"
run "libtoolize --automake --force --copy"
run "aclocal --force -I config/m4"
run "autoheader"
run "autoconf"
run "automake --add-missing --copy --gnu"
# execute autoreconf cmds
run "autoreconf -fvi"
# ending
rm -f $AUTOGEN_LOG
+12 -12
View File
@@ -20,32 +20,32 @@
# - Find Asciidoc
# This module finds if asciidoc (version 8 or newer) is installed.
IF (ASCIIDOC_FOUND)
if(ASCIIDOC_FOUND)
# Already in cache, be silent
SET(ASCIIDOC_FIND_QUIETLY TRUE)
ENDIF (ASCIIDOC_FOUND)
set(ASCIIDOC_FIND_QUIETLY TRUE)
endif()
FIND_PROGRAM(
find_program(
ASCIIDOC_EXECUTABLE asciidoc
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
FIND_PROGRAM(
find_program(
A2X_EXECUTABLE a2x
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
EXECUTE_PROCESS(
if(ASCIIDOC_EXECUTABLE AND A2X_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.*")
if(${ASCIIDOC_VERSION} MATCHES "asciidoc 8.*")
set(ASCIIDOC_FOUND TRUE)
endif()
MARK_AS_ADVANCED(
mark_as_advanced(
ASCIIDOC_EXECUTABLE
)
ENDIF(ASCIIDOC_EXECUTABLE AND A2X_EXECUTABLE)
endif()
+15 -13
View File
@@ -26,31 +26,33 @@
# ASPELL_INCLUDE_PATH = path to where aspell.h can be found
# ASPELL_LIBRARY = path to where libaspell.so* can be found
IF (ASPELL_FOUND)
if(ASPELL_FOUND)
# Already in cache, be silent
SET(ASPELL_FIND_QUIETLY TRUE)
ENDIF (ASPELL_FOUND)
endif()
FIND_PATH(ASPELL_INCLUDE_PATH
find_path(ASPELL_INCLUDE_PATH
NAMES aspell.h
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(ASPELL_LIBRARY
find_library(ASPELL_LIBRARY
NAMES aspell aspell-15
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
SET(CMAKE_REQUIRED_INCLUDES ${ASPELL_INCLUDE_PATH})
SET(CMAKE_REQUIRED_LIBRARIES ${ASPELL_LIBRARY})
CHECK_SYMBOL_EXISTS(aspell_version_string "aspell.h" HAVE_ASPELL_VERSION_STRING)
SET(CMAKE_REQUIRED_INCLUDES)
SET(CMAKE_REQUIRED_LIBRARIES)
SET(ASPELL_FOUND TRUE)
ENDIF (ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
if(ASPELL_INCLUDE_PATH AND ASPELL_LIBRARY)
set(ASPELL_FOUND TRUE)
MARK_AS_ADVANCED(
# check if function aspell_version_string() exists
set(CMAKE_REQUIRED_INCLUDES ${ASPELL_INCLUDE_PATH})
set(CMAKE_REQUIRED_LIBRARIES ${ASPELL_LIBRARY})
check_symbol_exists(aspell_version_string "aspell.h" HAVE_ASPELL_VERSION_STRING)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
mark_as_advanced(
ASPELL_INCLUDE_PATH
ASPELL_LIBRARY
)
+37
View File
@@ -0,0 +1,37 @@
#
# Copyright (C) 2014 Sébastien Helleu <flashcode@flashtux.org>
#
# This file is part of WeeChat, the extensible chat client.
#
# WeeChat is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# WeeChat is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
# - Find CppUTest
# This module finds if Guile 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:
#
# CPPUTEST_FOUND = CppUTest is installed
# CPPUTEST_INCLUDE_DIRS = CppUTest include directory
# CPPUTEST_LIBRARIES = Link options to compile with CppUTest
if(CPPUTEST_FOUND)
# Already in cache, be silent
set(CPPUTEST_FIND_QUIETLY TRUE)
endif()
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(CPPUTEST REQUIRED cpputest)
endif()
+12 -5
View File
@@ -12,19 +12,19 @@
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
if (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
if(ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
# in cache already
set(ENCHANT_FOUND TRUE)
else (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
if (NOT WIN32)
else()
if(NOT WIN32)
# use pkg-config to get the directories and then use these values
# in the FIND_PATH() and FIND_LIBRARY() calls
find_package(PkgConfig)
pkg_check_modules(PC_ENCHANT enchant)
set(ENCHANT_DEFINITIONS ${PC_ENCHANT_CFLAGS_OTHER})
endif (NOT WIN32)
endif()
find_path(ENCHANT_INCLUDE_DIR
NAMES enchant++.h
@@ -41,4 +41,11 @@ else (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES)
endif (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES)
# check if function enchant_get_version() exists
set(CMAKE_REQUIRED_INCLUDES ${ENCHANT_INCLUDE_DIR})
set(CMAKE_REQUIRED_LIBRARIES ${ENCHANT_LIBRARIES})
check_symbol_exists(enchant_get_version "enchant.h" HAVE_ENCHANT_GET_VERSION)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
+13 -13
View File
@@ -27,27 +27,27 @@
# GCRYPT_LDFLAGS = ldflags to use to compile
#
FIND_PROGRAM(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
find_program(LIBGCRYPT_CONFIG_EXECUTABLE NAMES libgcrypt-config)
set(GCRYPT_LDFLAGS)
set(GCRYPT_CFLAGS)
IF(LIBGCRYPT_CONFIG_EXECUTABLE)
if(LIBGCRYPT_CONFIG_EXECUTABLE)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
EXEC_PROGRAM(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
exec_program(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --libs RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_LDFLAGS)
exec_program(${LIBGCRYPT_CONFIG_EXECUTABLE} ARGS --cflags RETURN_VALUE _return_VALUE OUTPUT_VARIABLE GCRYPT_CFLAGS)
IF(${GCRYPT_CFLAGS} MATCHES "\n")
SET(GCRYPT_CFLAGS " ")
ENDIF(${GCRYPT_CFLAGS} MATCHES "\n")
if(${GCRYPT_CFLAGS} MATCHES "\n")
set(GCRYPT_CFLAGS " ")
endif()
ENDIF(LIBGCRYPT_CONFIG_EXECUTABLE)
endif()
# handle the QUIETLY and REQUIRED arguments and set GCRYPT_FOUND to TRUE if
# all listed variables are TRUE
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
include(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
find_package_handle_standard_args(GCRYPT REQUIRED_VARS GCRYPT_LDFLAGS GCRYPT_CFLAGS)
IF(GCRYPT_FOUND)
MARK_AS_ADVANCED(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
ENDIF(GCRYPT_FOUND)
if(GCRYPT_FOUND)
mark_as_advanced(GCRYPT_CFLAGS GCRYPT_LDFLAGS)
endif()
+28 -29
View File
@@ -27,46 +27,45 @@
#
# GETTEXT_FOUND = is gettext usable on system?
IF(GETTEXT_FOUND)
if(GETTEXT_FOUND)
# Already in cache, be silent
SET(GETTEXT_FIND_QUIETLY TRUE)
ENDIF(GETTEXT_FOUND)
set(GETTEXT_FIND_QUIETLY TRUE)
endif()
INCLUDE(CheckIncludeFiles)
INCLUDE(CheckLibraryExists)
INCLUDE(CheckFunctionExists)
include(CheckIncludeFiles)
include(CheckLibraryExists)
include(CheckFunctionExists)
FIND_PATH(LIBINTL_INCLUDE
find_path(LIBINTL_INCLUDE
NAMES libintl.h
PATH /usr/local/include /usr/pkg/include /usr/include
)
SET(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
set(CMAKE_REQUIRED_INCLUDES ${LIBINTL_INCLUDE})
CHECK_INCLUDE_FILES(libintl.h HAVE_LIBINTL_H)
check_include_files(libintl.h HAVE_LIBINTL_H)
IF(HAVE_LIBINTL_H)
CHECK_FUNCTION_EXISTS(dgettext LIBC_HAS_DGETTEXT)
IF(LIBC_HAS_DGETTEXT)
SET(GETTEXT_FOUND TRUE)
ELSE(LIBC_HAS_DGETTEXT)
FIND_LIBRARY(LIBINTL_LIBRARY NAMES intl
if(HAVE_LIBINTL_H)
check_function_exists(dgettext LIBC_HAS_DGETTEXT)
if(LIBC_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
else()
find_library(LIBINTL_LIBRARY NAMES intl
PATHS
/usr/local/lib
/usr/lib
)
IF(LIBINTL_LIBRARY)
IF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
SET(CMAKE_REQUIRED_LIBRARIES "iconv")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
ELSE(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
CHECK_LIBRARY_EXISTS(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
ENDIF(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
if(LIBINTL_LIBRARY)
if(${CMAKE_SYSTEM_NAME} STREQUAL "OpenBSD")
set(CMAKE_REQUIRED_LIBRARIES "iconv")
check_library_exists(${LIBINTL_LIBRARY} "libintl_dgettext" "" LIBINTL_HAS_DGETTEXT)
else()
check_library_exists(${LIBINTL_LIBRARY} "dgettext" "" LIBINTL_HAS_DGETTEXT)
endif()
IF(LIBINTL_HAS_DGETTEXT)
SET(GETTEXT_FOUND TRUE)
ENDIF(LIBINTL_HAS_DGETTEXT)
ENDIF(LIBINTL_LIBRARY)
ENDIF(LIBC_HAS_DGETTEXT)
ENDIF(HAVE_LIBINTL_H)
if(LIBINTL_HAS_DGETTEXT)
set(GETTEXT_FOUND TRUE)
endif()
endif()
endif()
endif()
+16 -16
View File
@@ -29,45 +29,45 @@
# GNUTLS_CFLAGS = cflags to use to compile
# GNUTLS_LDFLAGS = ldflags to use to compile
IF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
# Already in cache, be silent
set(GNUTLS_FIND_QUIETLY TRUE)
ENDIF(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
endif()
FIND_PROGRAM(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
find_program(PKG_CONFIG_EXECUTABLE NAMES pkg-config)
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --variable=prefix gnutls
OUTPUT_VARIABLE GNUTLS_PREFIX
)
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --cflags gnutls
OUTPUT_VARIABLE GNUTLS_CFLAGS
)
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_FLAGS}")
string(REGEX REPLACE "[\r\n]" "" GNUTLS_CFLAGS "${GNUTLS_CFLAGS}")
EXECUTE_PROCESS(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
execute_process(COMMAND ${PKG_CONFIG_EXECUTABLE} --libs gnutls
OUTPUT_VARIABLE GNUTLS_LDFLAGS
)
STRING(REGEX REPLACE "[\r\n]" "" GNUTLS_LDFLAGS "${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")
set(GNUTLS_POSSIBLE_INCLUDE_PATH "${GNUTLS_PREFIX}/include")
set(GNUTLS_POSSIBLE_LIB_DIR "${GNUTLS_PREFIX}/lib")
FIND_PATH(GNUTLS_INCLUDE_PATH
find_path(GNUTLS_INCLUDE_PATH
NAMES gnutls/gnutls.h
PATHS GNUTLS_POSSIBLE_INCLUDE_PATH
)
FIND_LIBRARY(GNUTLS_LIBRARY
find_library(GNUTLS_LIBRARY
NAMES gnutls
PATHS GNUTLS_POSSIBLE_LIB_DIR
)
IF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
SET(GNUTLS_FOUND TRUE)
ENDIF (GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
if(GNUTLS_INCLUDE_PATH AND GNUTLS_LIBRARY)
set(GNUTLS_FOUND TRUE)
endif()
MARK_AS_ADVANCED(
mark_as_advanced(
GNUTLS_INCLUDE_PATH
GNUTLS_LIBRARY
GNUTLS_CFLAGS
+14 -6
View File
@@ -26,12 +26,20 @@
# GUILE_INCLUDE_DIRS = Guile include directory
# GUILE_LIBRARIES = Link options to compile Guile
IF(GUILE_FOUND)
if(GUILE_FOUND)
# Already in cache, be silent
SET(GUILE_FIND_QUIETLY TRUE)
ENDIF(GUILE_FOUND)
set(GUILE_FIND_QUIETLY TRUE)
endif()
FIND_PACKAGE(PkgConfig)
IF(PKG_CONFIG_FOUND)
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(GUILE guile-2.0)
ENDIF(PKG_CONFIG_FOUND)
if(GUILE_FOUND)
# check if variable "scm_install_gmp_memory_functions" exists
set(CMAKE_REQUIRED_INCLUDES ${GUILE_INCLUDE_DIRS})
set(CMAKE_REQUIRED_LIBRARIES ${GUILE_LDFLAGS})
check_symbol_exists(scm_install_gmp_memory_functions "libguile.h" HAVE_GUILE_GMP_MEMORY_FUNCTIONS)
set(CMAKE_REQUIRED_INCLUDES)
set(CMAKE_REQUIRED_LIBRARIES)
endif()
endif()
+25 -24
View File
@@ -28,45 +28,45 @@
#
# ICONV_FOUND = is iconv usable on system?
IF(ICONV_FOUND)
if(ICONV_FOUND)
# Already in cache, be silent
set(ICONV_FIND_QUIETLY TRUE)
ENDIF(ICONV_FOUND)
endif()
INCLUDE(CheckLibraryExists)
INCLUDE(CheckFunctionExists)
include(CheckLibraryExists)
include(CheckFunctionExists)
FIND_PATH(ICONV_INCLUDE_PATH
find_path(ICONV_INCLUDE_PATH
NAMES iconv.h
PATHS /usr/include /usr/local/include /usr/pkg/include
)
FIND_LIBRARY(ICONV_LIBRARY
find_library(ICONV_LIBRARY
NAMES iconv
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF(ICONV_INCLUDE_PATH)
IF(ICONV_LIBRARY)
STRING(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
CHECK_LIBRARY_EXISTS(iconv libiconv_open ${ICONV_LIB_PATH} LIBICONV_OPEN_FOUND)
CHECK_LIBRARY_EXISTS(iconv iconv_open ${ICONV_LIB_PATH} ICONV_OPEN_FOUND)
IF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
SET(ICONV_FOUND TRUE)
ENDIF(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
ELSE(ICONV_LIBRARY)
CHECK_FUNCTION_EXISTS(iconv_open ICONV_FOUND)
ENDIF(ICONV_LIBRARY)
ENDIF(ICONV_INCLUDE_PATH)
if(ICONV_INCLUDE_PATH)
if(ICONV_LIBRARY)
string(REGEX REPLACE "/[^/]*$" "" ICONV_LIB_PATH "${ICONV_LIBRARY}")
check_library_exists(iconv libiconv_open ${ICONV_LIB_PATH} LIBICONV_OPEN_FOUND)
check_library_exists(iconv iconv_open ${ICONV_LIB_PATH} ICONV_OPEN_FOUND)
if(LIBICONV_OPEN_FOUND OR ICONV_OPEN_FOUND)
set(ICONV_FOUND TRUE)
endif()
else()
check_function_exists(iconv_open ICONV_FOUND)
endif()
endif()
include(CheckCSourceCompiles)
IF(ICONV_LIBRARY)
SET(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
SET(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
ENDIF(ICONV_LIBRARY)
if(ICONV_LIBRARY)
set(CMAKE_REQUIRED_LIBRARIES ${ICONV_LIBRARY})
set(CMAKE_REQUIRED_INCLUDES ${ICONV_INCLUDE_PATH})
endif()
SET(CMAKE_REQUIRED_FLAGS -Werror)
set(CMAKE_REQUIRED_FLAGS -Werror)
check_c_source_compiles("
#include <iconv.h>
int main(){
@@ -79,7 +79,8 @@ check_c_source_compiles("
return 0;
}
" ICONV_2ARG_IS_CONST)
MARK_AS_ADVANCED(
mark_as_advanced(
ICONV_INCLUDE_PATH
ICONV_LIBRARY
ICONV_FOUND
+7 -55
View File
@@ -28,60 +28,12 @@
#
# LUA_FOUND = is liblua usable on system?
IF(LUA_FOUND)
if(LUA_FOUND)
# Already in cache, be silent
SET(LUA_FIND_QUIETLY TRUE)
ENDIF(LUA_FOUND)
set(LUA_FIND_QUIETLY TRUE)
endif()
FIND_PATH(
LUA51_INCLUDE_PATH lua.h
PATHS /usr/include /usr/local/include /usr/pkg/include
PATH_SUFFIXES lua51 lua5.1 lua-5.1
)
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)
SET(LUA_INCLUDE_PATH "${LUA51_INCLUDE_PATH}")
SET(LUA_LIBRARY "${LUA51_LIBRARY}")
SET(LUA_VERSION "5.1")
SET(LUA_FOUND TRUE)
ELSE(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
FIND_PATH(
LUA50_INCLUDE_PATH lua.h
PATHS /usr/include /usr/local/include /usr/pkg/include
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
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
PATH_SUFFIXES lua50 lua5.0 lua-5.0 lua
)
IF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
SET(LUA_INCLUDE_PATH "${LUA50_INCLUDE_PATH}")
SET(LUA_LIBRARY "${LUA50_LIBRARY}")
SET(LUALIB_LIBRARY "${LUALIB50_LIBRARY}")
SET(LUA_VERSION "5.0")
SET(LUA_FOUND TRUE)
ENDIF(LUA50_INCLUDE_PATH AND LUA50_LIBRARY AND LUALIB50_LIBRARY)
ENDIF(LUA51_INCLUDE_PATH AND LUA51_LIBRARY)
MARK_AS_ADVANCED(
LUA_INCLUDE_PATH
LUA_LIBRARY
LUALIB_LIBRARY
# LUA_VERSION
)
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(LUA lua5.2 lua-5.2 lua52 lua5.1 lua-5.1 lua51 lua-5.0 lua5.0 lua50 lua)
endif()
+17 -17
View File
@@ -17,41 +17,41 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(NCURSES_FOUND)
SET(NCURSES_FIND_QUIETLY TRUE)
ENDIF(NCURSES_FOUND)
if(NCURSES_FOUND)
set(NCURSES_FIND_QUIETLY TRUE)
endif()
FIND_PATH(NCURSES_INCLUDE_PATH
find_path(NCURSES_INCLUDE_PATH
NAMES ncurses.h curses.h
PATHS /usr/include/ncursesw /usr/include/ncurses /usr/include
/usr/local/include/ncursesw /usr/local/include/ncurses /usr/local/include
/usr/pkg/include/ncursesw /usr/pkg/include/ncurses /usr/pkg/include
)
FIND_LIBRARY(NCURSESW_LIBRARY
find_library(NCURSESW_LIBRARY
NAMES ncursesw
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSESW_LIBRARY)
SET(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
ELSE(NCURSESW_LIBRARY)
FIND_LIBRARY(NCURSES_LIBRARY
if(NCURSESW_LIBRARY)
set(NCURSES_LIBRARY ${NCURSESW_LIBRARY})
else()
find_library(NCURSES_LIBRARY
NAMES ncurses
PATHS /lib /usr/lib /usr/local/lib /usr/pkg/lib
)
IF (NCURSES_LIBRARY)
MESSAGE("*** WARNING:\n"
if(NCURSES_LIBRARY)
message("*** WARNING:\n"
"*** ncursesw library not found! Falling back to \"ncurses\"\n"
"*** Be careful, UTF-8 display may not work properly if your locale is UTF-8.")
ENDIF(NCURSES_LIBRARY)
ENDIF(NCURSESW_LIBRARY)
endif()
endif()
IF (NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
SET(NCURSES_FOUND TRUE)
ENDIF(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
if(NCURSES_INCLUDE_PATH AND NCURSES_LIBRARY)
set(NCURSES_FOUND TRUE)
endif()
MARK_AS_ADVANCED(
mark_as_advanced(
NCURSES_INCLUDE_PATH
NCURSES_LIBRARY
)
+18 -19
View File
@@ -28,58 +28,57 @@
# PERL_CFLAGS = perl compiler options for compiling
# PERL_LFLAGS = perl compiler options for linking
IF(PERL_FOUND)
if(PERL_FOUND)
# Already in cache, be silent
SET(PERL_FIND_QUIETLY TRUE)
ENDIF(PERL_FOUND)
set(PERL_FIND_QUIETLY TRUE)
endif()
FIND_PROGRAM(PERL_EXECUTABLE
find_program(PERL_EXECUTABLE
NAMES perl perl5
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(PERL_EXECUTABLE)
if(PERL_EXECUTABLE)
EXECUTE_PROCESS(
execute_process(
COMMAND ${PERL_EXECUTABLE} -MConfig -e "print \"\$Config{archlibexp}/CORE\""
OUTPUT_VARIABLE PERL_INTERNAL_DIR
)
EXECUTE_PROCESS(
execute_process(
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ccopts
OUTPUT_VARIABLE PERL_CFLAGS
)
EXECUTE_PROCESS(
execute_process(
COMMAND ${PERL_EXECUTABLE} -MExtUtils::Embed -e ldopts
OUTPUT_VARIABLE PERL_LFLAGS
)
# remove the new lines from the output by replacing them with empty strings
STRING(REPLACE "\n" "" PERL_INTERNAL_DIR "${PERL_INTERNAL_DIR}")
STRING(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
STRING(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
string(REPLACE "\n" "" PERL_INTERNAL_DIR "${PERL_INTERNAL_DIR}")
string(REPLACE "\n" "" PERL_CFLAGS "${PERL_CFLAGS}")
string(REPLACE "\n" "" PERL_LFLAGS "${PERL_LFLAGS}")
FIND_PATH(PERL_INCLUDE_PATH
find_path(PERL_INCLUDE_PATH
NAMES perl.h
PATHS ${PERL_INTERNAL_DIR}
)
FIND_LIBRARY(PERL_LIBRARY
find_library(PERL_LIBRARY
NAMES perl
PATHS /usr/lib /usr/local/lib /usr/pkg/lib ${PERL_INTERNAL_DIR}
)
IF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
SET(PERL_FOUND TRUE)
ENDIF(PERL_LIBRARY AND PERL_INCLUDE_PATH)
if(PERL_LIBRARY AND PERL_INCLUDE_PATH)
set(PERL_FOUND TRUE)
endif()
MARK_AS_ADVANCED(
mark_as_advanced(
PERL_EXECUTABLE
PERL_INCLUDE_PATH
PERL_LIBRARY
PERL_CFLAGS
PERL_LFLAGS
)
ENDIF(PERL_EXECUTABLE)
endif()
+32 -32
View File
@@ -28,76 +28,76 @@
# PYTHON_LIBRARY = path to where libpython.so* can be found
# PYTHON_LFLAGS = python compiler options for linking
IF(PYTHON_FOUND)
if(PYTHON_FOUND)
# Already in cache, be silent
SET(PYTHON_FIND_QUIETLY TRUE)
ENDIF(PYTHON_FOUND)
set(PYTHON_FIND_QUIETLY TRUE)
endif()
IF(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
if(ENABLE_PYTHON3)
find_program(PYTHON_EXECUTABLE
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
ELSE(ENABLE_PYTHON3)
FIND_PROGRAM(PYTHON_EXECUTABLE
else()
find_program(PYTHON_EXECUTABLE
NAMES python2.7 python2.6 python2.5 python
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
ENDIF(ENABLE_PYTHON3)
endif()
IF(PYTHON_EXECUTABLE)
EXECUTE_PROCESS(
if(PYTHON_EXECUTABLE)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))"
OUTPUT_VARIABLE PYTHON_INC_DIR
)
EXECUTE_PROCESS(
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LIBPL'))"
OUTPUT_VARIABLE PYTHON_POSSIBLE_LIB_PATH
)
EXECUTE_PROCESS(
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('LINKFORSHARED'))"
OUTPUT_VARIABLE PYTHON_LFLAGS
)
FIND_PATH(PYTHON_INCLUDE_PATH
find_path(PYTHON_INCLUDE_PATH
NAMES Python.h
PATHS ${PYTHON_INC_DIR}
HINTS ${PYTHON_INC_DIR}
)
IF(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
if(ENABLE_PYTHON3)
find_library(PYTHON_LIBRARY
NAMES python3.4 python3.3 python3.2 python3.1 python3.0 python3 python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
)
ELSE(ENABLE_PYTHON3)
FIND_LIBRARY(PYTHON_LIBRARY
else()
find_library(PYTHON_LIBRARY
NAMES python2.7 python2.6 python2.5 python
PATHS ${PYTHON_POSSIBLE_LIB_PATH}
HINTS ${PYTHON_POSSIBLE_LIB_PATH}
)
ENDIF(ENABLE_PYTHON3)
endif()
IF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
EXECUTE_PROCESS(
if(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(sys.version[:3])"
OUTPUT_VARIABLE PYTHON_VERSION
)
EXECUTE_PROCESS(
execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c "import sys; sys.stdout.write(str(sys.version_info < (2,5)))"
OUTPUT_VARIABLE PYTHON_OLD_VERSION
)
IF(${PYTHON_OLD_VERSION} STREQUAL "True")
MESSAGE("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
ELSE()
SET(PYTHON_FOUND TRUE)
ENDIF(${PYTHON_OLD_VERSION} STREQUAL "True")
ENDIF(PYTHON_LIBRARY AND PYTHON_INCLUDE_PATH)
if(${PYTHON_OLD_VERSION} STREQUAL "True")
message("Python >= 2.5 is needed to build python plugin, version found: ${PYTHON_VERSION}")
else()
set(PYTHON_FOUND TRUE)
endif()
endif()
MARK_AS_ADVANCED(
mark_as_advanced(
PYTHON_EXECUTABLE
PYTHON_INCLUDE_PATH
PYTHON_LIBRARY
PYTHON_LFLAGS
)
ENDIF(PYTHON_EXECUTABLE)
endif()
+54 -63
View File
@@ -22,71 +22,62 @@
# and libraries are. It also determines what the name of the library is. This
# code sets the following variables:
#
# RUBY_EXECUTABLE = full path to the ruby binary
# RUBY_INCLUDE_PATH = path to where ruby.h can be found
# RUBY_LIBRARY = path to where libruby.so* can be found
# RUBY_INCLUDE_DIRS = C flags to compile with ruby
# RUBY_LIBRARY_DIRS = linker flags to compile with ruby (found with pkg-config)
# RUBY_LIB = ruby library (found without pkg-config)
IF(RUBY_FOUND)
if(RUBY_FOUND)
# Already in cache, be silent
SET(RUBY_FIND_QUIETLY TRUE)
ENDIF(RUBY_FOUND)
set(RUBY_FIND_QUIETLY TRUE)
endif()
FIND_PROGRAM(RUBY_EXECUTABLE
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
pkg_search_module(RUBY ruby-2.1 ruby-2.0 ruby-1.9 ruby-1.8)
endif()
IF(RUBY_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
if(RUBY_FOUND)
set(RUBY_LIB "")
mark_as_advanced(RUBY_LIB)
else()
find_program(RUBY_EXECUTABLE
NAMES ruby1.9.3 ruby193 ruby1.9.2 ruby192 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
PATHS /usr/bin /usr/local/bin /usr/pkg/bin
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
EXECUTE_PROCESS(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['ruby_version']"
OUTPUT_VARIABLE RUBY_VERSION
)
FIND_PATH(RUBY_INCLUDE_PATH
NAMES ruby.h
PATHS ${RUBY_ARCH_DIR}
)
SET(RUBY_ARCH
"${RUBY_INCLUDE_PATH}/${RUBY_ARCH}")
FIND_LIBRARY(RUBY_LIBRARY
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby1.6 ruby16 ruby
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
)
IF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
SET(RUBY_FOUND TRUE)
ENDIF(RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
IF(${RUBY_VERSION} STREQUAL "1.9.0")
SET(RUBY_FOUND FALSE)
ENDIF(${RUBY_VERSION} STREQUAL "1.9.0")
MARK_AS_ADVANCED(
RUBY_EXECUTABLE
RUBY_LIBRARY
RUBY_ARCH
RUBY_INCLUDE_PATH
)
ENDIF(RUBY_EXECUTABLE)
if(RUBY_EXECUTABLE)
execute_process(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubyhdrdir'] || RbConfig::CONFIG['archdir']"
OUTPUT_VARIABLE RUBY_ARCH_DIR
)
execute_process(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['arch']"
OUTPUT_VARIABLE RUBY_ARCH
)
execute_process(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['libdir']"
OUTPUT_VARIABLE RUBY_POSSIBLE_LIB_PATH
)
execute_process(
COMMAND ${RUBY_EXECUTABLE} -r rbconfig -e "print RbConfig::CONFIG['rubylibdir']"
OUTPUT_VARIABLE RUBY_RUBY_LIB_PATH
)
find_path(RUBY_INCLUDE_DIRS
NAMES ruby.h
PATHS ${RUBY_ARCH_DIR}
)
set(RUBY_INCLUDE_ARCH "${RUBY_INCLUDE_DIRS}/${RUBY_ARCH}")
find_library(RUBY_LIB
NAMES ruby-1.9.3 ruby1.9.3 ruby193 ruby-1.9.2 ruby1.9.2 ruby192 ruby-1.9.1 ruby1.9.1 ruby191 ruby1.9 ruby19 ruby1.8 ruby18 ruby
PATHS ${RUBY_POSSIBLE_LIB_PATH} ${RUBY_RUBY_LIB_PATH}
)
if(RUBY_LIB AND RUBY_INCLUDE_DIRS)
set(RUBY_FOUND TRUE)
endif()
set(RUBY_INCLUDE_DIRS "${RUBY_INCLUDE_DIRS};${RUBY_INCLUDE_ARCH}")
mark_as_advanced(
RUBY_INCLUDE_DIRS
RUBY_LIBRARY_DIRS
RUBY_LIB
)
endif()
endif()
+8 -8
View File
@@ -21,19 +21,19 @@
# - Find Source-Highlight
# This module finds if source-highlight is installed.
IF (SOURCEHIGHLIGHT_FOUND)
if(SOURCEHIGHLIGHT_FOUND)
# Already in cache, be silent
SET(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
ENDIF (SOURCEHIGHLIGHT_FOUND)
set(SOURCEHIGHLIGHT_FIND_QUIETLY TRUE)
endif()
FIND_PROGRAM(
find_program(
SOURCEHIGHLIGHT_EXECUTABLE source-highlight
PATHS /bin /usr/bin /usr/local/bin /usr/pkg/bin
)
IF(SOURCEHIGHLIGHT_EXECUTABLE)
SET(SOURCEHIGHLIGHT_FOUND TRUE)
MARK_AS_ADVANCED(
if(SOURCEHIGHLIGHT_EXECUTABLE)
set(SOURCEHIGHLIGHT_FOUND TRUE)
mark_as_advanced(
SOURCEHIGHLIGHT_EXECUTABLE
)
ENDIF(SOURCEHIGHLIGHT_EXECUTABLE)
endif()
+39 -40
View File
@@ -51,26 +51,26 @@
# 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)
if(TCL_FOUND)
set(TCL_FIND_QUIETLY TRUE)
endif()
INCLUDE(CMakeFindFrameworks)
INCLUDE(FindTclsh)
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
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_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
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
set(TCL_POSSIBLE_LIB_PATHS
"${TCL_INCLUDE_PATH_PARENT}/lib"
"${TCL_INCLUDE_PATH_PARENT}/lib64"
"${TCL_LIBRARY_PATH}"
@@ -82,12 +82,12 @@ SET(TCL_POSSIBLE_LIB_PATHS
/usr/local/lib64
)
IF(WIN32)
GET_FILENAME_COMPONENT(
if(WIN32)
get_filename_component(
ActiveTcl_CurrentVersion
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\ActiveState\\ActiveTcl;CurrentVersion]"
NAME)
SET(TCLTK_POSSIBLE_LIB_PATHS ${TCLTK_POSSIBLE_LIB_PATHS}
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"
@@ -95,9 +95,9 @@ IF(WIN32)
"C:/Program Files/Tcl/lib"
"C:/Tcl/lib"
)
ENDIF(WIN32)
endif()
FIND_LIBRARY(TCL_LIBRARY
find_library(TCL_LIBRARY
NAMES
tcl86 tcl8.6
tcl85 tcl8.5
@@ -106,18 +106,18 @@ FIND_LIBRARY(TCL_LIBRARY
PATHS ${TCL_POSSIBLE_LIB_PATHS}
)
CMAKE_FIND_FRAMEWORKS(Tcl)
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_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()
endif()
SET(TCL_POSSIBLE_INCLUDE_PATHS
set(TCL_POSSIBLE_INCLUDE_PATHS
"${TCL_LIBRARY_PATH_PARENT}/include"
"${TCL_INCLUDE_PATH}"
${TCL_FRAMEWORK_INCLUDES}
@@ -132,9 +132,8 @@ SET(TCL_POSSIBLE_INCLUDE_PATHS
/usr/local/include/tcl8.5
)
IF(WIN32)
SET(TCLTK_POSSIBLE_INCLUDE_PATHS ${TCLTK_POSSIBLE_INCLUDE_PATHS}
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"
@@ -142,21 +141,21 @@ IF(WIN32)
"C:/Program Files/Tcl/include"
"C:/Tcl/include"
)
ENDIF(WIN32)
endif()
FIND_PATH(TCL_INCLUDE_PATH
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)
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()
MARK_AS_ADVANCED(
mark_as_advanced(
TCL_INCLUDE_PATH
TCL_LIBRARY
TCL_VERSION
+33 -34
View File
@@ -31,48 +31,47 @@
# (To distribute this file outside of CMake, substitute the full
# License text for the above reference.)
FIND_PATH(ZLIB_INCLUDE_DIR zlib.h
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
find_path(ZLIB_INCLUDE_DIR zlib.h
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
)
SET(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
FIND_LIBRARY(ZLIB_LIBRARY
NAMES
${ZLIB_NAMES}
PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/lib"
)
MARK_AS_ADVANCED(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
set(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
find_library(ZLIB_LIBRARY
NAMES
${ZLIB_NAMES}
PATHS
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/lib"
)
mark_as_advanced(ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
IF(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
FILE(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$")
if(ZLIB_INCLUDE_DIR AND EXISTS "${ZLIB_INCLUDE_DIR}/zlib.h")
file(STRINGS "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_H REGEX "^#define ZLIB_VERSION \"[^\"]*\"$")
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"([0-9]+).*$" "\\1" ZLIB_VERSION_MAJOR "${ZLIB_H}")
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_MINOR "${ZLIB_H}")
STRING(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_PATCH "${ZLIB_H}")
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_MAJOR}.${ZLIB_VERSION_MINOR}.${ZLIB_VERSION_PATCH}")
string(REGEX REPLACE "^.*ZLIB_VERSION \"([0-9]+).*$" "\\1" ZLIB_VERSION_MAJOR "${ZLIB_H}")
string(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_MINOR "${ZLIB_H}")
string(REGEX REPLACE "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.([0-9]+).*$" "\\1" ZLIB_VERSION_PATCH "${ZLIB_H}")
set(ZLIB_VERSION_STRING "${ZLIB_VERSION_MAJOR}.${ZLIB_VERSION_MINOR}.${ZLIB_VERSION_PATCH}")
# only append a TWEAK version if it exists:
SET(ZLIB_VERSION_TWEAK "")
IF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
SET(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}")
SET(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}")
ENDIF( "${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
# only append a TWEAK version if it exists:
set(ZLIB_VERSION_TWEAK "")
if("${ZLIB_H}" MATCHES "^.*ZLIB_VERSION \"[0-9]+\\.[0-9]+\\.[0-9]+\\.([0-9]+).*$")
set(ZLIB_VERSION_TWEAK "${CMAKE_MATCH_1}")
set(ZLIB_VERSION_STRING "${ZLIB_VERSION_STRING}.${ZLIB_VERSION_TWEAK}")
endif()
SET(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}")
SET(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}")
SET(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
ENDIF()
set(ZLIB_MAJOR_VERSION "${ZLIB_VERSION_MAJOR}")
set(ZLIB_MINOR_VERSION "${ZLIB_VERSION_MINOR}")
set(ZLIB_PATCH_VERSION "${ZLIB_VERSION_PATCH}")
endif()
# handle the QUIETLY and REQUIRED arguments and set ZLIB_FOUND to TRUE if
# all listed variables are TRUE
#INCLUDE(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
VERSION_VAR ZLIB_VERSION_STRING)
IF(ZLIB_FOUND)
SET(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR})
SET(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
ENDIF()
include(${CMAKE_HOME_DIRECTORY}/cmake/FindPackageHandleStandardArgs.cmake)
find_package_handle_standard_args(ZLIB REQUIRED_VARS ZLIB_LIBRARY ZLIB_INCLUDE_DIR
VERSION_VAR ZLIB_VERSION_STRING)
if(ZLIB_FOUND)
set(ZLIB_INCLUDE_DIRS ${ZLIB_INCLUDE_DIR})
set(ZLIB_LIBRARIES ${ZLIB_LIBRARY})
endif()
+18 -17
View File
@@ -17,23 +17,24 @@
# along with WeeChat. 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")
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()
FILE(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
STRING(REGEX REPLACE "\n" ";" files "${files}")
LIST(REVERSE files)
FOREACH(file ${files})
MESSAGE(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
IF(EXISTS "$ENV{DESTDIR}${file}")
EXEC_PROGRAM("@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
string(REGEX REPLACE ";$" "" files "${files}")
list(REVERSE files)
foreach(file ${files})
message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"")
if(EXISTS "$ENV{DESTDIR}${file}")
exec_program("@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VARIABLE rm_retval)
IF("${rm_retval}" GREATER 0)
MESSAGE(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
ENDIF("${rm_retval}" GREATER 0)
ELSE(EXISTS "$ENV{DESTDIR}${file}")
MESSAGE(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
ENDIF(EXISTS "$ENV{DESTDIR}${file}")
ENDFOREACH(file)
if("${rm_retval}" GREATER 0)
message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"")
endif()
else()
message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.")
endif()
endforeach(file)
+2
View File
@@ -7,6 +7,8 @@
#cmakedefine HAVE_MALLINFO
#cmakedefine HAVE_EAT_NEWLINE_GLITCH
#cmakedefine HAVE_ASPELL_VERSION_STRING
#cmakedefine HAVE_ENCHANT_GET_VERSION
#cmakedefine HAVE_GUILE_GMP_MEMORY_FUNCTIONS
#define PACKAGE_VERSION "@VERSION@"
#define PACKAGE "@PROJECT_NAME@"
#define PACKAGE_NAME "@PROJECT_NAME@"
+172 -77
View File
@@ -24,14 +24,15 @@
# Process this file with autoconf to produce a configure script.
AC_PREREQ(2.56)
AC_INIT(WeeChat, 0.4.3-rc1, flashcode@flashtux.org)
AC_INIT(WeeChat, 1.1-rc1, flashcode@flashtux.org)
AC_CONFIG_SRCDIR([configure.ac])
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE
AM_INIT_AUTOMAKE([foreign])
LICENSE="GPL3"
# Checks for programs
AC_PROG_CC
AC_PROG_CXX
AC_PROG_MAKE_SET
AC_GNU_SOURCE
AC_PROG_LN_S
@@ -101,14 +102,16 @@ AH_VERBATIM([HAVE_GNUTLS], [#undef HAVE_GNUTLS])
AH_VERBATIM([HAVE_FLOCK], [#undef HAVE_FLOCK])
AH_VERBATIM([HAVE_EAT_NEWLINE_GLITCH], [#undef HAVE_EAT_NEWLINE_GLITCH])
AH_VERBATIM([HAVE_ASPELL_VERSION_STRING], [#undef HAVE_ASPELL_VERSION_STRING])
AH_VERBATIM([HAVE_ENCHANT_GET_VERSION], [#undef HAVE_ENCHANT_GET_VERSION])
AH_VERBATIM([HAVE_GUILE_GMP_MEMORY_FUNCTIONS], [#undef HAVE_GUILE_GMP_MEMORY_FUNCTIONS])
AH_VERBATIM([PLUGIN_ALIAS], [#undef PLUGIN_ALIAS])
AH_VERBATIM([PLUGIN_ASPELL], [#undef PLUGIN_ASPELL])
AH_VERBATIM([PLUGIN_CHARSET], [#undef PLUGIN_CHARSET])
AH_VERBATIM([PLUGIN_EXEC], [#undef PLUGIN_EXEC])
AH_VERBATIM([PLUGIN_FIFO], [#undef PLUGIN_FIFO])
AH_VERBATIM([PLUGIN_IRC], [#undef PLUGIN_IRC])
AH_VERBATIM([PLUGIN_LOGGER], [#undef PLUGIN_LOGGER])
AH_VERBATIM([PLUGIN_RELAY], [#undef PLUGIN_RELAY])
AH_VERBATIM([PLUGIN_RMODIFIER], [#undef PLUGIN_RMODIFIER])
AH_VERBATIM([PLUGIN_SCRIPT], [#undef PLUGIN_SCRIPT])
AH_VERBATIM([PLUGIN_PERL], [#undef PLUGIN_PERL])
AH_VERBATIM([PLUGIN_PYTHON], [#undef PLUGIN_PYTHON])
@@ -116,7 +119,9 @@ AH_VERBATIM([PLUGIN_RUBY], [#undef PLUGIN_RUBY])
AH_VERBATIM([PLUGIN_LUA], [#undef PLUGIN_LUA])
AH_VERBATIM([PLUGIN_TCL], [#undef PLUGIN_TCL])
AH_VERBATIM([PLUGIN_GUILE], [#undef PLUGIN_GUILE])
AH_VERBATIM([PLUGIN_TRIGGER], [#undef PLUGIN_TRIGGER])
AH_VERBATIM([PLUGIN_XFER], [#undef PLUGIN_XFER])
AH_VERBATIM([TESTS], [#undef TESTS])
AH_VERBATIM([MAN], [#undef MAN])
AH_VERBATIM([DOC], [#undef DOC])
AH_VERBATIM([WEECHAT_HOME], [#define WEECHAT_HOME "~/.weechat"])
@@ -131,11 +136,11 @@ AC_ARG_ENABLE(alias, [ --disable-alias turn off Alias plugin (de
AC_ARG_ENABLE(aspell, [ --disable-aspell turn off Aspell plugin (default=compiled)],enable_aspell=$enableval,enable_aspell=yes)
AC_ARG_ENABLE(enchant, [ --enable-enchant turn on Enchant lib for Aspell plugin (default=off)],enable_enchant=$enableval,enable_enchant=no)
AC_ARG_ENABLE(charset, [ --disable-charset turn off Charset plugin (default=compiled if found)],enable_charset=$enableval,enable_charset=yes)
AC_ARG_ENABLE(exec, [ --disable-exec turn off Exec plugin (default=compiled)],enable_exec=$enableval,enable_exec=yes)
AC_ARG_ENABLE(fifo, [ --disable-fifo turn off Fifo plugin (default=compiled)],enable_fifo=$enableval,enable_fifo=yes)
AC_ARG_ENABLE(irc, [ --disable-irc turn off IRC plugin (default=compiled)],enable_irc=$enableval,enable_irc=yes)
AC_ARG_ENABLE(logger, [ --disable-logger turn off Logger plugin (default=compiled)],enable_logger=$enableval,enable_logger=yes)
AC_ARG_ENABLE(relay, [ --disable-relay turn off Relay plugin (default=compiled)],enable_relay=$enableval,enable_relay=yes)
AC_ARG_ENABLE(rmodifier, [ --disable-rmodifier turn off Rmodifier plugin (default=compiled)],enable_rmodifier=$enableval,enable_rmodifier=yes)
AC_ARG_ENABLE(script, [ --disable-script turn off Script plugin (default=compiled)],enable_script=$enableval,enable_script=yes)
AC_ARG_ENABLE(scripts, [ --disable-scripts turn off script plugins (perl, python, ...) (default=compiled if found)],enable_scripts=$enableval,enable_scripts=yes)
AC_ARG_ENABLE(perl, [ --disable-perl turn off Perl script plugin (default=compiled if found)],enable_perl=$enableval,enable_perl=yes)
@@ -145,14 +150,13 @@ AC_ARG_ENABLE(ruby, [ --disable-ruby turn off Ruby script plug
AC_ARG_ENABLE(lua, [ --disable-lua turn off Lua script plugin (default=compiled if found)],enable_lua=$enableval,enable_lua=yes)
AC_ARG_ENABLE(tcl, [ --disable-tcl turn off Tcl script plugin (default=compiled if found)],enable_tcl=$enableval,enable_tcl=yes)
AC_ARG_ENABLE(guile, [ --disable-guile turn off Guile (scheme) script plugin (default=compiled if found)],enable_guile=$enableval,enable_guile=yes)
AC_ARG_ENABLE(trigger, [ --disable-trigger turn off Trigger plugin (default=compiled)],enable_trigger=$enableval,enable_trigger=yes)
AC_ARG_ENABLE(xfer, [ --disable-xfer turn off Xfer (file transfer) plugin (default=compiled if found)],enable_xfer=$enableval,enable_xfer=yes)
AC_ARG_WITH(lua-inc, [ --with-lua-inc=DIR, lua include files are in DIR (default=autodetect)],lua_inc=$withval,lua_inc='')
AC_ARG_WITH(lua-lib, [ --with-lua-lib=DIR, lua library files are in DIR (default=autodetect)],lua_lib=$withval,lua_lib='')
AC_ARG_WITH(lua-suffix, [ --with-lua-suffix=ARG lua is suffixed with ARG (default=autodetect)],lua_suffix=$withval,lua_suffix='')
AC_ARG_WITH(tclconfig, [ --with-tclconfig=DIR directory containing tcl configuration (tclConfig.sh)],tclconfig=$withval,tclconfig='')
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
AC_ARG_ENABLE(tests, [ --enable-tests turn on build of tests (default=not built)],enable_tests=$enableval,enable_tests=no)
AC_ARG_ENABLE(man, [ --enable-man turn on build of man page (default=not built)],enable_man=$enableval,enable_man=no)
AC_ARG_ENABLE(doc, [ --enable-doc turn on build of documentation (default=not built)],enable_doc=$enableval,enable_doc=no)
AC_ARG_WITH(debug, [ --with-debug debugging: 0=no debug, 1=debug compilation (default=1)],debug=$withval,debug=1)
AC_ARG_VAR(WEECHAT_HOME, [WeeChat home directory for config, logs, scripts.. (default is "~/.weechat")])
AC_ARG_VAR(CA_FILE, [File containing the certificate authorities (default is "/etc/ssl/certs/ca-certificates.crt"). This is the default value of option "weechat.network.gnutls_ca_file".])
@@ -252,7 +256,7 @@ if test "x$ac_found_iconv_header" = "xyes" ; then
return 0;
}
return 1;
}],iconv_found="yes")
}],iconv_found="yes", iconv_found="no", iconv_found="assume-yes")
if test "x$iconv_found" = "xno" ; then
AC_MSG_RESULT(no)
else
@@ -302,6 +306,23 @@ if test "x$enable_aspell" = "xyes" ; then
if test "x$ac_found_enchant_lib" = "xyes" ; then
CFLAGS="$CFLAGS -DUSE_ENCHANT"
ASPELL_LIB_USED="enchant"
# check if function enchant_get_version() exists
ac_save_CFLAGS="$CFLAGS"
ac_save_LDFLAGS="$LDFLAGS"
CFLAGS="$CFLAGS $ENCHANT_CFLAGS"
LDFLAGS="$LDFLAGS $ENCHANT_LIBS"
AC_CACHE_CHECK([for enchant_get_version() support], ac_cv_have_enchant_get_version, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <enchant.h>]],
[[ const char *version = enchant_get_version(); ]])],
[ ac_have_enchant_get_version="yes" ],
[ ac_have_enchant_get_version="no" ])])
CFLAGS="$ac_save_CFLAGS"
LDFLAGS="$ac_save_LDFLAGS"
if test "x$ac_have_enchant_get_version" = "xyes"; then
AC_DEFINE(HAVE_ENCHANT_GET_VERSION)
fi
else
ASPELL_CFLAGS=""
ASPELL_LFLAGS=""
@@ -322,6 +343,8 @@ if test "x$enable_aspell" = "xyes" ; then
AC_MSG_RESULT(yes)
ASPELL_LFLAGS="$ASPELL_LFLAGS -laspell"
ASPELL_LIB_USED="aspell"
# check if function aspell_version_string() exists
ac_save_LDFLAGS="$LDFLAGS"
LDFLAGS="$LDFLAGS $ASPELL_LFLAGS"
AC_CACHE_CHECK([for aspell_version_string() support], ac_cv_have_aspell_version_string, [
@@ -358,6 +381,18 @@ else
not_asked="$not_asked charset"
fi
# ---------------------------------- exec --------------------------------------
if test "x$enable_exec" = "xyes" ; then
EXEC_CFLAGS=""
EXEC_LFLAGS=""
AC_SUBST(EXEC_CFLAGS)
AC_SUBST(EXEC_LFLAGS)
AC_DEFINE(PLUGIN_EXEC)
else
not_asked="$not_asked exec"
fi
# ---------------------------------- fifo --------------------------------------
if test "x$enable_fifo" = "xyes" ; then
@@ -402,14 +437,6 @@ else
not_asked="$not_asked relay"
fi
# ------------------------------- rmodifier ------------------------------------
if test "x$enable_rmodifier" = "xyes" ; then
AC_DEFINE(PLUGIN_RMODIFIER)
else
not_asked="$not_asked rmodifier"
fi
# --------------------------------- script -------------------------------------
if test "x$enable_script" = "xyes" ; then
@@ -435,7 +462,7 @@ if test "x$enable_perl" = "xyes" ; then
PERL_VERSION=`perl -V:version | sed "s/version='\(.*\)';/\1/"`
AC_MSG_CHECKING(for Perl headers files)
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
PERL_HEADER_TEST=`PT=perltest.c ; echo "#include <EXTERN.h>" > $PT; echo "#include <perl.h>" >> $PT; echo "#include <XSUB.h>" >> $PT ; echo "int main() { return 0; }" >> $PT ; $CC -Wall $PT -o $PT.out $($PERL -MExtUtils::Embed -e ccopts -e ldopts) 1>/dev/null 2>&1; echo $?; rm -f $PT $PT.out 1>/dev/null 2>&1`
if test "x$PERL_HEADER_TEST" = "x0" ; then
PERL_CFLAGS=`$PERL -MExtUtils::Embed -e ccopts`
@@ -553,31 +580,34 @@ fi
RUBY_VERSION=
if test "x$enable_ruby" = "xyes" ; then
AC_PATH_PROGS(RUBY, ruby1.9.3 ruby1.9.2 ruby1.9.1 ruby1.9 ruby1.8 ruby)
if test -z $RUBY ; then
AC_MSG_WARN([
RUBY_CFLAGS=""
RUBY_LFLAGS=""
for v in "2.1" "2.0" "1.9" "1.8" ; do
pkgconfig_ruby_found=`$PKGCONFIG --exists ruby-$v 2>/dev/null`
if test "x$?" = "x0" ; then
RUBY_VERSION=`$PKGCONFIG --modversion ruby-$v`
RUBY_CFLAGS=`$PKGCONFIG --cflags ruby-$v`
RUBY_LFLAGS=`$PKGCONFIG --libs ruby-$v`
break
fi
done
if test "x$RUBY_CFLAGS" = "x" -o "x$RUBY_LFLAGS" = "x" ; then
AC_PATH_PROGS(RUBY, ruby1.9.3 ruby1.9.2 ruby1.9.1 ruby1.9 ruby1.8 ruby)
if test -z $RUBY ; then
AC_MSG_WARN([
*** Ruby must be installed on your system but ruby interpreter couldn't be found in path.
*** Please check that ruby is in path, or install it with your software package manager.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['ruby_version']]"`
if test "$RUBY_VERSION" = "1.9.0"; then
AC_MSG_WARN([
*** Ruby header files have been found, but they're of the version 1.9.0.
*** Ruby 1.9.0 is an unstable release and should not be used in production.
*** Please install Ruby 1.8.x (>= 1.8.6) or >= 1.9.1.
*** WeeChat will be built without Ruby support.])
enable_ruby="no"
not_found="$not_found ruby"
else
RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['MAJOR']] + '.' + RbConfig::CONFIG[['MINOR']] + '.' + RbConfig::CONFIG[['TEENY']]"`
RUBY_INCLUDE=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['rubyhdrdir']] || RbConfig::CONFIG[['archdir']]"`
RUBY_ARCH=`$RUBY -rrbconfig -e 'print RbConfig::CONFIG[["arch"]]'`
AC_MSG_CHECKING(for Ruby header files)
if test -d "$RUBY_INCLUDE/"; then
M_RUBY_VERSION=`$RUBY -rrbconfig -e "puts RbConfig::CONFIG[['ruby_version']].gsub(/\./, '')[[0,3]]"`
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH -DRUBY_VERSION=$M_RUBY_VERSION"
RUBY_CFLAGS="-I$RUBY_INCLUDE/ -I$RUBY_INCLUDE/$RUBY_ARCH"
else
AC_MSG_WARN([
*** Ruby header files couldn't be found on your system.
@@ -621,32 +651,28 @@ if test "x$enable_lua" = "xyes" ; then
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
AC_MSG_CHECKING(for Lua headers and librairies with pkg-config)
echo
for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
pkgconfig_lua_found=`$PKGCONFIG --exists lua$l 2>/dev/null`
if test "x$?" = "x0" ; then
LUA_VERSION=`$PKGCONFIG --modversion lua$l`
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lua$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lua$l`
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
break
pkgconfig_lualib_found=`$PKGCONFIG --exists lualib$l 2>/dev/null`
if test "x$?" = "x0"; then
LUA_CFLAGS="$LUA_CFLAGS "`$PKGCONFIG --cflags lualib$l`
LUA_LFLAGS="$LUA_LFLAGS "`$PKGCONFIG --libs lualib$l`
fi
done
fi
break
fi
done
fi
if test "x$LUA_CFLAGS" = "x" -o "x$LUA_LFLAGS" = "x" ; then
LUACONFIG=""
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config51 lua-config5.1 lua-config50 lua-config5.0)
AC_CHECK_PROGS(LUACONFIG, lua-config lua-config52 lua-config5.2 lua-config51 lua-config5.1 lua-config50 lua-config5.0)
if test "x$LUACONFIG" != "x" ; then
AC_MSG_CHECKING(for Lua headers and librairies with lua-config)
echo
@@ -664,7 +690,7 @@ if test "x$enable_lua" = "xyes" ; then
if test "x$ac_found_lua_header" = "xyes" -a "x$ac_found_liblua_header" = "xyes"; then
LUA_CFLAGS="$CFLAGS"
fi
for l in "$lua_suffix" "" "51" "5.1" "50" "5.0" ; do
for l in "$lua_suffix" "" "52" "5.2" "51" "5.1" "50" "5.0" ; do
AC_CHECK_LIB(lua$l,lua_call,ac_found_lua_lib="yes",ac_found_lua_lib="no")
if test "x$ac_found_lua_lib" = "xyes" ; then
LUA_VERSION=">=5.1.0"
@@ -773,24 +799,37 @@ if test "x$enable_guile" = "xyes" ; then
enable_plugins="yes"
guile_found="no"
PKGCONFIG=""
AC_CHECK_PROGS(PKGCONFIG, pkg-config)
if test "x$PKGCONFIG" != "x"; then
AC_MSG_CHECKING(for Guile headers and librairies)
echo
for v in "2.0" ; do
pkgconfig_guile_found=`$PKGCONFIG --exists guile-$v 2>/dev/null`
if test "x$?" = "x0" ; then
GUILE_VERSION=`$PKGCONFIG --modversion guile-$v`
GUILE_CFLAGS=`$PKGCONFIG --cflags guile-$v`
GUILE_LFLAGS=`$PKGCONFIG --libs guile-$v`
guile_found="yes"
break
fi
done
fi
AC_MSG_CHECKING(for Guile headers and librairies)
echo
for v in "2.0" ; do
pkgconfig_guile_found=`$PKGCONFIG --exists guile-$v 2>/dev/null`
if test "x$?" = "x0" ; then
GUILE_VERSION=`$PKGCONFIG --modversion guile-$v`
GUILE_CFLAGS=`$PKGCONFIG --cflags guile-$v`
GUILE_LFLAGS=`$PKGCONFIG --libs guile-$v`
guile_found="yes"
break
fi
done
if test "x$guile_found" = "xno" ; then
if test "x$guile_found" = "xyes" ; then
# check if variable "scm_install_gmp_memory_functions" exists
ac_save_CFLAGS="$CFLAGS"
ac_save_LDFLAGS="$LDFLAGS"
CFLAGS="$CFLAGS $GUILE_CFLAGS"
LDFLAGS="$LDFLAGS $GUILE_LFLAGS"
AC_CACHE_CHECK([for variable scm_install_gmp_memory_functions], ac_cv_have_guile_gmp_memory_functions, [
AC_LINK_IFELSE([AC_LANG_PROGRAM(
[[ #include <libguile.h>]],
[[ scm_install_gmp_memory_functions = 0; ]])],
[ ac_have_guile_gmp_memory_functions="yes" ],
[ ac_have_guile_gmp_memory_functions="no" ])])
CFLAGS="$ac_save_CFLAGS"
LDFLAGS="$ac_save_LDFLAGS"
if test "x$ac_have_guile_gmp_memory_functions" = "xyes"; then
AC_DEFINE(HAVE_GUILE_GMP_MEMORY_FUNCTIONS)
fi
else
AC_MSG_WARN([
*** Guile >= 2.0 couldn't be found on your system.
*** WeeChat will be built without Guile (scheme) support.])
@@ -805,6 +844,18 @@ if test "x$enable_guile" = "xyes" ; then
AC_DEFINE(PLUGIN_GUILE)
fi
# --------------------------------- trigger ------------------------------------
if test "x$enable_trigger" = "xyes" ; then
TRIGGER_CFLAGS=""
TRIGGER_LFLAGS=""
AC_SUBST(TRIGGER_CFLAGS)
AC_SUBST(TRIGGER_LFLAGS)
AC_DEFINE(PLUGIN_TRIGGER)
else
not_asked="$not_asked trigger"
fi
# ---------------------------------- xfer --------------------------------------
if test "x$enable_xfer" = "xyes" ; then
@@ -889,6 +940,7 @@ fi
# ------------------------------------------------------------------------------
# large file support
# ------------------------------------------------------------------------------
if test "x$enable_largefile" = "xyes" ; then
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES"
else
@@ -970,6 +1022,36 @@ CURL_LFLAGS=`$CURL_CONFIG --libs`
AC_SUBST(CURL_CFLAGS)
AC_SUBST(CURL_LFLAGS)
# ------------------------------------------------------------------------------
# tests
# ------------------------------------------------------------------------------
if test "x$enable_tests" = "xyes" ; then
cpputest_found="no"
AC_MSG_CHECKING(for CppUTest headers and librairies)
echo
pkgconfig_cpputest_found=`$PKGCONFIG --exists cpputest 2>/dev/null`
if test "x$?" = "x0" ; then
CPPUTEST_VERSION=`$PKGCONFIG --modversion cpputest`
CPPUTEST_CFLAGS=`$PKGCONFIG --cflags cpputest`
CPPUTEST_LFLAGS=`$PKGCONFIG --libs cpputest`
else
AC_MSG_WARN([
*** CppUTest couldn't be found on your system.
*** WeeChat will be built without tests.])
enable_tests="no"
not_found="$not_found tests"
fi
else
not_asked="$not_asked tests"
fi
if test "x$enable_tests" = "xyes" ; then
AC_SUBST(CPPUTEST_CFLAGS)
AC_SUBST(CPPUTEST_LFLAGS)
AC_DEFINE(TESTS)
fi
# ------------------------------------------------------------------------------
# man page / documentation
# ------------------------------------------------------------------------------
@@ -1058,7 +1140,7 @@ AC_DEFINE_UNQUOTED(WEECHAT_SHAREDIR, "$WEECHAT_SHAREDIR")
weechat_libdir=${libdir}/weechat
AC_SUBST(weechat_libdir)
COMMON_CFLAGS="-Wall -W -Werror-implicit-function-declaration"
COMMON_CFLAGS="-Wall -Wextra -Werror-implicit-function-declaration"
AC_MSG_CHECKING([whether we have GNU assembler])
GAS=`as --version < /dev/null 2>/dev/null | grep GNU`
if test "$GAS"; then
@@ -1118,11 +1200,11 @@ AM_CONDITIONAL(GUI_NCURSES, test "$enable_ncurses" = "yes")
AM_CONDITIONAL(PLUGIN_ALIAS, test "$enable_alias" = "yes")
AM_CONDITIONAL(PLUGIN_ASPELL, test "$enable_aspell" = "yes")
AM_CONDITIONAL(PLUGIN_CHARSET, test "$enable_charset" = "yes")
AM_CONDITIONAL(PLUGIN_EXEC, test "$enable_exec" = "yes")
AM_CONDITIONAL(PLUGIN_FIFO, test "$enable_fifo" = "yes")
AM_CONDITIONAL(PLUGIN_IRC, test "$enable_irc" = "yes")
AM_CONDITIONAL(PLUGIN_LOGGER, test "$enable_logger" = "yes")
AM_CONDITIONAL(PLUGIN_RELAY, test "$enable_relay" = "yes")
AM_CONDITIONAL(PLUGIN_RMODIFIER, test "$enable_rmodifier" = "yes")
AM_CONDITIONAL(PLUGIN_SCRIPT, test "$enable_script" = "yes")
AM_CONDITIONAL(PLUGIN_PERL, test "$enable_perl" = "yes")
AM_CONDITIONAL(PLUGIN_PYTHON, test "$enable_python" = "yes")
@@ -1130,7 +1212,9 @@ AM_CONDITIONAL(PLUGIN_RUBY, test "$enable_ruby" = "yes")
AM_CONDITIONAL(PLUGIN_LUA, test "$enable_lua" = "yes")
AM_CONDITIONAL(PLUGIN_TCL, test "$enable_tcl" = "yes")
AM_CONDITIONAL(PLUGIN_GUILE, test "$enable_guile" = "yes")
AM_CONDITIONAL(PLUGIN_TRIGGER, test "$enable_trigger" = "yes")
AM_CONDITIONAL(PLUGIN_XFER, test "$enable_xfer" = "yes")
AM_CONDITIONAL(TESTS, test "$enable_tests" = "yes")
AM_CONDITIONAL(MAN, test "$enable_man" = "yes")
AM_CONDITIONAL(DOC, test "$enable_doc" = "yes")
@@ -1150,11 +1234,11 @@ AC_OUTPUT([Makefile
src/plugins/alias/Makefile
src/plugins/aspell/Makefile
src/plugins/charset/Makefile
src/plugins/exec/Makefile
src/plugins/fifo/Makefile
src/plugins/irc/Makefile
src/plugins/logger/Makefile
src/plugins/relay/Makefile
src/plugins/rmodifier/Makefile
src/plugins/script/Makefile
src/plugins/perl/Makefile
src/plugins/python/Makefile
@@ -1162,9 +1246,11 @@ AC_OUTPUT([Makefile
src/plugins/lua/Makefile
src/plugins/tcl/Makefile
src/plugins/guile/Makefile
src/plugins/trigger/Makefile
src/plugins/xfer/Makefile
src/gui/Makefile
src/gui/curses/Makefile
tests/Makefile
intl/Makefile
po/Makefile.in])
@@ -1193,6 +1279,9 @@ fi
if test "x$enable_charset" = "xyes"; then
listplugins="$listplugins charset"
fi
if test "x$enable_exec" = "xyes"; then
listplugins="$listplugins exec"
fi
if test "x$enable_fifo" = "xyes"; then
listplugins="$listplugins fifo"
fi
@@ -1205,9 +1294,6 @@ fi
if test "x$enable_relay" = "xyes"; then
listplugins="$listplugins relay"
fi
if test "x$enable_rmodifier" = "xyes"; then
listplugins="$listplugins rmodifier"
fi
if test "x$enable_script" = "xyes"; then
listplugins="$listplugins script"
fi
@@ -1229,6 +1315,9 @@ fi
if test "x$enable_guile" = "xyes"; then
listplugins="$listplugins guile($GUILE_VERSION)"
fi
if test "x$enable_trigger" = "xyes"; then
listplugins="$listplugins trigger"
fi
if test "x$enable_xfer" = "xyes"; then
listplugins="$listplugins xfer"
fi
@@ -1252,6 +1341,11 @@ if test "x$debug" != "x0"; then
msg_debug="yes"
fi
msg_tests="no"
if test "x$enable_tests" = "xyes"; then
msg_tests="yes"
fi
if test "x$msg_man" = "x"; then
msg_man="no"
else
@@ -1269,6 +1363,7 @@ echo " Interfaces............. :$listgui"
echo " Plugins................ :$listplugins"
echo " Optional features...... :$listoptional"
echo " Compile with debug..... : $msg_debug"
echo " Compile tests.......... : $msg_tests"
echo " Man page............... : $msg_man"
echo " Documentation.......... : $msg_doc"
echo " Certificate authorities : ${CA_FILE}"
+87
View File
@@ -1,3 +1,90 @@
weechat (1.0-1) unstable; urgency=medium
* New upstream release (Closes: #758230, #751108)
- Remove the patch to fix FTBFS while building against ruby 2.1
- Fix the way to install upstream changelog
- Add new plugins (exec, trigger)
- Fix the way to install docs (upstream changes to asciidoc)
* Re-enable the build of guile plugin
* Fix various typos in packaging
* Update copyright years in debian/copyright
* Add new doc-base files (Relay Protocol in Japanese)
* Add git-buildpackage configuration
-- Emmanuel Bouthenot <kolter@debian.org> Sun, 24 Aug 2014 17:40:36 +0200
weechat (0.4.3-4) unstable; urgency=medium
* Fix FTBFS by adding a missing Build Depends on docbook-xml
(Closes:#753166)
* Update libgnutls and libgcrypt Build Depends to libgnutls28-dev and
libgcrypt20-dev (Closes: #753167)
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 02 Jul 2014 23:42:41 +0200
weechat (0.4.3-3) unstable; urgency=medium
* Add patch (backported from upstream) to fix a FTBFS while building
against ruby 2.1 (Closes: #747708)
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 12 May 2014 12:49:14 +0200
weechat (0.4.3-2) unstable; urgency=medium
* Add missing symlink for Polish manpage
* Change ruby-* Build-Depends to gem2deb so that ruby plugin will be
built against the newest Ruby interpreter available (Closes: #738685)
-- Emmanuel Bouthenot <kolter@debian.org> Thu, 13 Feb 2014 12:11:54 +0000
weechat (0.4.3-1) unstable; urgency=medium
* New upstream release
* Bump Standards-Version to 3.9.5
* Update debian/watch to check upstream tarballs signatures
* Add new doc-base files:
- Devel guide in French and Japanese
- Plugins guide in Japanese
- Relay protocol guide in French
- User guide in Polish
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 10 Feb 2014 17:15:21 +0000
weechat (0.4.2-3) unstable; urgency=low
* Fix FTBS while building without Internet access (add a missing build
dependency on docbook-xsl) (Closes: #727206)
-- Emmanuel Bouthenot <kolter@debian.org> Wed, 23 Oct 2013 20:54:08 +0000
weechat (0.4.2-2) unstable; urgency=low
* Move dependencies from Build-Depends-Indep to Build-Depends (weechat-curses
as arch:any needs them to build manpages)
-- Emmanuel Bouthenot <kolter@debian.org> Tue, 08 Oct 2013 07:16:59 +0000
weechat (0.4.2-1) unstable; urgency=low
* New upstream release
- Add build dependency on xsltproc
- Enable build of documentation and manpages (now disabled by default)
- Install new localized manpages
- weechat-curses renamed to weechat
o update packaging accordingly
o add symlinks for backward compatibility
* Refresh XPM menu icon following upstream changes
* Switch to debhelper >= 9
-- Emmanuel Bouthenot <kolter@debian.org> Mon, 07 Oct 2013 21:40:15 +0000
weechat (0.4.1-2) unstable; urgency=low
* Disable build of guile plugin (as guile-2.0-dev FTBFS on multiple
architectures)
-- Emmanuel Bouthenot <kolter@debian.org> Sat, 29 Jun 2013 14:48:33 +0000
weechat (0.4.1-1) unstable; urgency=low
* New upstream release
+1 -1
View File
@@ -1 +1 @@
7
9
+24 -9
View File
@@ -2,13 +2,28 @@ Source: weechat
Section: net
Priority: optional
Maintainer: Emmanuel Bouthenot <kolter@debian.org>
Build-Depends: debhelper (>= 7.0.50), cmake, libncursesw5-dev,
ruby1.9.1, ruby1.9.1-dev, libperl-dev, python-dev, libaspell-dev, liblua5.1-0-dev,
tcl8.5-dev, guile-2.0-dev, libcurl4-gnutls-dev, libgcrypt11-dev, libgnutls-dev,
zlib1g-dev, dpkg-dev (>= 1.13.19), pkg-config, asciidoc (>= 8.5), source-highlight,
xsltproc, docbook-xml, docbook-xsl
Standards-Version: 3.9.4
Homepage: http://weechat.org/
Build-Depends:
asciidoc (>= 8.5),
source-highlight,
xsltproc,
docbook-xsl,
docbook-xml,
debhelper (>= 9),
cmake, pkg-config,
libncursesw5-dev,
gem2deb,
libperl-dev,
python-dev,
libaspell-dev,
liblua5.1-0-dev,
tcl8.5-dev,
guile-2.0-dev,
libcurl4-gnutls-dev,
libgcrypt20-dev,
libgnutls28-dev,
zlib1g-dev
Standards-Version: 3.9.5
Homepage: https://weechat.org/
Vcs-Git: git://anonscm.debian.org/users/kolter/weechat.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/kolter/weechat.git
@@ -93,7 +108,7 @@ Description: Fast, light and extensible chat client - plugins
- Spell checking (thanks to aspell)
- FIFO pipe for remote control
- IRC proxy
- Realtime input/output changes through regular expressions
- Trigger
Package: weechat-doc
Section: doc
@@ -109,7 +124,7 @@ Package: weechat-dev
Section: devel
Architecture: all
Depends: ${misc:Depends}
Description: Fast, light and extensible chat client - developement headers
Description: Fast, light and extensible chat client - development 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.
.
+2 -2
View File
@@ -1,7 +1,7 @@
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=174
Upstream-Name: weechat
Upstream-Contact: Sébastien Helleu <flashcode@flashtux.org>
Source: http://weechat.org/
Source: https://weechat.org/
Files: *
Copyright: 2003-2014, Sébastien Helleu <flashcode@flashtux.org>
@@ -11,7 +11,7 @@ License: GPL-3+
Files: debian/*
Copyright: 2005-2008, Julien Louis <ptitlouis@sysif.net>
2008-2012, Emmanuel Bouthenot <kolter@openics.org>
2008-2014, Emmanuel Bouthenot <kolter@openics.org>
License: GPL-3+
License: GPL-3+
+5
View File
@@ -0,0 +1,5 @@
[DEFAULT]
upstream-branch = upstream
debian-branch = unstable
upstream-tag = v%(version)s
compression = xz
+5 -17
View File
@@ -1,22 +1,14 @@
#!/usr/bin/make -f
# Default build flags
CFLAGS = -g -O2
LDFLAGS = -Wl,-Bsymbolic-functions
# dpkg >= 1.16.1 provides enhanced build flags (hardening features, etc.)
DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/buildflags.mk
BUILDDIR = builddir
$(BUILDDIR)/Makefile:
mkdir -p $(BUILDDIR)
cd $(BUILDDIR) && \
cmake .. \
-DENABLE_MAN:BOOL=ON \
-DENABLE_DOC:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DENABLE_DOC:BOOL=ON \
-DENABLE_MAN:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="$(CFLAGS) -D_FORTIFY_SOURCE=2" \
-DCMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING="$(LDFLAGS)" \
@@ -26,18 +18,14 @@ $(BUILDDIR)/Makefile:
override_dh_auto_build: $(BUILDDIR)/Makefile
dh_auto_build
# Create a symbolic link weechat-curses -> weechat
# This link is created for compatibility with old versions on /upgrade.
# It may be removed in future.
override_dh_auto_install:
dh_auto_install
ln -s weechat $(CURDIR)/debian/weechat-curses/usr/bin/weechat-curses
override_dh_auto_configure:
# the package also has autotools buildsys and
# debhelper try to use it but that's not needed
echo
override_dh_installchangelogs:
dh_installchangelogs ChangeLog.asciidoc
override_dh_strip:
dh_strip --dbg-package=weechat-dbg
+1
View File
@@ -0,0 +1 @@
debian/upstream-signing-key.pgp
+2
View File
@@ -0,0 +1,2 @@
unapply-patches
abort-on-upstream-changes
+2 -2
View File
@@ -1,2 +1,2 @@
version=2
http://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
version=3
opts=pgpsigurlmangle=s/$/.asc/ https://weechat.org/files/src/weechat-(\d.*)\.tar\.bz2
+4 -3
View File
@@ -1,3 +1,4 @@
AUTHORS
NEWS
README
AUTHORS.asciidoc
Contributing.asciidoc
README.asciidoc
ReleaseNotes.asciidoc
+7
View File
@@ -0,0 +1,7 @@
usr/bin/weechat usr/bin/weechat-curses
usr/share/man/man1/weechat.1.gz usr/share/man/man1/weechat-curses.1.gz
usr/share/man/fr/man1/weechat.1.gz usr/share/man/fr/man1/weechat-curses.1.gz
usr/share/man/ja/man1/weechat.1.gz usr/share/man/ja/man1/weechat-curses.1.gz
usr/share/man/it/man1/weechat.1.gz usr/share/man/it/man1/weechat-curses.1.gz
usr/share/man/de/man1/weechat.1.gz usr/share/man/de/man1/weechat-curses.1.gz
usr/share/man/pl/man1/weechat.1.gz usr/share/man/pl/man1/weechat-curses.1.gz
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-dev-en
Title: WeeChat Developer's Guide (English)
Title: WeeChat developer's guide (English)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (English version).
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-dev-fr
Title: WeeChat developer's guide (French)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_dev.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_dev.fr.html
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-dev-ja
Title: WeeChat Developer's Guide (Japanese)
Title: WeeChat developer's guide (Japanese)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat internals and
how to contribute to WeeChat (Japanese version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-plugin-en
Title: WeeChat plugins API (English)
Title: WeeChat plugin API reference (English)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (English version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-plugin-fr
Title: WeeChat plugins API (French)
Title: WeeChat plugin API reference (French)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (French version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-plugin-it
Title: WeeChat plugins API (Italian)
Title: WeeChat plugin API reference (Italian)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (Italian version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-plugin-ja
Title: WeeChat plugins API (Japanese)
Title: WeeChat plugin API reference (Japanese)
Author: Sébastien Helleu
Abstract: This document describes the API to create plugins
for WeeChat (Japanese version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-quickstart-de
Title: WeeChat Quickstart (German)
Title: WeeChat quick start guide (German)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (German version).
Section: Network/Communication
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-quickstart-en
Title: WeeChat Quickstart (English)
Title: WeeChat quick start guide (English)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (English version).
Section: Network/Communication
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-quickstart-es
Title: WeeChat Quickstart (Spanish)
Title: WeeChat quick start guide (Spanish)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Spanish version).
Section: Network/Communication
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-quickstart-fr
Title: WeeChat Quickstart (French)
Title: WeeChat quick start guide (French)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (French version).
Section: Network/Communication
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-quickstart-it
Title: WeeChat Quickstart (Italian)
Title: WeeChat quick start guide (Italian)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Italian version).
Section: Network/Communication
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-quickstart-ja
Title: WeeChat Quickstart (Japanese)
Title: WeeChat quick start guide (Japanese)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Japanese version).
Section: Network/Communication
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-quickstart-pl
Title: WeeChat Quickstart (Polish)
Title: WeeChat quick start guide (Polish)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Polish version).
Section: Network/Communication
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-quickstart-ru
Title: WeeChat Quickstart (Russian)
Title: WeeChat quick start guide (Russian)
Author: Sébastien Helleu
Abstract: A short HowTo for new WeeChat users (Russian version).
Section: Network/Communication
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-relay-protocol-en
Title: WeeChat Relay Protocol (English)
Title: WeeChat Relay protocol (English)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (English version).
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-relay-protocol-fr
Title: WeeChat Relay protocol (French)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (French version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.fr.html
+10
View File
@@ -0,0 +1,10 @@
Document: weechat-relay-protocol-ja
Title: WeeChat Relay protocol (Japanese)
Author: Sébastien Helleu
Abstract: This manual describes WeeChat Relay Protocol, used by
remote GUI to communicate with Relay plugin (Japanese version).
Section: Network/Communication
Format: HTML
Index: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
Files: /usr/share/doc/weechat-doc/html/weechat_relay_protocol.ja.html
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-scripting-de
Title: WeeChat Scripting Guide (German)
Title: WeeChat scripting guide (German)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (German version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-scripting-en
Title: WeeChat Scripting Guide (English)
Title: WeeChat scripting guide (English)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (English version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-scripting-fr
Title: WeeChat Scripting Guide (French)
Title: WeeChat scripting guide (French)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (French version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-scripting-it
Title: WeeChat Scripting Guide (Italian)
Title: WeeChat scripting guide (Italian)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Italian version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-scripting-ja
Title: WeeChat Scripting Guide (Japanese)
Title: WeeChat scripting guide (Japanese)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Japanese version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-scripting-pl
Title: WeeChat Scripting Guide (Polish)
Title: WeeChat scripting guide (Polish)
Author: Sébastien Helleu
Abstract: This document describes the API to create scripts
for WeeChat (Polish version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-tester-de
Title: WeeChat Tester's Guide (German)
Title: WeeChat tester's guide (German)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (German version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-tester-en
Title: WeeChat Tester's Guide (English)
Title: WeeChat tester's guide (English)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (English version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-tester-fr
Title: WeeChat Tester's Guide (French)
Title: WeeChat tester's guide (French)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (French version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-tester-it
Title: WeeChat Tester's Guide (Italian)
Title: WeeChat tester's guide (Italian)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Italian version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-tester-ja
Title: WeeChat Tester's Guide (Japanese)
Title: WeeChat tester's guide (Japanese)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Japanese version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-tester-pl
Title: WeeChat Tester's Guide (Polish)
Title: WeeChat tester's guide (Polish)
Author: Sébastien Helleu
Abstract: This document describes how to test and report
bugs against the WeeChat IRC Client (Polish version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-user-de
Title: WeeChat User's Guide (German)
Title: WeeChat user's guide (German)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (German version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-user-en
Title: WeeChat User's Guide (English)
Title: WeeChat user's guide (English)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (English version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-user-fr
Title: WeeChat User's Guide (French)
Title: WeeChat user's guide (French)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (French version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-user-it
Title: WeeChat User's Guide (Italian)
Title: WeeChat user's guide (Italian)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Italian version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-user-ja
Title: WeeChat User's Guide (Japanese)
Title: WeeChat user's guide (Japanese)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Japanese version).
+1 -1
View File
@@ -1,5 +1,5 @@
Document: weechat-user-pl
Title: WeeChat User's Guide (Polish)
Title: WeeChat user's guide (Polish)
Author: Sébastien Helleu
Abstract: This manual describes how to use the WeeChat
IRC client (Polish version).
+2 -1
View File
@@ -1,4 +1,5 @@
usr/lib/weechat/plugins/aspell.so
usr/lib/weechat/plugins/exec.so
usr/lib/weechat/plugins/fifo.so
usr/lib/weechat/plugins/guile.so
usr/lib/weechat/plugins/perl.so
@@ -8,4 +9,4 @@ usr/lib/weechat/plugins/lua.so
usr/lib/weechat/plugins/tcl.so
usr/lib/weechat/plugins/script.so
usr/lib/weechat/plugins/relay.so
usr/lib/weechat/plugins/rmodifier.so
usr/lib/weechat/plugins/trigger.so
+14 -16
View File
@@ -18,19 +18,17 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF(ENABLE_MAN OR ENABLE_DOC)
FIND_PACKAGE(Sourcehighlight)
FIND_PACKAGE(Asciidoc)
IF(ASCIIDOC_FOUND)
ADD_SUBDIRECTORY( en )
ADD_SUBDIRECTORY( fr )
ADD_SUBDIRECTORY( it )
ADD_SUBDIRECTORY( de )
ADD_SUBDIRECTORY( pl )
ADD_SUBDIRECTORY( es )
ADD_SUBDIRECTORY( ru )
ADD_SUBDIRECTORY( ja )
ENDIF(ASCIIDOC_FOUND)
ENDIF(ENABLE_MAN OR ENABLE_DOC)
if(ENABLE_MAN OR ENABLE_DOC)
find_package(Sourcehighlight)
find_package(Asciidoc)
if(ASCIIDOC_FOUND)
add_subdirectory(en)
add_subdirectory(fr)
add_subdirectory(it)
add_subdirectory(de)
add_subdirectory(pl)
add_subdirectory(es)
add_subdirectory(ru)
add_subdirectory(ja)
endif()
endif()
+2 -3
View File
@@ -6,8 +6,7 @@ key\[([^,\]]+),([^\]]+)\]=key[\1], key[\2]
key\[(ctrl|alt|shift)\]=<span class="key \1">\1</span>
key\[(ctrl|alt|shift)-\]=<span class="key \1">\1</span><span class="keyplus">+</span>
key\[(ctrl|alt|shift)-([^\]]+)\]=<span class="key \1">\1</span><span class="keyplus">+</span>key[\2]
key\[l\]=<span class="key">l</span><span class="keyplus"> (L)</span>
key\[([A-Za-z0-9/_&\=])\]=<span class="key">\1</span>
key\[([a-z0-9/_&\=][^\]]*)\]=<span class="key">\1</span>
key\[([A-Za-z0-9/_&\=!-])\]=<span class="key">\1</span>
key\[([a-z0-9/_&\=!-][^\]]*)\]=<span class="key">\1</span>
key\[([^\]]+)\]=<span class="key other">\1</span>
hex\[([0-9a-fA-F]+)\]=<span class="hexa">\1</span>
+23 -13
View File
@@ -80,6 +80,8 @@ h5 {
span.command {
padding: .2em .5em;
border: solid 1px #ccc;
border-radius: 4px;
box-shadow: 1px 1px 2px #ccc;
margin-right: 12px;
background: #eee;
font-size: 1.1em;
@@ -122,48 +124,57 @@ dt.hdlist1 {
word-wrap: break-word;
}
.key {
padding: 0 .3em;
padding: .1em .4em;
border-top: solid 1px #d5d5e5;
border-left: solid 1px #d5d5e5;
border-bottom: solid 1px #a5a5b5;
border-right: solid 1px #a5a5b5;
border-radius: 3px;
box-shadow: 1px 1px 3px #d5d5e5;
margin: 0 2px;
background: #eef;
font-family: serif, Helvetica, arial;
font-family: monospace;
font-size: 1.1em;
line-height: 1.5em;
line-height: 1.6em;
}
.key.ctrl {
border-top: solid 1px #dfd0d0;
border-left: solid 1px #dfd0d0;
border-bottom: solid 1px #afa0a0;
border-right: solid 1px #afa0a0;
border-radius: 3px;
box-shadow: 1px 1px 3px #dfd0d0;
background: #fff0f0;
font-variant: small-caps;
text-transform: capitalize;
}
.key.alt {
border-top: solid 1px #dfbbab;
border-left: solid 1px #dfbbab;
border-bottom: solid 1px #af8b7b;
border-right: solid 1px #af8b7b;
background: #ffdbcb;
font-variant: small-caps;
border-top: solid 1px #dfc5b4;
border-left: solid 1px #dfc5b4;
border-bottom: solid 1px #af9484;
border-right: solid 1px #af9484;
border-radius: 3px;
box-shadow: 1px 1px 3px #dfc5b4;
background: #ffe4d4;
text-transform: capitalize;
}
.key.shift {
border-top: solid 1px #d5d5d5;
border-left: solid 1px #d5d5d5;
border-bottom: solid 1px #a5a5a5;
border-right: solid 1px #a5a5a5;
border-radius: 3px;
box-shadow: 1px 1px 3px #d5d5d5;
background: #f5f5f5;
font-variant: small-caps;
text-transform: capitalize;
}
.key.other {
border-top: solid 1px #d0e0d0;
border-left: solid 1px #d0e0d0;
border-bottom: solid 1px #a0b0a0;
border-right: solid 1px #a0b0a0;
border-radius: 3px;
box-shadow: 1px 1px 3px #d0e0d0;
background: #eafaea;
font-variant: small-caps;
}
.keyplus {
font-size: .8em;
@@ -175,7 +186,6 @@ dt.hdlist1 {
color: #007;
font-family: monospace;
font-size: .85em;
font-variant: small-caps;
}
#footer {
border-top: 1px solid silver;
+39 -39
View File
@@ -17,79 +17,79 @@
# along with WeeChat. If not, see <http://www.gnu.org/licenses/>.
#
IF (ENABLE_MAN)
if(ENABLE_MAN)
# man page
ADD_CUSTOM_COMMAND(
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat.1
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.de.txt
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc ${CMAKE_CURRENT_BINARY_DIR}/
COMMAND ${A2X_EXECUTABLE} ARGS -a revision='WeeChat ${VERSION}' -d manpage -f manpage -L ${CMAKE_CURRENT_BINARY_DIR}/weechat.1.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/weechat.1.de.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc
COMMENT "Building weechat.1 (de)"
)
ADD_CUSTOM_TARGET(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1)
ENDIF (ENABLE_MAN)
add_custom_target(doc-man-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat.1)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat.1 DESTINATION ${MANDIR}/de/man1)
endif()
IF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
if(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
# user's guide
ADD_CUSTOM_COMMAND(
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.txt
${CMAKE_CURRENT_SOURCE_DIR}/weechat_user.de.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/cmdline_options.de.asciidoc
${CMAKE_CURRENT_SOURCE_DIR}/autogen/user/*.asciidoc
COMMENT "Building weechat_user.de.html"
)
ADD_CUSTOM_TARGET(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
add_custom_target(doc-user-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_user.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# scripting guide
ADD_CUSTOM_COMMAND(
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/weechat_scripting.de.asciidoc
COMMENT "Building weechat_scripting.de.html"
)
ADD_CUSTOM_TARGET(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
add_custom_target(doc-scripting-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_scripting.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# FAQ
ADD_CUSTOM_COMMAND(
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/weechat_faq.de.asciidoc
COMMENT "Building weechat_faq.de.html"
)
ADD_CUSTOM_TARGET(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
add_custom_target(doc-faq-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_faq.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# quickstart
ADD_CUSTOM_COMMAND(
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/weechat_quickstart.de.asciidoc
COMMENT "Building weechat_quickstart.de.html"
)
ADD_CUSTOM_TARGET(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
add_custom_target(doc-quickstart-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_quickstart.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
# tester's guide
ADD_CUSTOM_COMMAND(
add_custom_command(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
COMMAND ${ASCIIDOC_EXECUTABLE} ARGS -a revision="${VERSION}" -a stylesheet=${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.css -f ${CMAKE_CURRENT_SOURCE_DIR}/../asciidoc.conf -n -o ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html ${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc
DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.txt
${CMAKE_CURRENT_SOURCE_DIR}/weechat_tester.de.asciidoc
COMMENT "Building weechat_tester.de.html"
)
ADD_CUSTOM_TARGET(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
add_custom_target(doc-tester-de ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/weechat_tester.de.html DESTINATION ${SHAREDIR}/doc/${PROJECT_NAME})
ENDIF(ENABLE_DOC AND SOURCEHIGHLIGHT_FOUND)
endif()
+23 -23
View File
@@ -21,14 +21,14 @@
docdir = $(datadir)/doc/$(PACKAGE)
EXTRA_DIST = CMakeLists.txt \
weechat.1.de.txt \
cmdline_options.de.txt \
weechat_user.de.txt \
weechat_scripting.de.txt \
weechat_faq.de.txt \
weechat_quickstart.de.txt \
weechat_tester.de.txt \
$(wildcard autogen/user/*.txt)
weechat.1.de.asciidoc \
cmdline_options.de.asciidoc \
weechat_user.de.asciidoc \
weechat_scripting.de.asciidoc \
weechat_faq.de.asciidoc \
weechat_quickstart.de.asciidoc \
weechat_tester.de.asciidoc \
$(wildcard autogen/user/*.asciidoc)
if MAN
man_targets = weechat.1
@@ -47,30 +47,30 @@ endif
all-local: $(man_targets) $(doc_targets)
# man page
weechat.1: weechat.1.de.txt cmdline_options.de.txt
cp -f $(abs_top_srcdir)/doc/de/weechat.1.de.txt .
cp -f $(abs_top_srcdir)/doc/de/cmdline_options.de.txt .
$(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.de.txt
weechat.1: weechat.1.de.asciidoc cmdline_options.de.asciidoc
cp -f $(abs_top_srcdir)/doc/de/weechat.1.de.asciidoc .
cp -f $(abs_top_srcdir)/doc/de/cmdline_options.de.asciidoc .
$(A2X) -a revision="WeeChat $(VERSION)" -d manpage -f manpage -L weechat.1.de.asciidoc
# user's guide
weechat_user.de.html: weechat_user.de.txt cmdline_options.de.txt $(wildcard autogen/user/*.txt)
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.txt
weechat_user.de.html: weechat_user.de.asciidoc cmdline_options.de.asciidoc $(wildcard autogen/user/*.asciidoc)
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_user.de.html $(abs_top_srcdir)/doc/de/weechat_user.de.asciidoc
# scripting guide
weechat_scripting.de.html: weechat_scripting.de.txt
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.txt
weechat_scripting.de.html: weechat_scripting.de.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_scripting.de.html $(abs_top_srcdir)/doc/de/weechat_scripting.de.asciidoc
# FAQ
weechat_faq.de.html: weechat_faq.de.txt
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.txt
weechat_faq.de.html: weechat_faq.de.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_faq.de.html $(abs_top_srcdir)/doc/de/weechat_faq.de.asciidoc
# quickstart
weechat_quickstart.de.html: weechat_quickstart.de.txt
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.txt
weechat_quickstart.de.html: weechat_quickstart.de.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_quickstart.de.html $(abs_top_srcdir)/doc/de/weechat_quickstart.de.asciidoc
# tester's guide
weechat_tester.de.html: weechat_tester.de.txt
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.txt
weechat_tester.de.html: weechat_tester.de.asciidoc
$(ASCIIDOC) -a revision="$(VERSION)" -a stylesheet=$(abs_top_srcdir)/doc/asciidoc.css -f $(abs_top_srcdir)/doc/asciidoc.conf -n -o weechat_tester.de.html $(abs_top_srcdir)/doc/de/weechat_tester.de.asciidoc
# install man/docs
@@ -99,5 +99,5 @@ uninstall-doc:
# clean
clean-local:
-rm -f weechat.1
-rm -f weechat.1 weechat.1.de.asciidoc cmdline_options.de.asciidoc
-rm -f *.html
@@ -10,9 +10,11 @@
| aspell | aspell_langs | Liste aller Sprachen die durch Aspell unterstützt werden
| exec | exec_commands_ids | IDs (Nummern und Namen) von ausgeführten Befehlen
| guile | guile_script | Liste der Skripten
| irc | irc_channel | Aktueller IRC-Channel
| irc | irc_channel | aktueller IRC-Channel
| irc | irc_channel_nicks_hosts | Liste der Nicks und Hostnamen des aktuellen Channels
@@ -24,7 +26,7 @@
| irc | irc_msg_kick | Standardmitteilung wenn man jemanden aus einem Channel wirft
| irc | irc_msg_part | Standardnachricht beim Verlassen (/part) eines IRC-Channels
| irc | irc_msg_part | Standardmitteilung beim Verlassen (/part) eines IRC-Channels
| irc | irc_notify_nicks | Nicks für die eine Benachrichtigung existiert
@@ -56,8 +58,6 @@
| relay | relay_relays | Protokoll.Name des aktuellen Relays von der Relay-Erweiterung
| rmodifier | rmodifier | Liste der rmodifier
| ruby | ruby_script | Liste der Skripten
| script | script_files | Dateien die sich in den Skript-Verzeichnissen befinden
@@ -70,9 +70,31 @@
| tcl | tcl_script | Liste der Skripten
| trigger | trigger_hook_arguments | Standardargumente für einen Hook
| trigger | trigger_hook_command | Standardbefehl für einen Hook
| trigger | trigger_hook_conditions | Standardbedingungen für einen Hook
| trigger | trigger_hook_rc | Standardrückgabewerte für einen Hook-Callback
| trigger | trigger_hook_regex | standardmäßiger regulärer Ausdruck für einen Hook
| trigger | trigger_hooks | Hooks für Trigger
| trigger | trigger_hooks_filter | Hooks für Trigger (definiert den Filter für den Monitor-Buffer)
| trigger | trigger_names | trigger
| trigger | trigger_names_default | voreingestellte Trigger
| trigger | trigger_option_value | Werte für Trigger-Einstellung
| trigger | trigger_options | Einstellungen für Trigger
| weechat | bars_names | Namen der Infobars
| weechat | bars_options | Optionen für Infobars
| weechat | bars_options | Einstellungen für Infobars
| weechat | buffer_properties_get | Eigenschaften die für den Buffer gelesen werden können
@@ -94,6 +116,10 @@
| weechat | cursor_areas | Bereiche in denen der Cursor frei bewegt werden kann ("chat" oder Name einer Bar)
| weechat | env_value | Wert einer Umgebungsvariable
| weechat | env_vars | Umgebungsvariablen
| weechat | filename | Dateinamen
| weechat | filters_names | Liste der Filter
@@ -110,7 +136,7 @@
| weechat | layouts_names | Namen der Layouts
| weechat | nicks | Nicks in Nickliste für aktuellen Buffer
| weechat | nicks | Nicks in Benutzerliste für aktuellen Buffer
| weechat | palette_colors | Farbpalette
@@ -122,7 +148,7 @@
| weechat | proxies_names | Namen aller Proxys
| weechat | proxies_options | Optionen für Proxys
| weechat | proxies_options | Einstellungen für Proxys
| weechat | secured_data | Namen der geschützten Daten (Datei sec.conf, section data)
@@ -175,6 +175,7 @@
*** 'nick_alternate_number' (integer)
*** 'nick' (string)
*** 'nick_modes' (string)
*** 'cap_away_notify' (integer)
*** 'isupport' (string)
*** 'prefix_modes' (string)
*** 'prefix_chars' (string)
@@ -489,10 +490,15 @@
*** 'notify' (integer)
*** 'num_displayed' (integer)
*** 'active' (integer)
*** 'hidden' (integer)
*** 'zoomed' (integer)
*** 'print_hooks_enabled' (integer)
*** 'day_change' (integer)
*** 'clear' (integer)
*** 'filter' (integer)
*** 'close_callback' (pointer)
*** 'close_callback_data' (pointer)
*** 'closing' (integer)
*** 'title' (string)
*** 'own_lines' (pointer, hdata: "lines")
*** 'mixed_lines' (pointer, hdata: "lines")
@@ -580,21 +586,13 @@
*** 'direction' (integer)
*** 'add_space' (integer)
*** 'force_partial_completion' (integer)
*** 'completion_list' (pointer)
*** 'list' (pointer)
*** 'word_found' (string)
*** 'word_found_is_nick' (integer)
*** 'position_replace' (integer)
*** 'diff_size' (integer)
*** 'diff_length' (integer)
*** 'partial_completion_list' (pointer, hdata: "completion_partial")
*** 'last_partial_completion' (pointer, hdata: "completion_partial")
* 'completion_partial': Struktur mit teilweise Vervollständigung
** Erweiterung: weechat
** Variablen:
*** 'word' (string)
*** 'count' (integer)
*** 'prev_item' (pointer, hdata: "completion_partial")
*** 'next_item' (pointer, hdata: "completion_partial")
*** 'partial_list' (pointer)
* 'config_file': Konfigurationsdatei
** Erweiterung: weechat
** Variablen:
@@ -809,7 +807,7 @@
*** 'buffer_max_length_refresh' (integer)
*** 'prefix_max_length' (integer)
*** 'prefix_max_length_refresh' (integer)
* 'nick': Nick in Nickliste
* 'nick': Nick in Benutzerliste
** Erweiterung: weechat
** Variablen:
*** 'group' (pointer, hdata: "nick_group")
@@ -820,7 +818,7 @@
*** 'visible' (integer)
*** 'prev_nick' (pointer, hdata: "nick")
*** 'next_nick' (pointer, hdata: "nick")
* 'nick_group': Gruppen in Nickliste
* 'nick_group': Gruppen in Benutzerliste
** Erweiterung: weechat
** Variablen:
*** 'name' (shared_string)
@@ -2,53 +2,53 @@
|===
| Erweiterung | Name | Beschreibung | Pointer | Argumente
| alias | alias | Liste der Alias | Alias Pointer (optional) | Alias Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| alias | alias | Liste der Alias | Alias Pointer (optional) | Name des Alias (Platzhalter "*" kann verwendet werden) (optional)
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| guile | guile_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
| irc | irc_channel | Liste der Channels eines IRC-Servers | Channel Pointer (optional) | Server,Channel (Channel ist optional)
| irc | irc_color_weechat | Zuordnung der IRC Farbkodierung und der WeeChat Farbnamen | - | -
| irc | irc_ignore | Liste von ignorierten IRCs | Ignore Pointer (optional) | -
| irc | irc_nick | Liste der Nicks im IRC-Channel | Nick Pointer (optional) | Server,Channel,Nick (Channel und Nick sind optional)
| irc | irc_nick | Liste der Nicks im IRC-Channel | Nick Pointer (optional) | server,channel,nick (nick ist optional)
| irc | irc_notify | Liste mit Benachrichtigungen | Benachrichtigungspointer (optional) | Servername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| irc | irc_notify | Liste mit Benachrichtigungen | Benachrichtigungspointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
| irc | irc_server | Liste der IRC-Server | Server Pointer (optional) | Servername (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| irc | irc_server | Liste der IRC-Server | Server Pointer (optional) | Servername (Platzhalter "*" kann verwendet werden) (optional)
| logger | logger_buffer | Auflistung der protokollierten Buffer | Logger Pointer (optional) | -
| lua | lua_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| lua | lua_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
| perl | perl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| perl | perl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
| python | python_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| python | python_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
| relay | relay | Liste der Relay-Clients | Relay Pointer (optional) | -
| rmodifier | rmodifier | Liste der rmodifier | rmodifier Pointer (optional) | rmodifier Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| ruby | ruby_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
| ruby | ruby_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| script | script_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes, mit Dateierweiterung (Platzhalter "*" kann verwendet werden) (optional)
| script | script_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes, mit Dateierweiterung (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| tcl | tcl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (Platzhalter "*" kann verwendet werden) (optional)
| tcl | tcl_script | Liste der Skripten | Skript Pointer (optional) | Name des Skriptes (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar | Auflistung der Bars | Bar Pointer (optional) | Name der Bar (Platzhalter "*" kann verwendet werden) (optional)
| weechat | bar | Auflistung der Bars | Bar Pointer (optional) | Bar Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar_item | Auflistung der Bar-Items | Bar Item Pointer (optional) | Bar-Item Name (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | bar_item | Auflistung der Bar-Items | Bar Item Pointer (optional) | Name des Bar-Item (Platzhalter "*" kann verwendet werden) (optional)
| weechat | bar_window | Auflistung der Bar-Fenster | Bar-Fenster Pointer (optional) | -
| weechat | buffer | Auflistung der Buffer | Buffer Pointer (optional) | Name des Buffers (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | buffer | Auflistung der Buffer | Buffer Pointer (optional) | Name des Buffers (Platzhalter "*" kann verwendet werden) (optional)
| weechat | buffer_lines | Zeilen des Buffers | Buffer Pointer | -
| weechat | filter | Auflistung der Filter | - | Name des Filters (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | filter | Auflistung der Filter | - | Name des Filters (Platzhalter "*" kann verwendet werden) (optional)
| weechat | history | Verlaufspeicher der Befehle | Buffer Pointer (falls nicht gesetzt, wird der globale Verlauf zurückgegeben) (optional) | -
| weechat | hook | Auflistung der Hooks | Hook-Pointer (optional) | type,arguments (type ist ein command/timer/.., arguments dient dazu nur einige hooks abzufragen (darf mit einem "*" als Platzhalter beginnen oder enden), beide Optionen sind optional)
| weechat | hook | Auflistung der Hooks | Hook-Pointer (optional) | type,arguments (type ist ein command/timer/.., arguments dient dazu nur einige hooks abzufragen (Platzhalter "*" kann verwendet werden), beide Einstellungen sind optional)
| weechat | hotlist | Liste der Buffer in Hotlist | - | -
@@ -56,15 +56,15 @@
| weechat | layout | Auflistung der Layouts | - | -
| weechat | nicklist | Nicks in Nickliste für einen Buffer | Buffer Pointer | nick_xxx oder group_xxx um nur den Nick/Group xxx abzufragen (optional)
| weechat | nicklist | Nicks in Benutzerliste für einen Buffer | Buffer Pointer | nick_xxx oder group_xxx um nur den Nick/Group xxx abzufragen (optional)
| weechat | option | Auflistung der Optionen | - | Name einer Option (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | option | Auflistung der Einstellungen | - | Name einer Einstellung (Platzhalter "*" kann verwendet werden) (optional)
| weechat | plugin | Auflistung der Erweiterungen | Pointer der Erweiterung (optional) | Name einer Erweiterung (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | plugin | Auflistung der Erweiterungen | Pointer der Erweiterung (optional) | Name einer Erweiterung (Platzhalter "*" kann verwendet werden) (optional)
| weechat | proxy | Liste der Proxys | Proxy Pointer (optional) | Name des Proxy (darf mit einem "*" als Platzhalter beginnen oder enden) (optional)
| weechat | proxy | Liste der Proxys | Proxy Pointer (optional) | Name des Proxy (Platzhalter "*" kann verwendet werden) (optional)
| weechat | url_options | Optionen für URL | - | -
| weechat | url_options | Einstellungen für URL | - | -
| weechat | window | Auflistung der Fenster | Fenster Pointer (optional) | "current" für aktuelles Fenster oder die Nummer eines Fensters (optional)
@@ -14,9 +14,9 @@
| irc | irc_nick | aktuellen Nicknamen für den Server erhalten | Servername
| irc | irc_nick_color | holt Farbe-Code des Nick | Nickname
| irc | irc_nick_color | zeigt Farbecode des Nick | Nickname
| irc | irc_nick_color_name | holt Namen der Farbe des Nick | Nickname
| irc | irc_nick_color_name | zeigt Farbnamen des Nick | Nickname
| irc | irc_nick_from_host | Nicknamen des IRC-Hosts erhalten | IRC host (in der Form `:nick!name@server.com`)
@@ -26,10 +26,18 @@
| python | python2_bin | Pfad für Python 2.x Interpreter | -
| relay | relay_client_count | Anzahl an Clients für Relay | Statusname (optional): connecting, waiting_auth, connected, auth_failed, disconnected
| weechat | charset_internal | Interner WeeChat Zeichensatz | -
| weechat | charset_terminal | Terminal Zeichensatz | -
| weechat | color_ansi_regex | erweiterte reguläre POSIX Ausdrücke um ANSI Escapesequenz zu suchen | -
| weechat | color_rgb2term | RGB Farbe wurde umgewandelt in Terminalfarbe (0-255) | RGB,limit (Obergrenze ist optional und ist Standardmäßig 256)
| weechat | color_term2rgb | Terminalfarbe (0-255) wurde umgewandelt in RGB Farbe | Farben (Terminalfarben: 0-255)
| weechat | cursor_mode | 1, falls Cursor-Modus aktiviert ist | -
| weechat | date | Datum der WeeChat Kompilierung | -
@@ -1,6 +1,6 @@
[width="100%",cols="2,^1,7",options="header"]
|===
| Option | Type | Konstanten ^(1)^
| Einstellung | Type | Konstanten ^(1)^
| verbose | long |
@@ -14,40 +14,40 @@
| failonerror | long |
| protocols | mask | http, https, ftp, ftps, scp, sftp, telnet, ldap, ldaps, dict, file, tftp, imap, imaps, pop3, pop3s, smtp, smtps, rtsp, rtmp, rtmpt, rtmpe, rtmpte, rtmps, rtmpts, gopher, all
| redir_protocols | mask | http, https, ftp, ftps, scp, sftp, telnet, ldap, ldaps, dict, file, tftp, imap, imaps, pop3, pop3s, smtp, smtps, rtsp, rtmp, rtmpt, rtmpe, rtmpte, rtmps, rtmpts, gopher, all
| proxy | string |
| proxyport | long |
| proxytype | long | http, http_1_0, socks4, socks5, socks4a, socks5_hostname
| noproxy | string |
| port | long |
| httpproxytunnel | long |
| socks5_gssapi_service | string |
| socks5_gssapi_nec | long |
| interface | string |
| dns_cache_timeout | long |
| proxytype | long | http, socks4, socks5, socks4a, socks5_hostname, http_1_0
| buffersize | long |
| tcp_nodelay | long |
| localport | long |
| localportrange | long |
| dns_cache_timeout | long |
| buffersize | long |
| port | long |
| tcp_nodelay | long |
| address_scope | long |
| protocols | mask | http, https, ftp, ftps, scp, sftp, telnet, ldap, ldaps, dict, file, tftp, all, imap, imaps, pop3, pop3s, smtp, smtps, rtsp, rtmp, rtmpt, rtmpe, rtmpte, rtmps, rtmpts, gopher
| redir_protocols | mask | http, https, ftp, ftps, scp, sftp, telnet, ldap, ldaps, dict, file, tftp, all, imap, imaps, pop3, pop3s, smtp, smtps, rtsp, rtmp, rtmpt, rtmpe, rtmpte, rtmps, rtmpts, gopher
| noproxy | string |
| socks5_gssapi_service | string |
| socks5_gssapi_nec | long |
| tcp_keepalive | long |
| tcp_keepidle | long |
@@ -56,12 +56,16 @@
| netrc | long | ignored, optional, required
| netrc_file | string |
| userpwd | string |
| proxyuserpwd | string |
| httpauth | mask | none, basic, digest, gssnegotiate, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| proxyauth | mask | none, basic, digest, gssnegotiate, ntlm, any, anysafe, digest_ie, only, ntlm_wb, negotiate
| netrc_file | string |
| username | string |
| password | string |
@@ -70,42 +74,28 @@
| proxypassword | string |
| httpauth | mask | none, basic, digest, gssnegotiate, ntlm, digest_ie, ntlm_wb, only, any, anysafe
| tlsauth_type | mask | none, srp
| tlsauth_username | string |
| tlsauth_password | string |
| proxyauth | mask | none, basic, digest, gssnegotiate, ntlm, digest_ie, ntlm_wb, only, any, anysafe
| sasl_ir | long |
| xoauth2_bearer | string |
| login_options | string |
| autoreferer | long |
| accept_encoding | string |
| transfer_encoding | long |
| followlocation | long |
| unrestricted_auth | long |
| maxredirs | long |
| postredir | mask | post_301, post_302
| put | long |
| post | long |
| postfields | string |
| postfieldsize | long |
| postfieldsize_large | long long |
| copypostfields | string |
| referer | string |
| useragent | string |
@@ -114,22 +104,42 @@
| cookiefile | string |
| cookiejar | string |
| postfieldsize | long |
| cookiesession | long |
| cookielist | string |
| maxredirs | long |
| httpget | long |
| cookiejar | string |
| http_version | long | none, 1_0, 1_1
| cookiesession | long |
| unrestricted_auth | long |
| postfieldsize_large | long long |
| cookielist | string |
| ignore_content_length | long |
| accept_encoding | string |
| transfer_encoding | long |
| http_content_decoding | long |
| http_transfer_decoding | long |
| copypostfields | string |
| postredir | mask | post_301, post_302
| expect_100_timeout_ms | long |
| headeropt | mask | unified, separate
| mail_from | string |
| mail_auth | string |
@@ -138,32 +148,32 @@
| ftpport | string |
| dirlistonly | long |
| append | long |
| ftp_use_eprt | long |
| ftp_use_epsv | long |
| ftp_use_pret | long |
| ftp_use_eprt | long |
| ftp_create_missing_dirs | long |
| ftp_response_timeout | long |
| ftp_alternative_to_user | string |
| ftp_skip_pasv_ip | long |
| ftpsslauth | long | default, ssl, tls
| ftp_ssl_ccc | long | ccc_none, ccc_passive, ccc_active
| ftp_account | string |
| ftp_skip_pasv_ip | long |
| ftp_filemethod | long | multicwd, nocwd, singlecwd
| ftp_alternative_to_user | string |
| ftp_ssl_ccc | long | ccc_none, ccc_active, ccc_passive
| dirlistonly | long |
| append | long |
| ftp_use_pret | long |
| rtsp_request | long | options, describe, announce, setup, play, pause, teardown, get_parameter, set_parameter, record, receive
| rtsp_session_id | string |
@@ -176,122 +186,132 @@
| rtsp_server_cseq | long |
| transfertext | long |
| proxy_transfer_mode | long |
| crlf | long |
| range | string |
| resume_from | long |
| resume_from_large | long long |
| customrequest | string |
| filetime | long |
| nobody | long |
| infilesize | long |
| infilesize_large | long long |
| upload | long |
| maxfilesize | long |
| maxfilesize_large | long long |
| timecondition | long | none, ifmodsince, ifunmodsince, lastmod
| timevalue | long |
| timeout | long |
| transfertext | long |
| timeout_ms | long |
| filetime | long |
| maxfilesize | long |
| proxy_transfer_mode | long |
| resume_from_large | long long |
| infilesize_large | long long |
| maxfilesize_large | long long |
| timeout | long |
| low_speed_limit | long |
| low_speed_time | long |
| max_send_speed_large | long long |
| max_recv_speed_large | long long |
| maxconnects | long |
| fresh_connect | long |
| forbid_reuse | long |
| connecttimeout | long |
| connecttimeout_ms | long |
| ipresolve | long | whatever, v4, v6
| connect_only | long |
| max_send_speed_large | long long |
| max_recv_speed_large | long long |
| timeout_ms | long |
| connecttimeout_ms | long |
| maxconnects | long |
| use_ssl | long | none, try, control, all
| dns_servers | string |
| accepttimeout_ms | long |
| dns_interface | string |
| dns_local_ip4 | string |
| dns_local_ip6 | string |
| sslcert | string |
| sslcerttype | string |
| sslkey | string |
| sslkeytype | string |
| keypasswd | string |
| sslengine | string |
| sslengine_default | long |
| sslversion | long | default, tlsv1, sslv2, sslv3
| ssl_verifypeer | long |
| cainfo | string |
| issuercert | string |
| capath | string |
| crlfile | string |
| ssl_verifyhost | long |
| certinfo | long |
| random_file | string |
| egdsocket | string |
| ssl_verifyhost | long |
| ssl_cipher_list | string |
| sslcerttype | string |
| sslkey | string |
| sslkeytype | string |
| sslengine | string |
| sslengine_default | long |
| capath | string |
| ssl_sessionid_cache | long |
| ssl_options | long | allow_beast
| krblevel | string |
| keypasswd | string |
| issuercert | string |
| crlfile | string |
| certinfo | long |
| gssapi_delegation | long | none, policy_flag, flag
| ssh_auth_types | mask | none, policy_flag, flag
| ssl_options | long | allow_beast
| ssh_host_public_key_md5 | string |
| ssl_enable_alpn | long |
| ssl_enable_npn | long |
| ssh_auth_types | mask | none, policy_flag, flag
| ssh_public_keyfile | string |
| ssh_private_keyfile | string |
| ssh_host_public_key_md5 | string |
| ssh_knownhosts | string |
| new_file_perms | long |
@@ -6,7 +6,7 @@
completion: optionale Vervollständigung für einen Alias-Befehl (Standardverhalten: Vervollständigung wird auf den Zielbefehl angewendet)
Hinweis: Mit der Variablen "%%command" kann eine Vervollständigung eines vorhandenen Befehls durchgeführt werden
alias: Name des Alias (kann mit Joker "*" beginnen oder enden um Aliase aufzulisten)
alias: Name des Alias (Platzhalter "*" kann verwendet werden)
command: Name des zuzuordnenden Befehls (WeeChat- oder IRC-Befehl ohne führenden '/', mehrere Befehle müssen durch Semikolon getrennt werden)
Ohne Angabe von Argumenten werden alle definierten Aliase angezeigt.
@@ -18,7 +18,7 @@ listdict: die, auf dem System, installierten Wörterbücher werden aufgelistet
Eingaben die mit '/' beginnen werden nicht überprüft, davon ausgenommen sind einige Befehle (siehe /set aspell.check.commands).
Um Aspell auf alle Buffer anzuwenden sollte die Option "default_dict" genutzt und Aspell aktiviert werden:
Um Aspell auf alle Buffer anzuwenden sollte die Einstellung "default_dict" genutzt und Aspell aktiviert werden:
/set aspell.check.default_dict "de_DE-neu"
/aspell enable
@@ -1,5 +1,5 @@
* [[option_charset.default.decode]] *charset.default.decode*
** Beschreibung: `globale Zeichendekodierung: Zeichendekodierung die für eingehende Nachrichten genutzt werden soll (sollte keine Zeichendekodierung angegeben werden, wird UTF-8 verwendet, da WeeChat UTF-8 zur internen Dekodierung nutzt)`
** Beschreibung: `globale Zeichendekodierung: Zeichendekodierung die für eingehende Nachrichten genutzt werden soll, falls diese nicht UTF-8 gültig ist`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `"iso-8859-1"`)
@@ -0,0 +1,72 @@
[[command_exec_exec]]
[command]*`exec`* führe externe Befehle aus::
----
/exec -list
[-sh|-nosh] [-bg|-nobg] [-stdin|-nostdin] [-buffer <name>] [-l|-o|-n|-nf] [-cl|-nocl] [-sw|-nosw] [-ln|-noln] [-flush|-noflush] [-color ansi|auto|irc|weechat|strip] [-rc|-norc] [-timeout <timeout>] [-name <name>] [-pipe <command>] [-hsignal <name>] <command>
-in <id> <text>
-inclose <id> [<text>]
-signal <id> <signal>
-kill <id>
-killall
-set <id> <property> <value>
-del <id>|-all [<id>...]
-list: zeigt laufende Befehle an
-sh: es wird die shell verwendet um Befehle auszuführen (WARNUNG: Dieses Argument sollte nur verwendet werden, falls alle Argumente unbedenklich sind, siehe Argument -nosh)
-nosh: die shell wird nicht verwendet um Befehle auszuführen (wird benötigt, falls der Befehl mit sensiblen Daten hantiert. Zum Beispiel der Inhalt einer Nachricht eines anderen Users)
-bg: führt Prozess im Hintergrund aus: gibt weder eine Prozessausgabe noch einen Rückgabewert aus (nicht kompatibel mit Argumenten -o/-n)
-nobg: gibt Prozessausgabe und Rückgabewert aus (Standardverhalten)
-stdin: erstellt eine PIPE um Daten zu dem Prozess zu senden (mittels /exec -in/-inclose)
-nostdin: es wird keine PIPE für stdin erstellt (Standardverhalten)
-buffer: zeigt/sendet Ausgabe des Befehls an diesen Buffer (wird der angegebene Buffer nicht gefunden wird ein neuer Bufger mit dem Namen "exec.exec.xxx" erstellt)
-l: gibt die Ausgabe des Befehls lokal im Buffer aus (Standardverhalten)
-o: gibt die Ausgabe des Befehls im Buffer aus (nicht kompatibel mit Argument -bg)
-n: gibt die Ausgabe des Befehls in einem neuen Buffer aus (nicht kompatibel mit Argument -bg)
-nf: gibt die Ausgabe des Befehls in einem neuen Buffer, mit einem freien Inhalt (kein Zeilenumbruch, keine Limitierung in der Anzahl der Zeilen), aus (nicht kompatibel mit Argument -bg)
-cl: der neue Buffer wird vor einer Ausgabe gelöscht
-nocl: Ausgabe wird an neuen Buffer angehangen, ohne diesen vorher zu löschen (Standardverhalten)
-sw: es wird zum Ausgabebuffer gewechselt (Standardverhalten)
-nosw: es wird nicht zum Ausgabebuffer gewechselt
-ln: legt eine Zeilennummerierung an (Standardverhalten, nur für neue Buffer)
-noln: es wird keine Zeilennummerierung angezeigt
-flush: die Ausgabe des Befehls findet in Echtzeit statt (Standardwert)
-noflush: die Ausgabe des Befehls wird am Ende der Ausführung ausgegeben
-color: es wird eine der folgenden Aktionen bei ANSI Zeichenkodierungen in der Ausgabe durchgeführt:
ansi: ANSI-Kodierung wird beibehalten
auto: konvertiert ANSI-Farben nach WeeChat/IRC (Standardverhalten)
irc: konvertiert ANSI-Farben nach IRC Farben
weechat: konvertiert ANSI-Farben nach WeeChat-Farben
strip: ANSI-Farben werden entfernt
-rc: der Rückgabewert wird ausgegeben (Standardverhalten)
-norc: der Rückgabewert wird unterdrückt
-timeout: gibt eine Zeitbeschränkung für den auszuführenden Befehl an (in Sekunden)
-name: dem Befehl wird ein Name zugewiesen (um den Befehl später mittels /exec zu nutzen)
-pipe: sendet die Ausgabe an einen Befehl von WeeChat/Erweiterung (Zeile für Zeile); sollen Leerzeichen im Befehl/Argument verwendet werden, müssen diese mit Anführungszeichen eingeschlossen werden; Variable $line wird durch die entsprechende Zeile ersetzt (standardmäßig wird die Zeile, getrennt durch ein Leerzeichen, dem Befehl nachgestellt (nicht kompatibel mit den Argumenten -bg/-o/-n)
-hsignal: sendet die Ausgabe als hsignal (um es z.B. mittels /trigger zu verwenden) (nicht kompatibel mit den Argumenten -bg/-o/-n)
command: Befehl der ausgeführt werden soll; beginnt der Befehl mit "url:", wird die shell deaktiviert und der Inhalt der URL wird heruntergeladen und im Buffer ausgegeben
id: identifiziert eindeutig einen Befehl: entweder durch eine Nummer oder einen Namen (sofern ein Name mittels "-name xxx" zugewiesen wurde)
-in: sendet Text an die Standardeingabe des Prozesses
-inclose: wie -in aber stdin wird danach geschlossen (und der Text ist optional: ohne Text wird stdin umgehend geschlossen
-signal: schickt ein Signal an den Prozess; das Signal kann entweder ein Integerwert oder eines der folgenden Schlüsselworte sein: hup, int, quit, kill, term, usr1, usr2
-kill: Alias für "-signal <id> kill"
-killall: beendet alle laufenden Prozesse
-set: nutzt eine Hook-Fähigkeit (siehe Funktion hook_set in Anleitung für API Erweiterung)
property: Hook-Fähigkeit
value: neuer Wert für Hook-Fähigkeit
-del: entfernt einen beendeten Befehl
-all: entfernt alle beendeten Befehle
Standardoptionen können in der Einstellung exec.command.default_options bestimmt werden.
Beispiele:
/exec -n ls -l /tmp
/exec -n ps xu | grep weechat
/exec -n -norc url:http://pastebin.com/raw.php?i=xxxxxxxx
/exec -nf -noln links -dump https://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Machine uptime:" uptime
/exec -n tail -f /var/log/messages
/exec -kill 0
----
+20
View File
@@ -0,0 +1,20 @@
* [[option_exec.color.flag_finished]] *exec.color.flag_finished*
** Beschreibung: `Textfarbe des Statusindikator (in der Auflistung der Befehle) für beendete Befehle`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen (Standardwert: `lightred`)
* [[option_exec.color.flag_running]] *exec.color.flag_running*
** Beschreibung: `Textfarbe des Statusindikator (in der Auflistung der Befehle) für Befehle die zur Zeit ausgeführt werden`
** Typ: Farbe
** Werte: ein Farbname für WeeChat (default, black, (dark)gray, white, (light)red, (light)green, brown, yellow, (light)blue, (light)magenta, (light)cyan), eine Terminal-Farbnummer oder ein Alias; Attribute können vor eine Farbe gesetzt werden (gilt ausschließlich für die Textfarbe und nicht für den Hintergrund): "*" für fett, "!" für invertiert, "/" für kursiv, "_" für unterstrichen (Standardwert: `lightgreen`)
* [[option_exec.command.default_options]] *exec.command.default_options*
** Beschreibung: `Standardoptionen für den Befehl /exec (siehe /help exec); Beispiele: "-nosh -bg" führt alle Befehle im Hintergrund aus (keine Textausgabe) und ohne das die shell genutzt wird`
** Typ: Zeichenkette
** Werte: beliebige Zeichenkette (Standardwert: `""`)
* [[option_exec.command.purge_delay]] *exec.command.purge_delay*
** Beschreibung: `Wartezeit bis nicht mehr ausgeführte Befehle gelöscht werden (in Sekunden, 0 = lösche Befehle unmittelbar, -1 = niemals löschen)`
** Typ: integer
** Werte: -1 .. 25920000 (Standardwert: `0`)
@@ -1,5 +1,5 @@
[[command_guile_guile]]
[command]*`guile`* auflisten/installieren/deinstallieren von Skripten::
[command]*`guile`* auflisten/installieren/beenden von Skripten::
----
/guile list|listfull [<name>]
@@ -10,9 +10,9 @@
list: installierte Skripten werden aufgelistet
listfull: detaillierte Auflistung aller installierten Skripten
load: installiert ein Skript
autoload: installiert automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut installiert (wird kein Name angegeben, dann werden alle Skripten entfernt und erneut installiert)
unload: deinstalliert ein Skript (wird kein Name angegeben, dann werden alle Skripten deinstalliert)
autoload: startet automatisch alle Skripten aus dem "autoload" Verzeichnis
reload: ein Skript wird erneut gestartet (wird kein Name angegeben, dann werden alle Skripten beendet und erneut gestartet)
unload: beendet ein Skript (wird kein Name angegeben, dann werden alle Skripten beendet)
filename: Skript (Datei) welches geladen werden soll
name: Name eines Skriptes (der Name der in der "register" Funktion der Skript-API genutzt wird)
-q: unterdrückter Modus: Es werden keine Nachrichten ausgegeben

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