1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-25 10:22:16 -05:00
Commit Graph

955 Commits

Author SHA1 Message Date
Sebastian Kaspari
da885094da Add ViewPagerIndicator library project to project properties. 2012-01-21 11:31:33 +01:00
Sebastian Kaspari
2a51daf45c (User) action items: More padding. 2012-01-21 11:31:13 +01:00
Sebastian Kaspari
25cf7eb2ad ConversationActivity: Add ViewPagerIndicator. 2012-01-21 11:30:41 +01:00
Sebastian Kaspari
706a864f44 Add ViewPagerIndicator library project to repository.
https://github.com/JakeWharton/Android-ViewPagerIndicator

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
See the License for the specific language governing permissions and
limitations under the License.
2012-01-21 10:57:45 +01:00
Sebastian Kaspari
8386f4a1ef AddServerActivity: Disable auto-correction for the hostname field. Fixes #99. 2012-01-21 10:33:03 +01:00
remram44
6ff79ee50d Updated French translation. 2012-01-21 08:59:22 +01:00
Sebastian Kaspari
ec90fe3db6 Make everything clickable in messages (links, email addresses, telephone numbers). 2012-01-21 08:57:28 +01:00
Sebastian Kaspari
e04499070a Replace gallery view for conversations by ViewPager. Fixes #38. 2012-01-21 08:56:40 +01:00
Sebastian Kaspari
659d6c0b89 Eclipse setting: Do not "fix" indentation on save. 2012-01-21 08:21:06 +01:00
Sebastian Kaspari
ca0a86d2cb Add support library to build path. Refs #38. 2012-01-12 18:45:07 +01:00
Sebastian Kaspari
e6be035a8e Add target to build file. 2011-11-27 00:03:35 +01:00
Sebastian Kaspari
a4bc0ada80 Update test project to Robotium 3.0. 2011-11-27 00:00:25 +01:00
Sebastian Kaspari
29e102b5d0 ServerListScenarios: Fix testAddingAndRemovingServer() test case. 2011-11-26 23:50:39 +01:00
Sebastian Kaspari
d1d23ecb04 Fix incomplete build script. 2011-11-26 23:47:41 +01:00
Sebastian Kaspari
e00cb44553 ScenarioHelper: Fix createTestServer(). 2011-11-26 23:40:09 +01:00
Sebastian Kaspari
2522aacb11 Update build files for test project. 2011-11-26 23:20:08 +01:00
Sebastian Kaspari
a0a1d3fb3d Remove generated build files and add build script. 2011-11-26 23:09:41 +01:00
Sebastian Kaspari
e7243258b9 Update build files. 2011-11-26 23:06:13 +01:00
Sebastian Kaspari
bd17dcd598 ConversationReceiverTest: Fix interface implementation. 2011-11-26 22:58:15 +01:00
Steven Luo
66006cabf5 Work around a crash on ICS when destroying a ConversationActivity
On Ice Cream Sandwich, something -- possibly even in the Android
framework classes (not in our code) -- is passing in null to a
MessageListAdapter's unregisterOnDataSetObserver(), which causes a
crash.

