add-offline-message.diff
changeset 87 78238d26911a
parent 85 93c3cc0d7891
child 88 0a87df8ad9c1
equal deleted inserted replaced
86:ac5fed257211 87:78238d26911a
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent 37d01f85c057d425e212e65765664561f470e047
     2 # Parent 99ffc1bfe836f0fe094e0a9e3564521a09b39458
     3 Allow to specify status message, when going offline
     3 Allow to specify status message, when going offline
     4 
     4 
     5 diff -r 37d01f85c057 mcabber/ChangeLog.api
     5 diff -r 99ffc1bfe836 mcabber/ChangeLog.api
     6 --- a/mcabber/ChangeLog.api	Wed May 15 12:52:17 2013 +0300
     6 --- a/mcabber/ChangeLog.api	Tue Nov 11 21:12:47 2014 +0200
     7 +++ b/mcabber/ChangeLog.api	Wed May 15 12:53:03 2013 +0300
     7 +++ b/mcabber/ChangeLog.api	Tue Nov 11 21:21:09 2014 +0200
     8 @@ -1,3 +1,11 @@
     8 @@ -1,3 +1,10 @@
     9 +
     9 +experimental (44)
    10 +experimental (42)
       
    11 +
    10 +
    12 + * experimental patch add-offline-message.diff
    11 + * experimental patch add-offline-message.diff
    13 + * xmpp_disconnect() now accepts status message
    12 + * xmpp_disconnect() now accepts status message
    14 +
    13 +
    15 +  -- Myhailo Danylenko, 2012-11-30
    14 +  -- Myhailo Danylenko, 2014-11-11
    16 +
    15 +
    17  experimental (41)
    16  experimental (43)
    18  
    17  
    19   * Change branch to "experimental".
    18   * Change branch to "experimental".
    20 @@ -16,6 +24,13 @@
    19 @@ -80,6 +87,13 @@
    21  
    20  
    22    -- Mikael Berthe, 2013-04-28
    21    -- Mikael Berthe, 2013-09-29
    23  
    22  
    24 +experimental (40)
    23 +experimental (42)
    25 +
    24 +
    26 + * experimental patch add-offline-message.diff
    25 + * experimental patch add-offline-message.diff
    27 + * xmpp_disconnect() now accepts status message
    26 + * xmpp_disconnect() now accepts status message
    28 +
    27 +
    29 +  -- Myhailo Danylenko, 2012-11-30
    28 +  -- Myhailo Danylenko, 2012-11-30
    30 +
    29 +
       
    30  experimental (41)
       
    31  
       
    32   * Change branch to "experimental".
       
    33 @@ -98,6 +112,13 @@
       
    34  
       
    35    -- Mikael Berthe, 2013-04-28
       
    36  
       
    37 +experimental (40)
       
    38 +
       
    39 + * experimental patch add-offline-message.diff
       
    40 + * xmpp_disconnect() now accepts status message
       
    41 +
       
    42 +  -- Myhailo Danylenko, 2012-11-30
       
    43 +
    31  experimental (39)
    44  experimental (39)
    32  
    45  
    33   * Change branch to "experimental".
    46   * Change branch to "experimental".
    34 @@ -33,6 +48,13 @@
    47 @@ -115,6 +136,13 @@
    35  
    48  
    36    -- Mikael Berthe, 2012-11-28
    49    -- Mikael Berthe, 2012-11-28
    37  
    50  
    38 +experimental (38)
    51 +experimental (38)
    39 +
    52 +
    43 +  -- Myhailo Danylenko, 2012-07-31
    56 +  -- Myhailo Danylenko, 2012-07-31
    44 +
    57 +
    45  experimental (37)
    58  experimental (37)
    46  
    59  
    47   * Change branch to "experimental".
    60   * Change branch to "experimental".
    48 @@ -51,6 +73,13 @@
    61 @@ -133,6 +161,13 @@
    49  
    62  
    50    -- Myhailo Danylenko, 2012-10-20
    63    -- Myhailo Danylenko, 2012-10-20
    51  
    64  
    52 +experimental (36)
    65 +experimental (36)
    53 +
    66 +
    57 +  -- Myhailo Danylenko, 2012-07-31
    70 +  -- Myhailo Danylenko, 2012-07-31
    58 +
    71 +
    59  experimental (35)
    72  experimental (35)
    60  
    73  
    61   * Change branch to "experimental".
    74   * Change branch to "experimental".
    62 diff -r 37d01f85c057 mcabber/doc/help/cs/hlp.txt
    75 diff -r 99ffc1bfe836 mcabber/doc/help/cs/hlp.txt
    63 --- a/mcabber/doc/help/cs/hlp.txt	Wed May 15 12:52:17 2013 +0300
    76 --- a/mcabber/doc/help/cs/hlp.txt	Tue Nov 11 21:12:47 2014 +0200
    64 +++ b/mcabber/doc/help/cs/hlp.txt	Wed May 15 12:53:03 2013 +0300
    77 +++ b/mcabber/doc/help/cs/hlp.txt	Tue Nov 11 21:21:09 2014 +0200
    65 @@ -3,4 +3,4 @@
    78 @@ -3,4 +3,4 @@
    66  
    79  
    67  Zobrazí nápovědu k příkazu nebo tématu.
    80  Zobrazí nápovědu k příkazu nebo tématu.
    68  
    81  
    69 -Dostupné příkazy jsou: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    82 -Dostupné příkazy jsou: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    70 +Dostupné příkazy jsou: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    83 +Dostupné příkazy jsou: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    71 diff -r 37d01f85c057 mcabber/doc/help/cs/hlp_disconnect.txt
    84 diff -r 99ffc1bfe836 mcabber/doc/help/cs/hlp_disconnect.txt
    72 --- a/mcabber/doc/help/cs/hlp_disconnect.txt	Wed May 15 12:52:17 2013 +0300
    85 --- a/mcabber/doc/help/cs/hlp_disconnect.txt	Tue Nov 11 21:12:47 2014 +0200
    73 +++ b/mcabber/doc/help/cs/hlp_disconnect.txt	Wed May 15 12:53:03 2013 +0300
    86 +++ b/mcabber/doc/help/cs/hlp_disconnect.txt	Tue Nov 11 21:21:09 2014 +0200
    74 @@ -1,5 +1,6 @@
    87 @@ -1,5 +1,6 @@
    75  
    88  
    76 - /DISCONNECT
    89 - /DISCONNECT
    77 + /DISCONNECT [message]
    90 + /DISCONNECT [message]
    78  
    91  
    79  Ukončí spojení s Jabber serverem.
    92  Ukončí spojení s Jabber serverem.
    80 +You can specify status message to disconnect with.
    93 +You can specify status message to disconnect with.
    81  Poznámka: Seznam kontaktů (roster) je přístupný pouze v době, kdy je spojení aktivní. Po odpojení od serveru je proto prázdný.
    94  Poznámka: Seznam kontaktů (roster) je přístupný pouze v době, kdy je spojení aktivní. Po odpojení od serveru je proto prázdný.
    82 diff -r 37d01f85c057 mcabber/doc/help/cs/hlp_exit.txt
    95 diff -r 99ffc1bfe836 mcabber/doc/help/cs/hlp_exit.txt
    83 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    96 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    84 +++ b/mcabber/doc/help/cs/hlp_exit.txt	Wed May 15 12:53:03 2013 +0300
    97 +++ b/mcabber/doc/help/cs/hlp_exit.txt	Tue Nov 11 21:21:09 2014 +0200
    85 @@ -0,0 +1,5 @@
    98 @@ -0,0 +1,5 @@
    86 +
    99 +
    87 + /EXIT [message]
   100 + /EXIT [message]
    88 +
   101 +
    89 +Terminate all connections and exit mcabber.
   102 +Terminate all connections and exit mcabber.
    90 +This command is the same as /QUIT, but you can specify status message to exit with.
   103 +This command is the same as /QUIT, but you can specify status message to exit with.
    91 diff -r 37d01f85c057 mcabber/doc/help/de/hlp.txt
   104 diff -r 99ffc1bfe836 mcabber/doc/help/de/hlp.txt
    92 --- a/mcabber/doc/help/de/hlp.txt	Wed May 15 12:52:17 2013 +0300
   105 --- a/mcabber/doc/help/de/hlp.txt	Tue Nov 11 21:12:47 2014 +0200
    93 +++ b/mcabber/doc/help/de/hlp.txt	Wed May 15 12:53:03 2013 +0300
   106 +++ b/mcabber/doc/help/de/hlp.txt	Tue Nov 11 21:21:09 2014 +0200
    94 @@ -3,4 +3,4 @@
   107 @@ -3,4 +3,4 @@
    95  
   108  
    96  Zeigt die Hilfe zu einem Befehl oder ein Thema an.
   109  Zeigt die Hilfe zu einem Befehl oder ein Thema an.
    97  Wenn kein Argument gegeben ist, wird diese Hilfe angezeigt.
   110  Wenn kein Argument gegeben ist, wird diese Hilfe angezeigt.
    98 -Verfügbare Befehle: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   111 -Verfügbare Befehle: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
    99 +Verfügbare Befehle: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   112 +Verfügbare Befehle: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   100 diff -r 37d01f85c057 mcabber/doc/help/de/hlp_disconnect.txt
   113 diff -r 99ffc1bfe836 mcabber/doc/help/de/hlp_disconnect.txt
   101 --- a/mcabber/doc/help/de/hlp_disconnect.txt	Wed May 15 12:52:17 2013 +0300
   114 --- a/mcabber/doc/help/de/hlp_disconnect.txt	Tue Nov 11 21:12:47 2014 +0200
   102 +++ b/mcabber/doc/help/de/hlp_disconnect.txt	Wed May 15 12:53:03 2013 +0300
   115 +++ b/mcabber/doc/help/de/hlp_disconnect.txt	Tue Nov 11 21:21:09 2014 +0200
   103 @@ -1,5 +1,6 @@
   116 @@ -1,5 +1,6 @@
   104  
   117  
   105 - /DISCONNECT
   118 - /DISCONNECT
   106 + /DISCONNECT [message]
   119 + /DISCONNECT [message]
   107  
   120  
   108  Die Verbindung zum Jabber Server trennen.
   121  Die Verbindung zum Jabber Server trennen.
   109 +You can specify status message to disconnect with.
   122 +You can specify status message to disconnect with.
   110  Denke daran, dass der Roster nur verfügbar ist wenn man mit dem Jabber Server verbunden ist. Somit ist die Buddyliste auch leer, wenn man sich beim Server abmeldet.
   123  Denke daran, dass der Roster nur verfügbar ist wenn man mit dem Jabber Server verbunden ist. Somit ist die Buddyliste auch leer, wenn man sich beim Server abmeldet.
   111 diff -r 37d01f85c057 mcabber/doc/help/de/hlp_exit.txt
   124 diff -r 99ffc1bfe836 mcabber/doc/help/de/hlp_exit.txt
   112 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   125 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   113 +++ b/mcabber/doc/help/de/hlp_exit.txt	Wed May 15 12:53:03 2013 +0300
   126 +++ b/mcabber/doc/help/de/hlp_exit.txt	Tue Nov 11 21:21:09 2014 +0200
   114 @@ -0,0 +1,5 @@
   127 @@ -0,0 +1,5 @@
   115 +
   128 +
   116 + /EXIT [message]
   129 + /EXIT [message]
   117 +
   130 +
   118 +Terminate all connections and exit mcabber.
   131 +Terminate all connections and exit mcabber.
   119 +This command is the same as /QUIT, but you can specify status message to exit with.
   132 +This command is the same as /QUIT, but you can specify status message to exit with.
   120 diff -r 37d01f85c057 mcabber/doc/help/en/hlp.txt
   133 diff -r 99ffc1bfe836 mcabber/doc/help/en/hlp.txt
   121 --- a/mcabber/doc/help/en/hlp.txt	Wed May 15 12:52:17 2013 +0300
   134 --- a/mcabber/doc/help/en/hlp.txt	Tue Nov 11 21:12:47 2014 +0200
   122 +++ b/mcabber/doc/help/en/hlp.txt	Wed May 15 12:53:03 2013 +0300
   135 +++ b/mcabber/doc/help/en/hlp.txt	Tue Nov 11 21:21:09 2014 +0200
   123 @@ -3,4 +3,4 @@
   136 @@ -3,4 +3,4 @@
   124  
   137  
   125  Display some help about a command or a topic.
   138  Display some help about a command or a topic.
   126  If no argument provided a usage of this command is printed.
   139  If no argument provided a usage of this command is printed.
   127 -Available commands: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   140 -Available commands: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   128 +Available commands: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   141 +Available commands: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   129 diff -r 37d01f85c057 mcabber/doc/help/en/hlp_disconnect.txt
   142 diff -r 99ffc1bfe836 mcabber/doc/help/en/hlp_disconnect.txt
   130 --- a/mcabber/doc/help/en/hlp_disconnect.txt	Wed May 15 12:52:17 2013 +0300
   143 --- a/mcabber/doc/help/en/hlp_disconnect.txt	Tue Nov 11 21:12:47 2014 +0200
   131 +++ b/mcabber/doc/help/en/hlp_disconnect.txt	Wed May 15 12:53:03 2013 +0300
   144 +++ b/mcabber/doc/help/en/hlp_disconnect.txt	Tue Nov 11 21:21:09 2014 +0200
   132 @@ -1,5 +1,6 @@
   145 @@ -1,5 +1,6 @@
   133  
   146  
   134 - /DISCONNECT
   147 - /DISCONNECT
   135 + /DISCONNECT [message]
   148 + /DISCONNECT [message]
   136  
   149  
   137  Terminate the connection to the Jabber server.
   150  Terminate the connection to the Jabber server.
   138 +You can specify status message to disconnect with.
   151 +You can specify status message to disconnect with.
   139  Note: the roster is only available when the connection to the server is active, so the buddylist is empty when disconnected.
   152  Note: the roster is only available when the connection to the server is active, so the buddylist is empty when disconnected.
   140 diff -r 37d01f85c057 mcabber/doc/help/en/hlp_exit.txt
   153 diff -r 99ffc1bfe836 mcabber/doc/help/en/hlp_exit.txt
   141 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   154 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   142 +++ b/mcabber/doc/help/en/hlp_exit.txt	Wed May 15 12:53:03 2013 +0300
   155 +++ b/mcabber/doc/help/en/hlp_exit.txt	Tue Nov 11 21:21:09 2014 +0200
   143 @@ -0,0 +1,5 @@
   156 @@ -0,0 +1,5 @@
   144 +
   157 +
   145 + /EXIT [message]
   158 + /EXIT [message]
   146 +
   159 +
   147 +Terminate all connections and exit mcabber.
   160 +Terminate all connections and exit mcabber.
   148 +This command is the same as /QUIT, but you can specify status message to exit with.
   161 +This command is the same as /QUIT, but you can specify status message to exit with.
   149 diff -r 37d01f85c057 mcabber/doc/help/fr/hlp.txt
   162 diff -r 99ffc1bfe836 mcabber/doc/help/fr/hlp.txt
   150 --- a/mcabber/doc/help/fr/hlp.txt	Wed May 15 12:52:17 2013 +0300
   163 --- a/mcabber/doc/help/fr/hlp.txt	Tue Nov 11 21:12:47 2014 +0200
   151 +++ b/mcabber/doc/help/fr/hlp.txt	Wed May 15 12:53:03 2013 +0300
   164 +++ b/mcabber/doc/help/fr/hlp.txt	Tue Nov 11 21:21:09 2014 +0200
   152 @@ -2,4 +2,4 @@
   165 @@ -2,4 +2,4 @@
   153   /HELP [commande|+sujet]
   166   /HELP [commande|+sujet]
   154  
   167  
   155  Affiche de l'aide sur la commande ou le sujet demandé.
   168  Affiche de l'aide sur la commande ou le sujet demandé.
   156 -Les commandes disponibles sont : add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   169 -Les commandes disponibles sont : add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   157 +Les commandes disponibles sont : add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   170 +Les commandes disponibles sont : add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   158 diff -r 37d01f85c057 mcabber/doc/help/fr/hlp_disconnect.txt
   171 diff -r 99ffc1bfe836 mcabber/doc/help/fr/hlp_disconnect.txt
   159 --- a/mcabber/doc/help/fr/hlp_disconnect.txt	Wed May 15 12:52:17 2013 +0300
   172 --- a/mcabber/doc/help/fr/hlp_disconnect.txt	Tue Nov 11 21:12:47 2014 +0200
   160 +++ b/mcabber/doc/help/fr/hlp_disconnect.txt	Wed May 15 12:53:03 2013 +0300
   173 +++ b/mcabber/doc/help/fr/hlp_disconnect.txt	Tue Nov 11 21:21:09 2014 +0200
   161 @@ -1,5 +1,6 @@
   174 @@ -1,5 +1,6 @@
   162  
   175  
   163 - /DISCONNECT
   176 - /DISCONNECT
   164 + /DISCONNECT [message]
   177 + /DISCONNECT [message]
   165  
   178  
   166  Ferme la connexion au serveur Jabber.
   179  Ferme la connexion au serveur Jabber.
   167 +You can specify status message to disconnect with.
   180 +You can specify status message to disconnect with.
   168  Remarque : le roster n'est disponible que lorsque la connexion au serveur estactive, donc la liste de contacts est vide après déconnexion.
   181  Remarque : le roster n'est disponible que lorsque la connexion au serveur estactive, donc la liste de contacts est vide après déconnexion.
   169 diff -r 37d01f85c057 mcabber/doc/help/fr/hlp_exit.txt
   182 diff -r 99ffc1bfe836 mcabber/doc/help/fr/hlp_exit.txt
   170 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   183 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   171 +++ b/mcabber/doc/help/fr/hlp_exit.txt	Wed May 15 12:53:03 2013 +0300
   184 +++ b/mcabber/doc/help/fr/hlp_exit.txt	Tue Nov 11 21:21:09 2014 +0200
   172 @@ -0,0 +1,5 @@
   185 @@ -0,0 +1,5 @@
   173 +
   186 +
   174 + /EXIT [message]
   187 + /EXIT [message]
   175 +
   188 +
   176 +Terminate all connections and exit mcabber.
   189 +Terminate all connections and exit mcabber.
   177 +This command is the same as /QUIT, but you can specify status message to exit with.
   190 +This command is the same as /QUIT, but you can specify status message to exit with.
   178 diff -r 37d01f85c057 mcabber/doc/help/it/hlp.txt
   191 diff -r 99ffc1bfe836 mcabber/doc/help/it/hlp.txt
   179 --- a/mcabber/doc/help/it/hlp.txt	Wed May 15 12:52:17 2013 +0300
   192 --- a/mcabber/doc/help/it/hlp.txt	Tue Nov 11 21:12:47 2014 +0200
   180 +++ b/mcabber/doc/help/it/hlp.txt	Wed May 15 12:53:03 2013 +0300
   193 +++ b/mcabber/doc/help/it/hlp.txt	Tue Nov 11 21:21:09 2014 +0200
   181 @@ -3,4 +3,4 @@
   194 @@ -3,4 +3,4 @@
   182  
   195  
   183  Mostra l'help relativo a comando o ad argomento.
   196  Mostra l'help relativo a comando o ad argomento.
   184  Se non viene specificato alcun argomento, viene visualizzato l'utilizzo del comando corrente.
   197  Se non viene specificato alcun argomento, viene visualizzato l'utilizzo del comando corrente.
   185 -I comandi disponibili sono: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   198 -I comandi disponibili sono: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   186 +I comandi disponibili sono: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   199 +I comandi disponibili sono: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   187 diff -r 37d01f85c057 mcabber/doc/help/it/hlp_disconnect.txt
   200 diff -r 99ffc1bfe836 mcabber/doc/help/it/hlp_disconnect.txt
   188 --- a/mcabber/doc/help/it/hlp_disconnect.txt	Wed May 15 12:52:17 2013 +0300
   201 --- a/mcabber/doc/help/it/hlp_disconnect.txt	Tue Nov 11 21:12:47 2014 +0200
   189 +++ b/mcabber/doc/help/it/hlp_disconnect.txt	Wed May 15 12:53:03 2013 +0300
   202 +++ b/mcabber/doc/help/it/hlp_disconnect.txt	Tue Nov 11 21:21:09 2014 +0200
   190 @@ -1,5 +1,6 @@
   203 @@ -1,5 +1,6 @@
   191  
   204  
   192 - /DISCONNECT
   205 - /DISCONNECT
   193 + /DISCONNECT [message]
   206 + /DISCONNECT [message]
   194  
   207  
   195  Termina la connessione con il serve Jabber.
   208  Termina la connessione con il serve Jabber.
   196 +You can specify status message to disconnect with.
   209 +You can specify status message to disconnect with.
   197  Nota: il roster è disponibile soltanto quando la connessione è attiva, quindi la lista dei contatti è vuota quando si è disconnessi.
   210  Nota: il roster è disponibile soltanto quando la connessione è attiva, quindi la lista dei contatti è vuota quando si è disconnessi.
   198 diff -r 37d01f85c057 mcabber/doc/help/it/hlp_exit.txt
   211 diff -r 99ffc1bfe836 mcabber/doc/help/it/hlp_exit.txt
   199 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   212 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   200 +++ b/mcabber/doc/help/it/hlp_exit.txt	Wed May 15 12:53:03 2013 +0300
   213 +++ b/mcabber/doc/help/it/hlp_exit.txt	Tue Nov 11 21:21:09 2014 +0200
   201 @@ -0,0 +1,5 @@
   214 @@ -0,0 +1,5 @@
   202 +
   215 +
   203 + /EXIT [message]
   216 + /EXIT [message]
   204 +
   217 +
   205 +Terminate all connections and exit mcabber.
   218 +Terminate all connections and exit mcabber.
   206 +This command is the same as /QUIT, but you can specify status message to exit with.
   219 +This command is the same as /QUIT, but you can specify status message to exit with.
   207 diff -r 37d01f85c057 mcabber/doc/help/nl/hlp.txt
   220 diff -r 99ffc1bfe836 mcabber/doc/help/nl/hlp.txt
   208 --- a/mcabber/doc/help/nl/hlp.txt	Wed May 15 12:52:17 2013 +0300
   221 --- a/mcabber/doc/help/nl/hlp.txt	Tue Nov 11 21:12:47 2014 +0200
   209 +++ b/mcabber/doc/help/nl/hlp.txt	Wed May 15 12:53:03 2013 +0300
   222 +++ b/mcabber/doc/help/nl/hlp.txt	Tue Nov 11 21:21:09 2014 +0200
   210 @@ -3,4 +3,4 @@
   223 @@ -3,4 +3,4 @@
   211  
   224  
   212  Toon informatie over een commando of onderwerp.
   225  Toon informatie over een commando of onderwerp.
   213  Als geen argument is meegegeven, wordt een tekst over het gebruik van dit commando getoond.
   226  Als geen argument is meegegeven, wordt een tekst over het gebruik van dit commando getoond.
   214 -Beschikbare commando's: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   227 -Beschikbare commando's: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   215 +Beschikbare commando's: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   228 +Beschikbare commando's: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   216 diff -r 37d01f85c057 mcabber/doc/help/nl/hlp_disconnect.txt
   229 diff -r 99ffc1bfe836 mcabber/doc/help/nl/hlp_disconnect.txt
   217 --- a/mcabber/doc/help/nl/hlp_disconnect.txt	Wed May 15 12:52:17 2013 +0300
   230 --- a/mcabber/doc/help/nl/hlp_disconnect.txt	Tue Nov 11 21:12:47 2014 +0200
   218 +++ b/mcabber/doc/help/nl/hlp_disconnect.txt	Wed May 15 12:53:03 2013 +0300
   231 +++ b/mcabber/doc/help/nl/hlp_disconnect.txt	Tue Nov 11 21:21:09 2014 +0200
   219 @@ -1,5 +1,6 @@
   232 @@ -1,5 +1,6 @@
   220  
   233  
   221 - /DISCONNECT
   234 - /DISCONNECT
   222 + /DISCONNECT [message]
   235 + /DISCONNECT [message]
   223  
   236  
   224  Beëindig de verbinding met de Jabber server.
   237  Beëindig de verbinding met de Jabber server.
   225 +You can specify status message to disconnect with.
   238 +You can specify status message to disconnect with.
   226  NB: het Roster is alleen beschikbaar indien er een actieve verbinding met de server bestaat. De buddylijst is dus leeg indien niet verbonden.
   239  NB: het Roster is alleen beschikbaar indien er een actieve verbinding met de server bestaat. De buddylijst is dus leeg indien niet verbonden.
   227 diff -r 37d01f85c057 mcabber/doc/help/nl/hlp_exit.txt
   240 diff -r 99ffc1bfe836 mcabber/doc/help/nl/hlp_exit.txt
   228 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   241 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   229 +++ b/mcabber/doc/help/nl/hlp_exit.txt	Wed May 15 12:53:03 2013 +0300
   242 +++ b/mcabber/doc/help/nl/hlp_exit.txt	Tue Nov 11 21:21:09 2014 +0200
   230 @@ -0,0 +1,5 @@
   243 @@ -0,0 +1,5 @@
   231 +
   244 +
   232 + /EXIT [message]
   245 + /EXIT [message]
   233 +
   246 +
   234 +Terminate all connections and exit mcabber.
   247 +Terminate all connections and exit mcabber.
   235 +This command is the same as /QUIT, but you can specify status message to exit with.
   248 +This command is the same as /QUIT, but you can specify status message to exit with.
   236 diff -r 37d01f85c057 mcabber/doc/help/pl/hlp.txt
   249 diff -r 99ffc1bfe836 mcabber/doc/help/pl/hlp.txt
   237 --- a/mcabber/doc/help/pl/hlp.txt	Wed May 15 12:52:17 2013 +0300
   250 --- a/mcabber/doc/help/pl/hlp.txt	Tue Nov 11 21:12:47 2014 +0200
   238 +++ b/mcabber/doc/help/pl/hlp.txt	Wed May 15 12:53:03 2013 +0300
   251 +++ b/mcabber/doc/help/pl/hlp.txt	Tue Nov 11 21:21:09 2014 +0200
   239 @@ -3,4 +3,4 @@
   252 @@ -3,4 +3,4 @@
   240  
   253  
   241  Wyświetla pomoc dotyczącą danego polecenia lub tematu.
   254  Wyświetla pomoc dotyczącą danego polecenia lub tematu.
   242  Jeśli nie podano żadnego argumentu, zostanie wyświetlona pomoc o sposobie użycia.
   255  Jeśli nie podano żadnego argumentu, zostanie wyświetlona pomoc o sposobie użycia.
   243 -Dostępne polecenia: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   256 -Dostępne polecenia: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   244 +Dostępne polecenia: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   257 +Dostępne polecenia: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   245 diff -r 37d01f85c057 mcabber/doc/help/pl/hlp_disconnect.txt
   258 diff -r 99ffc1bfe836 mcabber/doc/help/pl/hlp_disconnect.txt
   246 --- a/mcabber/doc/help/pl/hlp_disconnect.txt	Wed May 15 12:52:17 2013 +0300
   259 --- a/mcabber/doc/help/pl/hlp_disconnect.txt	Tue Nov 11 21:12:47 2014 +0200
   247 +++ b/mcabber/doc/help/pl/hlp_disconnect.txt	Wed May 15 12:53:03 2013 +0300
   260 +++ b/mcabber/doc/help/pl/hlp_disconnect.txt	Tue Nov 11 21:21:09 2014 +0200
   248 @@ -1,5 +1,6 @@
   261 @@ -1,5 +1,6 @@
   249  
   262  
   250 - /DISCONNECT
   263 - /DISCONNECT
   251 + /DISCONNECT [message]
   264 + /DISCONNECT [message]
   252  
   265  
   253  Przerywa połączenie z serwerem Jabbera.
   266  Przerywa połączenie z serwerem Jabbera.
   254 -Uwaga: roster dostępny jest tylko gdy połączenie do serwera jest aktywne, zatem jeżeli nie jesteś połączony lista kontaktów jest pusta.
   267 -Uwaga: roster dostępny jest tylko gdy połączenie do serwera jest aktywne, zatem jeżeli nie jesteś połączony lista kontaktów jest pusta.
   255 \ No newline at end of file
   268 \ No newline at end of file
   256 +You can specify status message to disconnect with.
   269 +You can specify status message to disconnect with.
   257 +Uwaga: roster dostępny jest tylko gdy połączenie do serwera jest aktywne, zatem jeżeli nie jesteś połączony lista kontaktów jest pusta.
   270 +Uwaga: roster dostępny jest tylko gdy połączenie do serwera jest aktywne, zatem jeżeli nie jesteś połączony lista kontaktów jest pusta.
   258 diff -r 37d01f85c057 mcabber/doc/help/pl/hlp_exit.txt
   271 diff -r 99ffc1bfe836 mcabber/doc/help/pl/hlp_exit.txt
   259 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   272 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   260 +++ b/mcabber/doc/help/pl/hlp_exit.txt	Wed May 15 12:53:03 2013 +0300
   273 +++ b/mcabber/doc/help/pl/hlp_exit.txt	Tue Nov 11 21:21:09 2014 +0200
   261 @@ -0,0 +1,5 @@
   274 @@ -0,0 +1,5 @@
   262 +
   275 +
   263 + /EXIT [message]
   276 + /EXIT [message]
   264 +
   277 +
   265 +Terminate all connections and exit mcabber.
   278 +Terminate all connections and exit mcabber.
   266 +This command is the same as /QUIT, but you can specify status message to exit with.
   279 +This command is the same as /QUIT, but you can specify status message to exit with.
   267 diff -r 37d01f85c057 mcabber/doc/help/ru/hlp.txt
   280 diff -r 99ffc1bfe836 mcabber/doc/help/ru/hlp.txt
   268 --- a/mcabber/doc/help/ru/hlp.txt	Wed May 15 12:52:17 2013 +0300
   281 --- a/mcabber/doc/help/ru/hlp.txt	Tue Nov 11 21:12:47 2014 +0200
   269 +++ b/mcabber/doc/help/ru/hlp.txt	Wed May 15 12:53:03 2013 +0300
   282 +++ b/mcabber/doc/help/ru/hlp.txt	Tue Nov 11 21:21:09 2014 +0200
   270 @@ -3,4 +3,4 @@
   283 @@ -3,4 +3,4 @@
   271  
   284  
   272  Отображает файл помощи о запрошенной команде или топике.
   285  Отображает файл помощи о запрошенной команде или топике.
   273  Если выполнить без аргументов, будут отображены допустимые команды.
   286  Если выполнить без аргументов, будут отображены допустимые команды.
   274 -Допустимые команды: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   287 -Допустимые команды: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   275 +Допустимые команды: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   288 +Допустимые команды: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   276 diff -r 37d01f85c057 mcabber/doc/help/ru/hlp_disconnect.txt
   289 diff -r 99ffc1bfe836 mcabber/doc/help/ru/hlp_disconnect.txt
   277 --- a/mcabber/doc/help/ru/hlp_disconnect.txt	Wed May 15 12:52:17 2013 +0300
   290 --- a/mcabber/doc/help/ru/hlp_disconnect.txt	Tue Nov 11 21:12:47 2014 +0200
   278 +++ b/mcabber/doc/help/ru/hlp_disconnect.txt	Wed May 15 12:53:03 2013 +0300
   291 +++ b/mcabber/doc/help/ru/hlp_disconnect.txt	Tue Nov 11 21:21:09 2014 +0200
   279 @@ -1,5 +1,6 @@
   292 @@ -1,5 +1,6 @@
   280  
   293  
   281 - /DISCONNECT
   294 - /DISCONNECT
   282 + /DISCONNECT [сообщение]
   295 + /DISCONNECT [сообщение]
   283  
   296  
   284  Завершает соединение с Jabber-сервером.
   297  Завершает соединение с Jabber-сервером.
   285 +Вы можете указать сообщение статуса при выходе.
   298 +Вы можете указать сообщение статуса при выходе.
   286  Примечание: список контактов доступен только когда соединение с сервером активно, поэтому список контактов пуст при завершении соединения.
   299  Примечание: список контактов доступен только когда соединение с сервером активно, поэтому список контактов пуст при завершении соединения.
   287 diff -r 37d01f85c057 mcabber/doc/help/ru/hlp_exit.txt
   300 diff -r 99ffc1bfe836 mcabber/doc/help/ru/hlp_exit.txt
   288 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   301 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   289 +++ b/mcabber/doc/help/ru/hlp_exit.txt	Wed May 15 12:53:03 2013 +0300
   302 +++ b/mcabber/doc/help/ru/hlp_exit.txt	Tue Nov 11 21:21:09 2014 +0200
   290 @@ -0,0 +1,6 @@
   303 @@ -0,0 +1,6 @@
   291 +
   304 +
   292 + /EXIT [сообщение]
   305 + /EXIT [сообщение]
   293 +
   306 +
   294 +
   307 +
   295 +Эта команда завершает все активные соединения и выходит из mcabber`а.
   308 +Эта команда завершает все активные соединения и выходит из mcabber`а.
   296 +Отличается от /QUIT тем, что позволяет указать сообщение статуса при выходе.
   309 +Отличается от /QUIT тем, что позволяет указать сообщение статуса при выходе.
   297 diff -r 37d01f85c057 mcabber/doc/help/uk/hlp.txt
   310 diff -r 99ffc1bfe836 mcabber/doc/help/uk/hlp.txt
   298 --- a/mcabber/doc/help/uk/hlp.txt	Wed May 15 12:52:17 2013 +0300
   311 --- a/mcabber/doc/help/uk/hlp.txt	Tue Nov 11 21:12:47 2014 +0200
   299 +++ b/mcabber/doc/help/uk/hlp.txt	Wed May 15 12:53:03 2013 +0300
   312 +++ b/mcabber/doc/help/uk/hlp.txt	Tue Nov 11 21:21:09 2014 +0200
   300 @@ -3,4 +3,4 @@
   313 @@ -3,4 +3,4 @@
   301  
   314  
   302  Друкує допоміжну інформацію про команду або вираз.
   315  Друкує допоміжну інформацію про команду або вираз.
   303  Без аргументу друкує оце повідомлення.
   316  Без аргументу друкує оце повідомлення.
   304 -Наявні команди: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   317 -Наявні команди: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   305 +Наявні команди: add, alias, authorization, bind, buffer, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   318 +Наявні команди: add, alias, authorization, bind, buffer, carbons, chat_disable, clear, color, connect, del, disconnect, echo, event, exit, group, help, iline, info, module, move, msay, otr, otrpolicy, pgp, quit, rawxml, rename, request, room, roster, say_to, say, screen_refresh, set, source, status_to, status, version.
   306 diff -r 37d01f85c057 mcabber/doc/help/uk/hlp_disconnect.txt
   319 diff -r 99ffc1bfe836 mcabber/doc/help/uk/hlp_disconnect.txt
   307 --- a/mcabber/doc/help/uk/hlp_disconnect.txt	Wed May 15 12:52:17 2013 +0300
   320 --- a/mcabber/doc/help/uk/hlp_disconnect.txt	Tue Nov 11 21:12:47 2014 +0200
   308 +++ b/mcabber/doc/help/uk/hlp_disconnect.txt	Wed May 15 12:53:03 2013 +0300
   321 +++ b/mcabber/doc/help/uk/hlp_disconnect.txt	Tue Nov 11 21:21:09 2014 +0200
   309 @@ -1,5 +1,6 @@
   322 @@ -1,5 +1,6 @@
   310  
   323  
   311 - /DISCONNECT
   324 - /DISCONNECT
   312 + /DISCONNECT [повідомлення]
   325 + /DISCONNECT [повідомлення]
   313  
   326  
   314  Розірвати з'єднання з сервером.
   327  Розірвати з'єднання з сервером.
   315 +Ви можете вказати повідомлення статусу відсутності.
   328 +Ви можете вказати повідомлення статусу відсутності.
   316  Майте на увазі, що список контактів зберігається на сервері, отож після від'єднання ви його більше не побачите.
   329  Майте на увазі, що список контактів зберігається на сервері, отож після від'єднання ви його більше не побачите.
   317 diff -r 37d01f85c057 mcabber/doc/help/uk/hlp_exit.txt
   330 diff -r 99ffc1bfe836 mcabber/doc/help/uk/hlp_exit.txt
   318 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   331 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
   319 +++ b/mcabber/doc/help/uk/hlp_exit.txt	Wed May 15 12:53:03 2013 +0300
   332 +++ b/mcabber/doc/help/uk/hlp_exit.txt	Tue Nov 11 21:21:09 2014 +0200
   320 @@ -0,0 +1,5 @@
   333 @@ -0,0 +1,5 @@
   321 +
   334 +
   322 + /EXIT [повідомлення]
   335 + /EXIT [повідомлення]
   323 +
   336 +
   324 +Закриває всі з’єднання та завершує мкаббер.
   337 +Закриває всі з’єднання та завершує мкаббер.
   325 +Відмінність цієї команди від /QUIT у тому, що ви можете вказати повідомлення статусу відсутності.
   338 +Відмінність цієї команди від /QUIT у тому, що ви можете вказати повідомлення статусу відсутності.
   326 diff -r 37d01f85c057 mcabber/mcabber/api.h
   339 diff -r 99ffc1bfe836 mcabber/mcabber/api.h
   327 --- a/mcabber/mcabber/api.h	Wed May 15 12:52:17 2013 +0300
   340 --- a/mcabber/mcabber/api.h	Tue Nov 11 21:12:47 2014 +0200
   328 +++ b/mcabber/mcabber/api.h	Wed May 15 12:53:03 2013 +0300
   341 +++ b/mcabber/mcabber/api.h	Tue Nov 11 21:21:09 2014 +0200
   329 @@ -4,8 +4,8 @@
   342 @@ -4,8 +4,8 @@
   330  #include <glib.h>
   343  #include <glib.h>
   331  #include <mcabber/config.h> // For MCABBER_BRANCH
   344  #include <mcabber/config.h> // For MCABBER_BRANCH
   332  
   345  
   333 -#define MCABBER_API_VERSION 41
   346 -#define MCABBER_API_VERSION 43
   334 -#define MCABBER_API_MIN     41
   347 -#define MCABBER_API_MIN     43
   335 +#define MCABBER_API_VERSION 42
   348 +#define MCABBER_API_VERSION 44
   336 +#define MCABBER_API_MIN     42
   349 +#define MCABBER_API_MIN     44
   337   
   350  
   338  #define MCABBER_BRANCH_EXPERIMENTAL 1
   351  #define MCABBER_BRANCH_EXPERIMENTAL 1
   339  
   352  
   340 diff -r 37d01f85c057 mcabber/mcabber/commands.c
   353 diff -r 99ffc1bfe836 mcabber/mcabber/commands.c
   341 --- a/mcabber/mcabber/commands.c	Wed May 15 12:52:17 2013 +0300
   354 --- a/mcabber/mcabber/commands.c	Tue Nov 11 21:12:47 2014 +0200
   342 +++ b/mcabber/mcabber/commands.c	Wed May 15 12:53:03 2013 +0300
   355 +++ b/mcabber/mcabber/commands.c	Tue Nov 11 21:21:09 2014 +0200
   343 @@ -94,6 +94,7 @@
   356 @@ -94,6 +94,7 @@
   344  static void do_otrpolicy(char *arg);
       
   345  static void do_echo(char *arg);
   357  static void do_echo(char *arg);
   346  static void do_module(char *arg);
   358  static void do_module(char *arg);
       
   359  static void do_carbons(char *arg);
   347 +static void do_exit(char *arg);
   360 +static void do_exit(char *arg);
   348  
   361  
   349  static void room_bookmark(gpointer bud, char *arg);
   362  static void room_bookmark(gpointer bud, char *arg);
   350  
   363  
   351 @@ -199,6 +200,7 @@
   364 @@ -201,6 +202,7 @@
   352    cmd_add("echo", "Display a string in the log window", 0, 0, &do_echo, NULL);
   365    cmd_add("echo", "Display a string in the log window", 0, 0, &do_echo, NULL);
   353    cmd_add("event", "Process an event", COMPL_EVENTSID, COMPL_EVENTS, &do_event,
   366    cmd_add("event", "Process an event", COMPL_EVENTSID, COMPL_EVENTS, &do_event,
   354            NULL);
   367            NULL);
   355 +  cmd_add("exit",  "Exit mcabber", 0, 0, &do_exit, NULL);
   368 +  cmd_add("exit",  "Exit mcabber", 0, 0, &do_exit, NULL);
   356    cmd_add("group", "Change group display settings",
   369    cmd_add("group", "Change group display settings",
   357            COMPL_GROUP, COMPL_GROUPNAME, &do_group, NULL);
   370            COMPL_GROUP, COMPL_GROUPNAME, &do_group, NULL);
   358    cmd_add("help", "Display some help", COMPL_CMD, 0, &do_help, NULL);
   371    cmd_add("help", "Display some help", COMPL_CMD, 0, &do_help, NULL);
   359 @@ -4135,7 +4137,9 @@
   372 @@ -4170,7 +4172,9 @@
   360  
   373  
   361  static void do_disconnect(char *arg)
   374  static void do_disconnect(char *arg)
   362  {
   375  {
   363 -  xmpp_disconnect();
   376 -  xmpp_disconnect();
   364 +  char *message = to_utf8(arg);
   377 +  char *message = to_utf8(arg);
   365 +  xmpp_disconnect(message);
   378 +  xmpp_disconnect(message);
   366 +  g_free(message);
   379 +  g_free(message);
   367  }
   380  }
   368  
   381  
   369  static void do_help(char *arg)
   382  static void do_help(char *arg)
   370 @@ -4149,4 +4153,14 @@
   383 @@ -4197,4 +4201,14 @@
   371      scr_print_logwindow(arg);
   384    }
   372  }
   385  }
   373  
   386  
   374 +static void do_exit(char *arg)
   387 +static void do_exit(char *arg)
   375 +{
   388 +{
   376 +  if (arg) {
   389 +  if (arg) {
   380 +  }
   393 +  }
   381 +  mcabber_set_terminate_ui();
   394 +  mcabber_set_terminate_ui();
   382 +}
   395 +}
   383 +
   396 +
   384  /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2:  For Vim users... */
   397  /* vim: set expandtab cindent cinoptions=>2\:2(0 sw=2 ts=2:  For Vim users... */
   385 diff -r 37d01f85c057 mcabber/mcabber/main.c
   398 diff -r 99ffc1bfe836 mcabber/mcabber/main.c
   386 --- a/mcabber/mcabber/main.c	Wed May 15 12:52:17 2013 +0300
   399 --- a/mcabber/mcabber/main.c	Tue Nov 11 21:12:47 2014 +0200
   387 +++ b/mcabber/mcabber/main.c	Wed May 15 12:53:03 2013 +0300
   400 +++ b/mcabber/mcabber/main.c	Tue Nov 11 21:21:09 2014 +0200
   388 @@ -91,7 +91,7 @@
   401 @@ -91,7 +91,7 @@
   389  #ifndef MODULES_ENABLE
   402  #ifndef MODULES_ENABLE
   390    fifo_deinit();
   403    fifo_deinit();
   391  #endif
   404  #endif
   392 -  xmpp_disconnect();
   405 -  xmpp_disconnect();
   393 +  xmpp_disconnect(NULL);
   406 +  xmpp_disconnect(NULL);
   394    scr_terminate_curses();
   407    scr_terminate_curses();
   395  
   408  
   396    // Restore term settings, if needed.
   409    // Restore term settings, if needed.
   397 @@ -524,7 +524,7 @@
   410 @@ -513,7 +513,7 @@
   398  #ifdef HAVE_LIBOTR
   411  #ifdef HAVE_LIBOTR
   399    otr_terminate();
   412    otr_terminate();
   400  #endif
   413  #endif
   401 -  xmpp_disconnect();
   414 -  xmpp_disconnect();
   402 +  xmpp_disconnect(NULL);
   415 +  xmpp_disconnect(NULL);
   403  #ifdef HAVE_GPGME
   416  #ifdef HAVE_GPGME
   404    gpg_terminate();
   417    gpg_terminate();
   405  #endif
   418  #endif
   406 diff -r 37d01f85c057 mcabber/mcabber/settings.c
   419 diff -r 99ffc1bfe836 mcabber/mcabber/settings.c
   407 --- a/mcabber/mcabber/settings.c	Wed May 15 12:52:17 2013 +0300
   420 --- a/mcabber/mcabber/settings.c	Tue Nov 11 21:12:47 2014 +0200
   408 +++ b/mcabber/mcabber/settings.c	Wed May 15 12:53:03 2013 +0300
   421 +++ b/mcabber/mcabber/settings.c	Tue Nov 11 21:21:09 2014 +0200
   409 @@ -372,7 +372,12 @@
   422 @@ -371,7 +371,12 @@
   410  // - if no message is found, return NULL
   423  // - if no message is found, return NULL
   411  const gchar *settings_get_status_msg(enum imstatus status)
   424  const gchar *settings_get_status_msg(enum imstatus status)
   412  {
   425  {
   413 -  const gchar *rstatus = settings_opt_get("message");
   426 -  const gchar *rstatus = settings_opt_get("message");
   414 +  const gchar *rstatus;
   427 +  const gchar *rstatus;
   418 +
   431 +
   419 +  rstatus = settings_opt_get("message");
   432 +  rstatus = settings_opt_get("message");
   420  
   433  
   421    if (rstatus) return rstatus;
   434    if (rstatus) return rstatus;
   422  
   435  
   423 @@ -397,7 +402,7 @@
   436 @@ -396,7 +401,7 @@
   424          rstatus = settings_opt_get("message_away");
   437          rstatus = settings_opt_get("message_away");
   425          break;
   438          break;
   426  
   439  
   427 -    default: // offline, invisible
   440 -    default: // offline, invisible
   428 +    default: // ?
   441 +    default: // ?
   429          break;
   442          break;
   430    }
   443    }
   431    return rstatus;
   444    return rstatus;
   432 diff -r 37d01f85c057 mcabber/mcabber/xmpp.c
   445 diff -r 99ffc1bfe836 mcabber/mcabber/xmpp.c
   433 --- a/mcabber/mcabber/xmpp.c	Wed May 15 12:52:17 2013 +0300
   446 --- a/mcabber/mcabber/xmpp.c	Tue Nov 11 21:12:47 2014 +0200
   434 +++ b/mcabber/mcabber/xmpp.c	Wed May 15 12:53:03 2013 +0300
   447 +++ b/mcabber/mcabber/xmpp.c	Tue Nov 11 21:21:09 2014 +0200
   435 @@ -884,7 +884,7 @@
   448 @@ -771,7 +771,7 @@
   436  
   449  
   437  static void _try_to_reconnect(void)
   450  static void _try_to_reconnect(void)
   438  {
   451  {
   439 -  xmpp_disconnect();
   452 -  xmpp_disconnect();
   440 +  xmpp_disconnect(NULL);
   453 +  xmpp_disconnect(NULL);
   441    if (AutoConnection)
   454    if (AutoConnection)
   442      g_timeout_add_seconds(RECONNECTION_TIMEOUT + (random() % 90L),
   455      g_timeout_add_seconds(RECONNECTION_TIMEOUT + (random() % 90L),
   443                            xmpp_reconnect, NULL);
   456                            xmpp_reconnect, NULL);
   444 @@ -1830,7 +1830,7 @@
   457 @@ -1734,7 +1734,7 @@
   445    LmMessageHandler *handler;
   458    LmMessageHandler *handler;
   446    GError *error = NULL;
   459    GError *error = NULL;
   447  
   460  
   448 -  xmpp_disconnect();
   461 -  xmpp_disconnect();
   449 +  xmpp_disconnect(NULL);
   462 +  xmpp_disconnect(NULL);
   450  
   463  
   451    servername = settings_opt_get("server");
   464    servername  = settings_opt_get("server");
   452    userjid    = settings_opt_get("jid");
   465    userjid     = settings_opt_get("jid");
   453 @@ -2003,7 +2003,7 @@
   466 @@ -1915,7 +1915,7 @@
   454    lm_message_node_set_attribute(y, "ver", ver);
   467    lm_message_node_set_attribute(y, "ver", ver);
   455  }
   468  }
   456  
   469  
   457 -void xmpp_disconnect(void)
   470 -void xmpp_disconnect(void)
   458 +void xmpp_disconnect(const char *message)
   471 +void xmpp_disconnect(const char *message)
   459  {
   472  {
   460    if (!lconnection)
   473    if (!lconnection)
   461      return;
   474      return;
   462 @@ -2011,7 +2011,7 @@
   475 @@ -1923,7 +1923,7 @@
   463      // Launch pre-disconnect internal hook
   476      // Launch pre-disconnect internal hook
   464      hk_predisconnect();
   477      hk_predisconnect();
   465      // Announce it to  everyone else
   478      // Announce it to  everyone else
   466 -    xmpp_setstatus(offline, NULL, "", FALSE);
   479 -    xmpp_setstatus(offline, NULL, "", FALSE);
   467 +    xmpp_setstatus(offline, NULL, message, FALSE);
   480 +    xmpp_setstatus(offline, NULL, message, FALSE);
   468    }
   481    }
   469    if (lm_connection_is_open(lconnection))
   482    if (lm_connection_is_open(lconnection))
   470      lm_connection_close(lconnection, NULL);
   483      lm_connection_close(lconnection, NULL);
   471 diff -r 37d01f85c057 mcabber/mcabber/xmpp.h
   484 diff -r 99ffc1bfe836 mcabber/mcabber/xmpp.h
   472 --- a/mcabber/mcabber/xmpp.h	Wed May 15 12:52:17 2013 +0300
   485 --- a/mcabber/mcabber/xmpp.h	Tue Nov 11 21:12:47 2014 +0200
   473 +++ b/mcabber/mcabber/xmpp.h	Wed May 15 12:53:03 2013 +0300
   486 +++ b/mcabber/mcabber/xmpp.h	Tue Nov 11 21:21:09 2014 +0200
   474 @@ -37,7 +37,7 @@
   487 @@ -38,7 +38,7 @@
   475  
   488  
   476  void xmpp_init(void); /* private */
   489  void xmpp_init(void); /* private */
   477  int  xmpp_connect(void);
   490  int  xmpp_connect(void);
   478 -void xmpp_disconnect(void);
   491 -void xmpp_disconnect(void);
   479 +void xmpp_disconnect(const char *message);
   492 +void xmpp_disconnect(const char *message);
   480  gboolean xmpp_is_online(void);
   493  gboolean xmpp_is_online(void);
   481  
   494  
   482  void xmpp_room_join(const char *room, const char *nickname, const char *passwd);
   495  void xmpp_room_join(const char *room, const char *nickname, const char *passwd);
   483 diff -r 37d01f85c057 mcabber/mcabberrc.example
   496 diff -r 99ffc1bfe836 mcabber/mcabberrc.example
   484 --- a/mcabber/mcabberrc.example	Wed May 15 12:52:17 2013 +0300
   497 --- a/mcabber/mcabberrc.example	Tue Nov 11 21:12:47 2014 +0200
   485 +++ b/mcabber/mcabberrc.example	Wed May 15 12:53:03 2013 +0300
   498 +++ b/mcabber/mcabberrc.example	Tue Nov 11 21:21:09 2014 +0200
   486 @@ -366,6 +366,9 @@
   499 @@ -371,6 +371,9 @@
   487  #set message_notavail  = I'm not available
   500  #set message_notavail  = I'm not available
   488  #set message_away      = I'm away
   501  #set message_away      = I'm away
   489  #
   502  #
   490 +# Default offline message will not be overridden by 'message'.
   503 +# Default offline message will not be overridden by 'message'.
   491 +#set message_offline = Bye!
   504 +#set message_offline = Bye!