253 Commits

Author SHA1 Message Date
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
facccc81ef doc: fix typos in french translations and docs 2013-09-16 11:04:10 +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
d466a86efc core: fix typo coeur -> cœur (in french) 2013-08-08 09:39:54 +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
Sebastien Helleu
509a58b1d5 api: add new function hdata_search 2013-04-21 11:26:52 +02:00
Sebastien Helleu
c95f3d84d0 api: add property "completion_freeze" for function buffer_set: do not stop completion when command line is updated 2013-04-18 20:24:35 +02:00
stfn
aa10e20295 doc: fix C example of function weechat_nicklist_get_next_item (plugin API reference) 2013-03-29 15:09:06 +01:00
Sebastien Helleu
4fdbb83a07 ruby: fix crash with Ruby 2.0: use one array for the last 6 arguments of function config_new_option (bug #31050) 2013-03-22 19:54:44 +01:00
Sebastien Helleu
e1e3109da3 doc: add link to weechat.org/info in scripting guide (URL transfer) and plugin API reference (function hook_process) 2013-03-16 16:06:16 +01:00
Sebastien Helleu
9fdeef247e core: add signals and hsignals for nicklist events
New signals: nicklist_group_removing and nicklist_nick_removing.
New hsignals: nicklist_group_added, nicklist_nick_added, nicklist_group_removing,
nicklist_nick_removing, nicklist_group_changed, nicklist_nick_changed.
2013-03-08 23:13:58 +01:00
Sebastien Helleu
8b925baa3c core: add count for groups, nicks, and total in nicklist 2013-03-03 11:30:58 +01:00
Sebastien Helleu
11396b3266 doc: add missing signals in plugin API reference (nicklist_group_changed and nicklist_nick_changed) 2013-03-01 11:39:48 +01:00
Sebastien Helleu
9beb263e4a irc: hide passwords in commands or messages sent to nickserv with modifiers (bug #38346)
New modifiers: "irc_command_auth" and "irc_message_auth".
Option removed: irc.look.hide_nickserv_pwd
New option: irc.look.nicks_hide_password
2013-02-23 14:54:07 +01:00
Sebastien Helleu
6faa1a0db8 doc; fix typos in plugin API reference 2013-02-20 22:36:13 +01:00
Sebastien Helleu
9f0a16e586 doc: fix link to function weechat_config_write in plugin API reference 2013-02-19 13:40:20 +01:00
Sebastien Helleu
49043bf1b0 doc: fix prototype of function weechat_config_section_free in plugin API reference 2013-02-13 14:11:17 +01:00
Sebastien Helleu
10820c7336 core: add signal "window_opened" (task #12464) 2013-02-12 12:14:22 +01:00
Sebastien Helleu
0cb84638dc doc: fix typos in french translations and plugin API reference 2013-02-10 22:20:10 +01:00
Sebastien Helleu
7e0a675b62 doc: add missing signals in plugin API reference (buffer_merged/unmerged, key_bind/unbind, window_closing/closed) 2013-02-08 13:26:15 +01:00
Sebastien Helleu
f4dce04723 core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable 2013-01-26 18:48:26 +01:00
stfn
2dea08aba8 doc: fix examples of function weechat_hook_connect (plugin API reference) 2013-01-20 17:02:10 +01:00
Sebastien Helleu
87df83a1fb doc: fix buffer argument for function "command": NULL value means current buffer, not core buffer (bug #38057) 2013-01-10 19:13:19 +01:00
Sebastien Helleu
bd21daebd1 api: allow return code WEECHAT_RC_OK_EAT in callbacks of hook_signal and hook_hsignal (stop sending the signal immediately) 2013-01-06 19:38:38 +01:00
Sebastien Helleu
cd944052ef doc: update signals arguments in plugin API reference 2013-01-04 23:26:27 +01:00
Sebastien Helleu
e21de5ce96 doc: add note about double tab in function weechat_printf, to display message without time/alignment (plugin API reference) 2013-01-03 09:58:38 +01:00
Sebastien Helleu
3df1d70bb5 aspell: add signal "aspell_suggest" (sent when new suggestions are displayed) 2013-01-01 17:26:50 +01:00
Sebastien Helleu
641de51bdb api: allow creation of structure with hdata_update (allowed for hdata "history") 2012-12-08 23:54:07 +01:00
Sebastien Helleu
76647fc171 doc: fix style for prefixes in function weechat_prefix (plugin API reference) 2012-12-04 08:51:28 +01:00
Sebastien Helleu
1281b18688 api: use hashtable "options" for command arguments in function hook_process_hashtable (optional, default is a split of string with command) 2012-11-22 19:55:38 +01:00
Sebastien Helleu
32c93b5c0a core: add command /eval, use expression in conditions for bars, add function "string_eval_expression" in plugin API 2012-11-02 09:37:15 +01:00