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

152 Commits

Author SHA1 Message Date
Daniel E. Moctezuma
3f8578ef73 Replaced lowercase letters by uppercase ones on application name 2012-10-04 19:15:18 +02:00
jgeboski
1a43262cb5 Allow for forward slashes in idents 2012-07-31 08:08:36 +02:00
Sebastian Kaspari
56304633f4 SettingsActivity: Add up navigation. 2012-07-28 16:22:49 +02:00
Sebastian Kaspari
da78ea15d0 AddServerActivity: Add up navigation. 2012-07-28 16:05:55 +02:00
Sebastian Kaspari
7c27b09298 ConversationIndicator: On updating colors invalidate title indicator. 2012-07-28 12:46:29 +02:00
Sebastian Kaspari
9c551d73bf New stateful ViewPagerIndicator.
Indicator showing the state of the current pages and off-screen pages by coloring.
2012-07-28 11:36:54 +02:00
Sebastian Kaspari
743eae9b85 Remove fullscreen option from settings.
There's no need anymore on new devices and the app should not cover the
notification bar.
2012-07-28 11:32:14 +02:00
Sebastian Kaspari
9884ef1bff DisplayUtils: Helper class for methods regarding the display of the current device. 2012-07-28 11:29:57 +02:00
Sebastian Kaspari
debc79dd59 AboutActivity: Code clean up. Some small refactorings. 2012-07-28 10:32:54 +02:00
Sebastian Kaspari
b32b24c4ba Add WTF smiley to mapping (o_O). Refs #114. 2012-07-14 23:02:43 +02:00
Sebastian Kaspari
8fc10e0419 ConversationActivity: Use same font size for EditText as for conversation. 2012-06-20 07:38:39 +02:00
Sebastian Kaspari
c511e9bcc5 ConversationActivity: Do not disable menu items. Not needed with anymore with ActionBar. 2012-06-20 06:59:03 +02:00
Sebastian Kaspari
84c3025c26 ConversationActivity: Remove code to keep compatibility with api level 3. MinSdkVersion is 4. 2012-05-21 21:57:44 +02:00
Sebastian Kaspari
9a05d3b606 ConversationActivity: Do not determine density twice. 2012-05-21 21:53:30 +02:00
Sebastian Kaspari
8f329f475c Indicator: Do not set typeface twice. 2012-05-21 21:52:29 +02:00
Sebastian Kaspari
f713466468 Update ViewPagerIndicator to 2.3.1. 2012-05-21 21:40:32 +02:00
Sebastian Kaspari
35b896c3d6 Workaround for a race condition in EditText implementation. Fixes #67. 2012-04-12 21:42:03 +02:00
Sebastian Kaspari
309c730b33 ServersActivity: Remove "Exit" from menu and replace by "Disconnect all". 2012-04-12 12:27:34 +02:00
Sebastian Kaspari
8ecb697f28 Use a Holo-like style for EditText fields. 2012-04-12 11:48:15 +02: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
46a45523a8 IRCService: Use reflection to call setForeground() on old versions. 2012-01-21 12:59:02 +01:00
Sebastian Kaspari
b09ba251ea ConversationActivity: Make text input smaller and more "flat". 2012-01-21 11:50:58 +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
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
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
Jonas Häggqvist
61e1681b03 Proper case insensitive nick completion (untested) 2011-11-18 13:48:41 +01: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
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
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
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
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
Rey Rey
f7ccd50227 Whitespace clean up and light refactoring
Conflicts:

	application/src/org/yaaic/activity/ConversationActivity.java
2011-07-02 19:49:06 +02:00
Rey Rey
84ade9fae4 Finalized fullscreen implementation, added heuristics to resizing, fixed ime extract bug introduced 2 commits ago.
Conflicts:

	application/src/org/yaaic/activity/ConversationActivity.java
2011-07-02 19:48:58 +02:00
Rey Rey
27d93ebaa7 Added large ime option, Extended Español support, rephrased fullscreen methodology 2011-07-02 17:55:54 +02:00