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

207 Commits

Author SHA1 Message Date
Sebastian Kaspari
1a4f570d6e Move support library to "libs" folder of application. Will be automatically included and does not need to be in classpath. 2012-04-04 18:36:31 +02:00
remram44
e89b641536 Updated French translation. 2012-01-23 21:50:56 +01:00
Sebastian Kaspari
0ec311c074 Add own theme "Theme.Yaaic" to enforce overflow menu in action bar. 2012-01-23 21:32:20 +01:00
Sebastian Kaspari
6aff86bcb6 Server list menu: Show settings action with text if room. 2012-01-23 21:31:39 +01:00
Sebastian Kaspari
d0ea5a2a2d Use shared support library in all projects. 2012-01-22 00:10:38 +01:00
Sebastian Kaspari
21032950b7 Update copright line (2009-2012). 2012-01-21 23:12:55 +01:00
Sebastian Kaspari
fbdebc2ca5 Add ActionBarSherlock to all activities. Restructure menu items. Fixes #96. 2012-01-21 23:07:44 +01:00
Sebastian Kaspari
3e9735760a Add action bar resources. 2012-01-21 23:01:18 +01:00
Sebastian Kaspari
46a45523a8 IRCService: Use reflection to call setForeground() on old versions. 2012-01-21 12:59:02 +01:00
Sebastian Kaspari
d4f2c1cc3a Set SDK target version to 15 (Android 4.0.3). 2012-01-21 12:58:27 +01:00
Sebastian Kaspari
f9615a2344 Add yaaic icon in different resolutions (ldpi, mdpi, hdpi). 2012-01-21 11:55:14 +01:00
Sebastian Kaspari
b09ba251ea ConversationActivity: Make text input smaller and more "flat". 2012-01-21 11:50:58 +01:00
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
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
d1d23ecb04 Fix incomplete build script. 2011-11-26 23:47:41 +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
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
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
a357c42477 IRCService: suppress rawtype warning 2011-07-17 14:40:19 +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
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