Yaaic/application/src/org/yaaic/model
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
..
Authentication.java (Authentication) Implementation of authentication via SASL on connect 2011-06-10 22:03:19 +02:00
Broadcast.java Include channel topic in the displayed conversation title 2011-06-08 23:11:28 +02:00
Channel.java Added 2011 to licence header 2011-02-05 13:00:12 +01:00
Conversation.java Make the conversation history size a configurable preference 2011-06-08 23:11:28 +02:00
Extra.java (Authentication) GUI for NickServ and SASL 2011-06-10 21:35:23 +02:00
Identity.java Some more simple refactorings 2011-03-14 22:15:13 +01:00
Message.java (Authentication) GUI for NickServ and SASL 2011-06-10 21:35:23 +02:00
Query.java Added 2011 to licence header 2011-02-05 13:00:12 +01:00
Scrollback.java Added 2011 to licence header 2011-02-05 13:00:12 +01:00
Server.java Make reconnections actually work 2011-06-29 20:34:52 +02:00
ServerInfo.java Added 2011 to licence header 2011-02-05 13:00:12 +01:00
Settings.java IME behavior changes for the ConversationActivity 2011-06-08 23:11:28 +02:00
Status.java Some more simple refactorings 2011-03-14 22:15:13 +01:00
User.java New user action view and new actions: reply, query 2011-02-05 16:04:36 +01:00