mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-22 00:42:16 -05:00
e7651315df
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. |
||
---|---|---|
application | ||
test | ||
tools | ||
.gitignore | ||
build.conf.sample | ||
CHANGELOG | ||
CONTRIBUTORS | ||
LICENCE | ||
README | ||
release.sh | ||
test.sh |
Yaaic - Yet Another Android IRC Client Yaaic is as the full name already says an Internet Relay Chat (IRC) client for Android devices. -------------------------------------------------------------------- This is the source code distribution of Yaaic. If you are looking for a compiled 'ready to use' version (APK), see the official homepage at: http://www.yaaic.org Yaaic is also avaiable at the official Android market. If you are a developer and want to contribute to Yaaic, checkout our repository at github: http://github.com/pocmo/Yaaic The application project is located in application/ while the test/ folder contains unit and scenario tests. (Both folders are two separate eclipse projects!) Drop me a line for questions regarding Yaaic or use one of the following ressources: IRC: irc.epd-me.net #yaaic Homepage: http://www.yaaic.org Google Group: http://groups.google.com/group/yaaic/ Twitter: http://twitter.com/Yaaic Facebook: http://www.facebook.com/pages/Yaaic/359902798214 -------------------------------------------------------------------- Yaaic includes the PircBot IRC API written by Paul Mutton available under the GNU General Public License (GPL). http://www.jibble.org The Yaaic icon was designed by http://www.androidicons.com Some icons are part of the Silk icon set designed by Mark James available under the Creative Commons Licence Attribution 3.0 Licence. http://www.famfamfam.com -------------------------------------------------------------------- Copyright 2009-2011 Sebastian Kaspari Yaaic is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Yaaic is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Yaaic. If not, see http://www.gnu.org/licenses/