225 Commits

Author SHA1 Message Date
Sebastien Helleu
3acdcee0d9 irc: use MONITOR instead of ISON for /notify when it is available on server (task #11477) (patch from Nils Görs) 2014-01-23 11:31:57 +01:00
Sebastien Helleu
a763797d36 api: add function "infolist_search_var" 2014-01-22 15:08:50 +01:00
Sebastien Helleu
c19da32014 doc: update description of signal "signal_sigwinch" (plugin API reference) 2014-01-21 14:20:52 +01:00
Sebastien Helleu
5d1568ecc2 core: add signals "signal_sighup" and "signal_sigwinch" (terminal resized) 2014-01-21 14:06:57 +01:00
Sebastien Helleu
22cb023254 doc: fix errors in prototype and example of functions tolower/toupper (plugin API reference) 2014-01-15 16:45:17 +01:00
Sebastien Helleu
31e1b28c90 core: fix typo in /help weechat.look.highlight_regex 2014-01-13 16:09:01 +01:00
Sebastien Helleu
36b2e83700 doc: move some tables in plugin API reference 2014-01-12 16:19:20 +01:00
Sebastien Helleu
71b3115ccb doc: fix typos in plugin API reference 2014-01-12 13:42:06 +01:00
Sebastien Helleu
8b3d8fdfe5 doc: move table with signals below all arguments and return value in function hook_signal (plugin API reference) 2014-01-12 13:09:58 +01:00
Sebastien Helleu
48837c35bc api: add stdin options in functions hook_process_hashtable and hook_set (task #10847, task #13031)
The function hook_set has been added in script API.
2014-01-11 09:12:04 +01:00
Sebastien Helleu
73eb2564f3 core: add "POSIX extended" in description of options/commands/functions using regular expressions 2014-01-09 17:21:19 +01:00
Sebastien Helleu
7e540dc5fb doc: add missing function "string_has_highlight_regex" in italian plugin API reference 2014-01-09 16:09:39 +01:00
Sebastien Helleu
1c3c7b01db doc: update function network_connect_to (plugin API reference) 2014-01-09 12:51:58 +01:00
Sebastien Helleu
cc40a0ee55 doc: add note about function hdata_update at the beginning of hdata chapter (plugin API reference) 2014-01-05 16:19:05 +01:00
Sebastien Helleu
846dde00aa core: fix crash with hdata_update on shared strings, add hdata type "shared_string" (bug #41104) 2014-01-05 14:37:27 +01:00
Sebastien Helleu
f840c64626 doc: fix description of xfer signals in plugin API reference 2014-01-02 18:17:23 +01:00
Sebastien Helleu
892aa79fb5 core: update copyright dates 2014-01-01 00:14:12 +01:00
Sebastien Helleu
9835d530b9 doc: add missing value for property "active" in function buffer_get_integer (plugin API reference) 2013-12-31 23:51:08 +01:00
Sebastien Helleu
52cb1036d2 doc: fix typos in plugin API reference 2013-12-31 13:08:12 +01:00
Sebastien Helleu
8cba1e10c0 doc: fix description of arguments in some "set" functions (plugin API reference) 2013-12-30 16:05:51 +01:00
Sebastien Helleu
c16dd6dcde doc: fix typo in return value of function weechat_list_prev (plugin API reference) 2013-12-29 10:20:36 +01:00
Sebastien Helleu
f44cf6ac3c core: add support of logical and/or for argument "tags" in function hook_print 2013-12-15 19:52:20 +01:00
Sebastien Helleu
d52d214448 core: add buffer property "highlight_tags_restrict", rename option irc.look.highlight_tags to irc.look.highlight_tags_restrict
The buffer property "highlight_tags" is renamed to "highlight_tags_restrict".
New behavior for buffer property "highlight_tags": force highlight on tags.
Option irc.look.highlight_tags is renamed to irc.look.highlight_tags_restrict.
2013-12-15 13:45:40 +01:00
Sebastien Helleu
811b68991e core: add logical "and" between tags in filters, weechat.look.highlight_tags and buffer property "highlight_tags"
The logical "and" is made with the separator "+".

Example: "irc_notice+nick_toto,nick_test"
will match a notice from nick "toto" or any message from nick "test".
2013-12-14 11:26:03 +01:00
Sebastien Helleu
92ab912fae doc: add note about things not allowed in callback of function hook_completion (plugin API reference) 2013-12-10 11:50:58 +01:00
Sebastien Helleu
0eb77db79f core: add signal "buffer_cleared" 2013-12-08 09:41:59 +01:00
Sebastien Helleu
dfa3e13e3d doc: add missing property "print_hooks_enabled" in function buffer_set (plugin API reference) 2013-12-04 10:16:44 +01:00
Sebastien Helleu
1d7466032d core: add buffer property "day_change" to hide messages for the day change in specific buffers 2013-12-04 09:38:57 +01:00
Sebastien Helleu
7e14c60f4d core: revert check of layout when switching to a buffer using value "auto" in buffer_set
This reverts commits 14cf7bd20fb3f00b18343464c175a0c4e3556149 and
262dff4b87ebf14a11fe83899fe168bc5a72ffe6.

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

So the way to fix this problem is to set the value of option
irc.look.buffer_switch_autojoin to off.
2013-11-28 19:59:36 +01:00
Sebastien Helleu
262dff4b87 doc: update description for value "auto" in function buffer_set with property "display" (plugin API reference)
Since commit 14cf7bd20fb3f00b18343464c175a0c4e3556149, the value "auto"
will switch buffer only if there is no layout defined for the current
window, or if the buffer displayed is NOT the buffer in the layout
(so if the buffer is defined in the layout, no switch).
2013-11-23 09:28:42 +01:00
Sebastien Helleu
8d64b658df core: add option "libs" for command /debug, add signal "debug_libs" 2013-11-17 20:49:37 +01:00
Sebastien Helleu
9b4eb6d607 core: add bar item "buffer_zoom", add signals "buffer_{zoomed|unzoomed}" (patch #8204) (patch from Nils Görs) 2013-11-09 13:21:56 +01:00
Sebastien Helleu
e3c6384972 doc: use one line titles and less chars for delimited blocks/tables in asciidoc files 2013-11-04 21:41:34 +01:00
Sebastien Helleu
dd32052fec core: add support of italic text (requires ncurses >= 5.9 patch 20130831) 2013-11-02 10:58:38 +01:00
Sebastien Helleu
64d01f47fa doc: fix layout of HTML docs when they are printed
Some long lines in docs were causing a zoom, and then the text font was
smaller than it should be. Some styles have been fixed to remove the zoom
and keep the original ratio.
2013-10-20 11:39:11 +02:00
Sebastien Helleu
9ab05d600d doc: add version >= 0.4.2 for new format of callback in function bar_item_new (plugin API reference) 2013-10-19 11:50:18 +02:00
Sebastien Helleu
03b6b4c1cf core: display day change message dynamically (do not store it as a line in buffer) (task #12775)
Changes in options:
- rename option weechat.look.day_change_time_format to weechat.look.day_change_message
  (color codes are allowed in this option)
- new option weechat.color.chat_day_change.
2013-08-25 09:39:59 +02:00
Sebastien Helleu
eac1ca929b core: add syntax "@buffer:item" in bar items to force the buffer used when displaying the bar item (task #12717) 2013-08-19 21:22:10 +02:00
Sebastien Helleu
5916594441 doc: capitalize first word of text in table cells 2013-08-17 16:38:28 +02:00
Sebastien Helleu
c624960336 core: add text emphasis in messages when searching text in buffer
New options:
- weechat.look.emphasized_attributes
- weechat.color.emphasized
- weechat.color.emphasized_bg
2013-08-16 16:16:37 +02:00
Sebastien Helleu
db05104f64 doc: fix emphasized text in plugin API reference and relay protocol 2013-08-14 17:26:37 +02:00
Sebastien Helleu
d12c9efdbc core: change type of hashtable key hash to unsigned long, return item pointer in functions hashtable_set(_with_size)
The key hash has been changed from unsigned int to unsigned long, and now the
callback can return any value (not only between 0 and size-1), the modulo is
computed after the call to the callback by the hashtable functions.

Functions hashtable_set and hashtable_set_with_size were returning 1 if OK,
0 if error. Now they return pointer to hashtable item, or NULL if error.
2013-08-10 09:35:06 +02:00
Sebastien Helleu
abb574ec4e core: add "callback_free_key" in hashtable 2013-08-09 23:00:12 +02:00
Sebastien Helleu
2dff60d7f8 core: replace "behaviour" by "behavior" 2013-08-04 12:21:47 +02:00
Sebastien Helleu
dc878c5b69 api: add argument "options" in function string_eval_expression, add option "-c" for command /eval (to evaluate a condition) 2013-08-04 08:56:56 +02:00
Sebastien Helleu
b94a1ce59b doc: fix typo in examples for function bar_new (plugin API reference) 2013-08-03 22:11:04 +02:00
Sebastien Helleu
6be17ac263 api: add new function strlen_screen 2013-07-27 18:21:50 +02:00
Sebastien Helleu
ea76cdb06e doc: fix typo in example for function string_eval_expression (plugin API reference) 2013-07-23 19:39:39 +02:00
Sebastien Helleu
e1beb83ff0 doc: fix typo in plugin API reference 2013-07-03 13:09:49 +02:00
Sebastien Helleu
f93c7ebe6d doc: update WeeChat URLs (for new site design) 2013-05-23 15:21:41 +02:00