--- a/roster-state-colors.diff Sun Mar 24 00:59:26 2013 +0200
+++ b/roster-state-colors.diff Wed May 15 13:07:05 2013 +0300
@@ -1,8 +1,8 @@
Change roster item colors on chatstate change
-diff -r 1c4b2c41f849 mcabber/contrib/themes/light.txt
---- a/mcabber/contrib/themes/light.txt Mon Nov 26 19:33:15 2012 +0200
-+++ b/mcabber/contrib/themes/light.txt Mon Nov 26 19:33:24 2012 +0200
+diff -r 7718e7f796d4 mcabber/contrib/themes/light.txt
+--- a/mcabber/contrib/themes/light.txt Wed May 15 12:53:03 2013 +0300
++++ b/mcabber/contrib/themes/light.txt Wed May 15 12:53:55 2013 +0300
@@ -14,7 +14,6 @@
set color_bgrostersel = green
set color_rostersel = yellow
@@ -11,9 +11,9 @@
set color_readmark = red
# vim:set ft=conf:
-diff -r 1c4b2c41f849 mcabber/contrib/themes/light2.txt
---- a/mcabber/contrib/themes/light2.txt Mon Nov 26 19:33:15 2012 +0200
-+++ b/mcabber/contrib/themes/light2.txt Mon Nov 26 19:33:24 2012 +0200
+diff -r 7718e7f796d4 mcabber/contrib/themes/light2.txt
+--- a/mcabber/contrib/themes/light2.txt Wed May 15 12:53:03 2013 +0300
++++ b/mcabber/contrib/themes/light2.txt Wed May 15 12:53:55 2013 +0300
@@ -14,7 +14,6 @@
set color_bgrostersel = black
set color_rostersel = brightgreen
@@ -22,9 +22,9 @@
set color_readmark = red
# vim:set ft=conf:
-diff -r 1c4b2c41f849 mcabber/contrib/themes/oliver.txt
---- a/mcabber/contrib/themes/oliver.txt Mon Nov 26 19:33:15 2012 +0200
-+++ b/mcabber/contrib/themes/oliver.txt Mon Nov 26 19:33:24 2012 +0200
+diff -r 7718e7f796d4 mcabber/contrib/themes/oliver.txt
+--- a/mcabber/contrib/themes/oliver.txt Wed May 15 12:53:03 2013 +0300
++++ b/mcabber/contrib/themes/oliver.txt Wed May 15 12:53:55 2013 +0300
@@ -14,7 +14,6 @@
set color_bgrostersel = yellow
set color_rostersel = blue
@@ -33,9 +33,9 @@
set color_readmark = red
# vim:set ft=conf:
-diff -r 1c4b2c41f849 mcabber/doc/help/en/hlp_color.txt
---- a/mcabber/doc/help/en/hlp_color.txt Mon Nov 26 19:33:15 2012 +0200
-+++ b/mcabber/doc/help/en/hlp_color.txt Mon Nov 26 19:33:24 2012 +0200
+diff -r 7718e7f796d4 mcabber/doc/help/en/hlp_color.txt
+--- a/mcabber/doc/help/en/hlp_color.txt Wed May 15 12:53:03 2013 +0300
++++ b/mcabber/doc/help/en/hlp_color.txt Wed May 15 12:53:55 2013 +0300
@@ -11,6 +11,7 @@
Set a color rule (or overwrite, if it already exists). The status is string containing all statuses the roster item can have for the rule to match, or * if any status is OK. Wildcard is the file-matching wildcard that will be applied to JID. Color is the wanted color.
If color is -, the rule is removed.
@@ -44,9 +44,9 @@
/color mucnick nick (color|-)
Marks the nick to be colored by given color. If a MUC has colored nicks, this one will be used. If color is -, the color is marked as chosen automatically, which means it will not be used in 'preset' coloring mode, but will stay the same in 'on' coloring mode.
/color muc (jid|.|*) [on|preset|off|-]
-diff -r 1c4b2c41f849 mcabber/doc/help/uk/hlp_color.txt
---- a/mcabber/doc/help/uk/hlp_color.txt Mon Nov 26 19:33:15 2012 +0200
-+++ b/mcabber/doc/help/uk/hlp_color.txt Mon Nov 26 19:33:24 2012 +0200
+diff -r 7718e7f796d4 mcabber/doc/help/uk/hlp_color.txt
+--- a/mcabber/doc/help/uk/hlp_color.txt Wed May 15 12:53:03 2013 +0300
++++ b/mcabber/doc/help/uk/hlp_color.txt Wed May 15 12:53:55 2013 +0300
@@ -11,6 +11,7 @@
Додає нове чи змінює існуюче правило кольору. "Статус" складений з літер статусу, до яких докладається це правило (наприклад "n_d?"). Зірочка ("*") відповідає будь-якому статусу. "Маска" подібна до файлової маски й докладається до jid. Правило встановлює колір контактів, що йому відповідають.
Щоб вилучити правило, вкажіть колір "-".
@@ -55,10 +55,10 @@
/color muc (jid|.|*) [on|preset|off|-]
Встановлює режим забарвлення прізвиськ у чаті. Якщо замість jid вказано * режим докладається до всіх чатів, для яких не визначено особистого правила (з вказанням jid).
У режимі on забарвлюються усі прізвиська, у режимі preset - лише ті, для яких колір встановлено командою /color mucnick, а режим off вимикає забарвлення прізвиськ. Режим - прибирає з вказаних jid особисті режими забарвлення. Тоді до них докладається глобальний. Глобальний режим прибрати не можна.
-diff -r 1c4b2c41f849 mcabber/mcabber/screen.c
---- a/mcabber/mcabber/screen.c Mon Nov 26 19:33:15 2012 +0200
-+++ b/mcabber/mcabber/screen.c Mon Nov 26 19:33:24 2012 +0200
-@@ -436,7 +436,7 @@
+diff -r 7718e7f796d4 mcabber/mcabber/screen.c
+--- a/mcabber/mcabber/screen.c Wed May 15 12:53:03 2013 +0300
++++ b/mcabber/mcabber/screen.c Wed May 15 12:53:55 2013 +0300
+@@ -440,7 +440,7 @@
"roster",
"rostersel",
"rosterselmsg",
@@ -67,7 +67,7 @@
"info",
"msgin",
"readmark",
-@@ -509,10 +509,6 @@
+@@ -513,10 +513,6 @@
init_pair(i+1, ((color) ? find_color(color) : COLOR_RED),
find_color(backselected));
break;
@@ -78,7 +78,7 @@
case COLOR_INFO:
init_pair(i+1, ((color) ? find_color(color) : COLOR_WHITE),
find_color(background));
-@@ -811,6 +807,21 @@
+@@ -815,6 +811,21 @@
settings_set_guard("color_rosterselmsg", scr_color_guard);
settings_set_guard("color_rosternewmsg", scr_color_guard);
@@ -100,7 +100,7 @@
getmaxyx(stdscr, maxY, maxX);
Log_Win_Height = DEFAULT_LOG_WIN_HEIGHT;
// Note scr_draw_main_window() should be called early after scr_init_curses()
-@@ -2078,6 +2089,10 @@
+@@ -2082,6 +2093,10 @@
// for unfolded groups.
if (ismsg && (!isgrp || ishid)) {
pending = '#';
@@ -111,7 +111,7 @@
}
if (ismuc) {
-@@ -2101,24 +2116,22 @@
+@@ -2105,24 +2120,22 @@
for (n = 0; n < maxx; n++)
waddch(rosterWnd, ' ');
} else {
@@ -149,7 +149,7 @@
}
if (Roster_Width > prefix_length)
-@@ -2126,13 +2139,6 @@
+@@ -2130,13 +2143,6 @@
else
name[0] = 0;
@@ -163,9 +163,9 @@
if (isgrp) {
if (ishid) {
int group_count = 0;
-diff -r 1c4b2c41f849 mcabber/mcabber/screen.h
---- a/mcabber/mcabber/screen.h Mon Nov 26 19:33:15 2012 +0200
-+++ b/mcabber/mcabber/screen.h Mon Nov 26 19:33:24 2012 +0200
+diff -r 7718e7f796d4 mcabber/mcabber/screen.h
+--- a/mcabber/mcabber/screen.h Wed May 15 12:53:03 2013 +0300
++++ b/mcabber/mcabber/screen.h Wed May 15 12:53:55 2013 +0300
@@ -47,7 +47,7 @@
COLOR_ROSTER,
COLOR_ROSTERSEL,
@@ -175,18 +175,10 @@
COLOR_INFO,
COLOR_MSGIN,
COLOR_READMARK,
-diff -r 1c4b2c41f849 mcabber/mcabberrc.example
---- a/mcabber/mcabberrc.example Mon Nov 26 19:33:15 2012 +0200
-+++ b/mcabber/mcabberrc.example Mon Nov 26 19:33:24 2012 +0200
-@@ -399,7 +399,6 @@
- # bgrostersel: background color of the selected roster item
- # rostersel: text color of the selected roster item
- # rosterselmsg:text color of the selected roster item, if there is a new msg
--# rosternewmsg: text color of items with unread messages
- #
- #set color_background = black
- #set color_general = white
-@@ -414,15 +413,24 @@
+diff -r 7718e7f796d4 mcabber/mcabberrc.example
+--- a/mcabber/mcabberrc.example Wed May 15 12:53:03 2013 +0300
++++ b/mcabber/mcabberrc.example Wed May 15 12:53:55 2013 +0300
+@@ -423,15 +423,24 @@
#set color_bgrostersel = cyan
#set color_rostersel = blue
#set color_rosterselmsg = red