mirror of
https://github.com/weechat/weechat.git
synced 2026-06-29 06:16:40 +02:00
logger: add tags in backlog lines displayed when opening buffer
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
Sébastien Helleu <flashcode@flashtux.org>
|
||||
v0.3.9-rc1, 2012-09-16
|
||||
v0.3.9-rc1, 2012-09-17
|
||||
|
||||
|
||||
Version 0.3.9 (under dev!)
|
||||
@@ -91,6 +91,7 @@ Version 0.3.9 (under dev!)
|
||||
* irc: fix freeze when reading on socket with SSL enabled (use non-blocking
|
||||
sockets) (bug #35097)
|
||||
* irc: reallow names beginning with "#" for servers
|
||||
* logger: add tags in backlog lines displayed when opening buffer
|
||||
* logger: add messages "Day changed to" in backlog (task #12187)
|
||||
* lua: support of lua 5.2
|
||||
* lua: fix crash when unloading a script without pointer to interpreter
|
||||
|
||||
@@ -966,7 +966,7 @@ logger_backlog (struct t_gui_buffer *buffer, const char *filename, int lines)
|
||||
&tm_line);
|
||||
text_time2 = weechat_iconv_to_internal (NULL, text_time);
|
||||
weechat_printf_tags (buffer,
|
||||
"no_highlight,notify_none",
|
||||
"no_highlight,notify_none,logger_backlog_date",
|
||||
_("\t\tDay changed to %s"),
|
||||
(text_time2) ? text_time2 : text_time);
|
||||
if (text_time2)
|
||||
@@ -988,7 +988,7 @@ logger_backlog (struct t_gui_buffer *buffer, const char *filename, int lines)
|
||||
if (pos_tab)
|
||||
pos_tab[0] = '\0';
|
||||
weechat_printf_date_tags (buffer, datetime,
|
||||
"no_highlight,notify_none",
|
||||
"no_highlight,notify_none,logger_backlog",
|
||||
"%s%s%s%s%s",
|
||||
weechat_color (weechat_config_string (logger_config_color_backlog_line)),
|
||||
message,
|
||||
@@ -1006,7 +1006,7 @@ logger_backlog (struct t_gui_buffer *buffer, const char *filename, int lines)
|
||||
logger_tail_free (last_lines);
|
||||
if (num_lines > 0)
|
||||
{
|
||||
weechat_printf_tags (buffer, "no_highlight,notify_none",
|
||||
weechat_printf_tags (buffer, "no_highlight,notify_none,logger_backlog_end",
|
||||
_("%s===\t%s========== End of backlog (%d lines) =========="),
|
||||
weechat_color (weechat_config_string (logger_config_color_backlog_end)),
|
||||
weechat_color (weechat_config_string (logger_config_color_backlog_end)),
|
||||
|
||||
Reference in New Issue
Block a user