1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-22 17:02:21 -05:00
Commit Graph

74 Commits

Author SHA1 Message Date
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
Steven Luo
ccaf9f59c4 Resize the fullscreen conversation window when IME appears instead of scrolling
When an activity sets FLAG_FULLSCREEN on its window, Android assumes
that the window size will always be the same as the screen size.  This
causes the window to scroll instead of resizing when the soft keyboard
comes up, which (according to a quick Google search) isn't the behavior
most developers are expecting.

This patch implements an ugly workaround: extend the root element of the
layout (in our case, a LinearLayout) to hook into the onMeasure()
callback, which is called when the window size changes, so that we can
resize ourselves when the window size changes.
2011-07-02 17:53:41 +02:00
Rey Rey
6da6a7b76b Added large ime option, Extended Español support, rephrased fullscreen methodology 2011-07-02 17:53:34 +02:00
Rey Rey
93e77ea6ed Fullscreen chat implementation. pans window instead of resizing, not easly fixable 2011-07-02 17:50:02 +02:00
Sebastian Kaspari
a5d81a1350 about.xml: Fix indentation 2011-07-02 17:48:14 +02:00
Rey Rey
750df0de36 Extended IRC URI support and added Yaaic IRC link to about. 2011-07-02 17:47:36 +02:00
Steven Luo
bce2523f98 Fix auto-reconnect
The current auto-reconnection implementation will only try reconnecting
once, immediately after the server is disconnected.  This will of course
almost always fail if the network is down or otherwise unavailable, so
as it stands, enabling auto-reconnect isn't particularly useful.

This patch implements multiple retries for auto-reconnect, with the
frequency of retries controlled by a preference.  The Android alarm
infrastructure is used to schedule reconnection attempts; if the phone
misses a scheduled attempt while it's asleep, the reconnection will be
attempted the next time the phone wakes up.
2011-06-29 20:34:55 +02:00
remram44
8fea644007 French translation updated 2011-06-11 13:58:33 +02:00
remram44
938577128d Internationalization of Authentication GUI 2011-06-11 13:56:42 +02:00
Sebastian Kaspari
6e48a29b34 Display message at the beginning and end of the server login 2011-06-10 22:29:17 +02:00
Sebastian Kaspari
2fde7559e3 (Authentication) GUI for NickServ and SASL 2011-06-10 21:35:23 +02:00
Sebastian Kaspari
7c7ce7cc41 channeladd.xml view: Replace tabs with white spaces 2011-06-09 00:02:34 +02:00
Steven Luo
35609e5529 IME behavior changes for the ConversationActivity
(1) Let full-screen IMEs wrap the text into multiple lines instead of
making the text scroll off the screen.

(2) Provide a preference to let the user choose whether or not to enable
autocorrection of typed text.

(3) Provide a preference to let the user choose whether or not to enable
autocapitalization of sentences.  Note that even when this is enabled,
autocapitalization will only happen if the option is also enabled in the
IME.

(4) In landscape mode only, don't replace the Enter key with a Send
button, to make it harder to accidentally send a message.  (We can't do
this in portrait, because we would be left without any send button at
all -- perhaps the input line should be changed to be similar to the
text message application, which has a send button next to the input
line?)
2011-06-08 23:11:28 +02:00
Steven Luo
91d211c51d Make the conversation history size a configurable preference 2011-06-08 23:11:28 +02:00
Steven Luo
61960c9add Overhaul notifications system
Features:
* Now displays the number of mentions that the user has not seen in the
  notification.
* When no mentions are outstanding, display which servers the user is
  connected to, not the last message.
* When more than one mention is outstanding, display the names of the
  conversations with new mentions, not just the last message received.
* Notifications of mentions are suppressed if you're in the conversation
  at the time of the mention.
* Notifications of mentions automatically clear when you bring up the
  conversation.
* Vibrate notifications now generate the user's chosen default vibrate
  pattern, not a hard-coded one.
* Add ticker text to the notification that's displayed when the IRCService
  goes into the foreground, instead of displaying a blank ticker.

