Yaaic/application/src/org/yaaic/activity
Steven Luo e7651315df Make reconnections actually work
At the moment, the reconnect feature is somewhat glitchy, popping up
multiple reconnect prompts even if a reconnection succeeds, and
occasionally causing crashes.  A successful reconnection results in the
conversation history being cleared, which is an annoying outcome when
connected over an unreliable network.

This patch does the following:

* Keep track of whether a reconnect dialog is active, to prevent
  multiple dialogs from opening.
* Introduce a new field to the Server object, mayReconnect, which is
  used to keep track of whether a reconnection should be attempted in
  the event of a disconnection.  It's set to "true" when we connect to a
  server, and "false" if the user asks for a disconnection.
* Prevent the clearing of active conversations and conversation history
  on disconnect, unless the user specifically asked for the disconnect.
* Keep the IRCService running even when no servers are connected, unless
  the user has disconnected from all servers herself.  This is needed
  for reliable auto-reconnects (see next patch), but has the side effect
  of keeping conversation history around even if the activity isn't open
  when a disconnect happens.
2011-06-29 20:34:52 +02:00
..
AboutActivity.java Added 2011 to licence header 2011-02-05 13:00:12 +01:00
AddAliasActivity.java Some more simple refactorings 2011-03-14 22:15:13 +01:00
AddChannelActivity.java AddChannelActivity: Always set cursor at the end of the input field 2011-06-13 22:48:25 +02:00
AddCommandsActivity.java Some more simple refactorings 2011-03-14 22:15:13 +01:00
AddServerActivity.java (Authentication) GUI for NickServ and SASL 2011-06-10 21:35:23 +02:00
AuthenticationActivity.java (Authentication) GUI for NickServ and SASL 2011-06-10 21:35:23 +02:00
ConversationActivity.java Make reconnections actually work 2011-06-29 20:34:52 +02:00
JoinActivity.java JoinActivity: Set cursor position 2011-04-12 23:05:09 +02:00
MessageActivity.java Added 2011 to licence header 2011-02-05 13:00:12 +01:00
ServersActivity.java Make reconnections actually work 2011-06-29 20:34:52 +02:00
SettingsActivity.java Added 2011 to licence header 2011-02-05 13:00:12 +01:00
UserActivity.java New user action view and new actions: reply, query 2011-02-05 16:04:36 +01:00
UsersActivity.java Added 2011 to licence header 2011-02-05 13:00:12 +01:00