We should really find out whether this is something we can properly fix
or not, but in the meantime, wrap the superclass's method with our own
method which checks for null before calling through to the superclass
implementation.
2011-11-26 19:41:06 +01:00
Sebastian Kaspari
5c25c86614 Authentication view: Wrap in ScrollView for smaller screen sizes. Fixes #94. 2011-11-20 14:57:37 +01:00
Jonas Häggqvist
61e1681b03 Proper case insensitive nick completion (untested) 2011-11-18 13:48:41 +01:00
Sebastian Kaspari
8c8e9e8081 Update CONTRIBUTORS. 2011-09-20 08:50:02 +02:00
Daniel E. Moctezuma
c7c0b0c44e Updated japanese translation. 2011-09-20 08:47:47 +02:00
Francesco Lavra
0a8e75feff Add /back command (issue #89)
This patch adds the /back command, which turns off the away status.
This should close issue #89, https://github.com/pocmo/Yaaic/issues/89.
2011-09-05 08:41:55 +02:00
Sebastian Kaspari
d155e86cd1 Russian translation (By NeKit) 2011-08-18 01:44:38 +02:00
Steven Luo
e07d99ed5d Remove views from DeckAdapter when corresponding conversation has gone missing
If a conversation disappears while the activity is paused (e.g. if the
user is kicked from a channel, or if another client attached to an
irssi-proxy has chosen to leave that channel), we currently aren't
removing the view from the DeckAdapter when we resume.  This results in
leaking a Conversation object until the user explicitly asks for the
conversation to be closed or the activity finishes, and is also
confusing because the user may not receive any indication that the
channel was parted in the first place.

There's a good case for leaving the MessageListView in place, with a
note indicating that the user has been kicked or parted from the
channel, but for that to work, we need to keep the Conversation object
in the server's list of conversations -- otherwise the behavior will
differ depending on whether the user left the activity via the Back
button or the Home button, which is counterintuitive.

For now, just remove the stale view from the DeckAdapter, which fixes
the leak and the potential user confusion.
2011-08-16 11:21:43 +02:00
Steven Luo
f84369bc19 Add new conversations to DeckAdapter in onResume()
Currently, when the user opens a ConversationActivity, goes off to do
something else without closing it, and then comes back to the activity,
conversations started since the ConversationActivity was paused (e.g. by
an incoming private message) will not appear in the ConversationGallery;
this is because we never check for new conversations in the onResume()
path.

Fortunately, this is an easy fix: we're already looping over all the
conversations in onResume() in order to add new messages to the
MessageListViews, so just look out for the new conversations and add
them to the ConversationGallery when we see them.
2011-08-16 11:21:40 +02:00
Steven Luo
c8266fbe62 Add method to remove conversation from DeckAdapter by position
This makes the following patch to remove old conversations much more
efficient.
2011-08-16 11:21:38 +02:00
Steven Luo
fafbe1ca4a Display "Not connected" in notification instead of no text when not connected 2011-08-16 11:21:33 +02:00
Sebastian Kaspari
4396e66954 Bugfix: On updating an existing server configuration the real name was overwritten by the nick name 2011-07-17 16:07:24 +02:00
Sebastian Kaspari
0b0579c475 Update CHANGELOG headline 2011-07-17 15:42:16 +02:00
Sebastian Kaspari
a357c42477 IRCService: suppress rawtype warning 2011-07-17 14:40:19 +02:00
Sebastian Kaspari
39175635d9 Update CHANGELOG 2011-07-17 14:39:09 +02:00
Sebastian Kaspari
e82345c1fe Typo in README 2011-07-17 14:35:56 +02:00
Sebastian Kaspari
668f7f26ae Bumped version number. Yaaic 0.9 2011-07-17 14:32:34 +02:00
Sebastian Kaspari
99b4b0929a Raise default history size to 50 messages 2011-07-17 14:32:34 +02:00
Steven Luo
02316ffdbc Remove bottom padding in MessageListView onCreate()
If we're going to do this when changing to/from switched mode, we should
do it when creating a new MessageListView too.
2011-07-03 14:08:28 +02:00
Steven Luo
ec17d34e4d Miscellaneous ConversationLayout cleanups
* Simplify control flow in onMeasure() by moving height adjusting to
  a separate method
* Various whitespace changes and comment updates
2011-07-03 14:06:41 +02:00
Steven Luo
e0f90768b2 Remove bogus setImeOptions() in ConversationActivity
I thought this was removed when we moved the setImeOptions() further
down in onCreate(), but it's still here somehow.  This causes the Send
key on the keyboard to disappear when fullscreen IMEs are disabled.
2011-07-03 14:06:19 +02:00
Steven Luo
d80f4133f1 Ack new mentions on part or kick from a channel
If we don't do this, the user is left with a new message notification
she can't clear, and we leak the Channel object.
2011-07-03 14:03:41 +02:00
remram44
5d5ce6445a French translation updated 2011-07-03 13:18:03 +02:00
Darren Salt
2759b00084 Add an informational message for when the MOTD is ignored. 2011-07-02 19:51:32 +02:00
Sebastian Kaspari
9dba05eb2d Update CONTRIBUTORS 2011-07-02 19:51:19 +02:00
Darren Salt
23ca120f0e Only ignore the MOTD once. 2011-07-02 19:49:19 +02:00
Sebastian Kaspari
a6da4970aa ConversationSwitcher: Update comment 2011-07-02 19:49:19 +02:00
Sebastian Kaspari
d7070c84cf Shrinked version of Base64 class. Fixes #71. 2011-07-02 19:49:18 +02:00
Sebastian Kaspari
61252c7535 Remove unused imports 2011-07-02 19:49:18 +02:00
Rey Rey
2e2aebf2c4 Micro optimized full screen code. Made starvation mode leaner.
Conflicts:

	application/src/org/yaaic/activity/ConversationActivity.java
2011-07-02 19:49:16 +02:00
Rey Rey
5c48724425 Future proofed ime no extract support, enhanced performance of fullscreen patch.
Conflicts:

	application/src/org/yaaic/activity/ConversationActivity.java
2011-07-02 19:49:10 +02:00