To allow for all of this, the implementation moves most of the details
of generating the notification text into the IRCService, which now
exposes addNewMention() and notifyConnected()/notifyDisconnected()
methods instead of the lower-level updateNotification().
2011-06-08 23:11:28 +02:00
Steven Luo
09fedc6975 Include channel topic in the displayed conversation title 2011-06-08 23:11:28 +02:00
Sebastian Kaspari
b4493b81a4 Add danish translation (By rasher) 2011-05-06 17:18:20 +02:00
remram44
322c4e0ac8 French translation updated 2011-04-17 05:36:37 +08:00
Sebastian Kaspari
c20cd695e6 Updated version number: Yaaic 0.8 2011-04-15 22:00:55 +02:00
Sebastian Kaspari
50a6047edd On own nick change: Display message in server info window (Your are now known as ...). Fixes #51. 2011-04-15 20:30:46 +02:00
José Antonio Pérez Sánchez
2b3ce5132a fixed missing angle in closing tag 2011-03-30 16:07:37 +02:00
Sebastian Kaspari
dbf7983eec Updated turkish translation 2011-03-27 22:23:39 +02:00
Sebastian Kaspari
b798d4dacb Setting mIRC colors off by default 2011-03-27 20:02:42 +02:00
liato
ac1a07894f Add support for graphical smilies in chat. 2011-03-27 19:51:47 +02:00
liato
7490cdb38c Change settings text for mirc colors. 2011-03-27 19:43:34 +02:00
liato
624f8c5014 Add support for mIRC colors. 2011-03-27 19:40:26 +02:00
liato
e612d3b09c Render html in messages to spannables. 2011-03-27 19:37:35 +02:00
Sebastian Kaspari
bd19398d65 Added turkish translation (Thanks to Hasan Kiran) 2011-03-27 18:21:22 +02:00
Sebastian Kaspari
ba9f6c6544 Increment version number (0.7) 2011-03-27 17:28:22 +02:00
liato
b49ead73ad Fix width issues in gallery. 2011-03-27 17:10:54 +02:00
Sebastian Kaspari
78a47ca17b dp/sp: More adjustments 2011-03-15 22:11:55 +01:00
Sebastian Kaspari
214a786175 useritem.xml: Use dp for padding and sp for fonts 2011-03-15 21:31:53 +01:00
Sebastian Kaspari
f44aea0d5e channelitem.xml: Use dp for padding and sp for fonts 2011-03-15 21:31:53 +01:00
Sebastian Kaspari
23ed9c3343 aliasitem.xml: Use dp for padding and sp for fonts 2011-03-15 21:31:53 +01:00
Sebastian Kaspari
4713c22655 useritem.xml: Replace px by sp/dp 2011-03-15 21:31:53 +01:00
Sebastian Kaspari
7e559f288e user.xml: Replace px by sp/dp 2011-03-15 21:31:53 +01:00
Sebastian Kaspari
f71e89e1ee serveritem.xml: Replace px by sp/dp 2011-03-15 21:31:53 +01:00
Sebastian Kaspari
3e188a0445 serveradd.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
Sebastian Kaspari
7d4194a1ea rounded.xml: Identation 2011-03-15 21:31:52 +01:00
Sebastian Kaspari
f46887d9ee message.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
Sebastian Kaspari
f5b29ef01a join.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
Sebastian Kaspari
22fb895ad3 conversations.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
Sebastian Kaspari
c06b6b7296 commanditem.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
Sebastian Kaspari
533a8ec97b commandadd.xml: Replace px by sp/dp 2011-03-15 21:31:52 +01:00
Sebastian Kaspari
acb7f0d100 channelitem.xml: Replace px by sp/dp 2011-03-15 21:31:51 +01:00
Sebastian Kaspari
59755b376c channeldialog.xml: Replace px by sp/dp 2011-03-15 21:31:51 +01:00
Sebastian Kaspari
3156e3b704 channeladd.xml: Replace px by sp/dp 2011-03-15 21:31:51 +01:00
Sebastian Kaspari
836e9ee6cd aliasitem.xml: Replace px by sp/dp 2011-03-15 21:31:51 +01:00
Sebastian Kaspari
7ba3303892 aliasadd.xml: Replace px by sp/dp 2011-03-15 21:31:51 +01:00
Sebastian Kaspari
e486d34189 Modify dp settings in about.xml 2011-03-15 21:31:51 +01:00