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

230 Commits

Author SHA1 Message Date
Sebastian Kaspari
1c44a4e7bd Implemented command: /query <nickname> 2010-03-10 22:07:35 +01:00
Sebastian Kaspari
94f624360d Open a new query if it doesnt exist on "external" action (/me) 2010-03-10 21:46:12 +01:00
Sebastian Kaspari
2f97adaf30 Handle "external" actions (/me) in queries 2010-03-10 21:40:49 +01:00
Sebastian Kaspari
09cb4af8f3 Yaaic now handles private queries :) 2010-03-10 21:34:20 +01:00
Sebastian Kaspari
9a702f5d1a Check conversation type on handler execution where needed 2010-03-10 21:14:20 +01:00
Sebastian Kaspari
7863ee8aa2 ChannelReceiver now uses conversations instead of channels 2010-03-10 21:12:21 +01:00
Sebastian Kaspari
3104603543 IRCConnection now uses conversations instead of channels 2010-03-10 21:12:07 +01:00
Sebastian Kaspari
cf891d8371 ServersActivity now uses conversations instead of channels 2010-03-10 21:11:10 +01:00
Sebastian Kaspari
9e94638f14 ChannelListener now uses conversations instead of channels 2010-03-10 21:06:42 +01:00
Sebastian Kaspari
9259ae2afd All handlers now use conversations instead of channels 2010-03-10 21:06:18 +01:00
Sebastian Kaspari
47ee4d1d6e CommandParser now uses conversations instead of channels 2010-03-10 20:58:37 +01:00
Sebastian Kaspari
d30360b606 BaseHandler now uses conversations instead of channels 2010-03-10 20:58:11 +01:00
Sebastian Kaspari
046342dcd2 ServerActivity now uses conversations instead of channels 2010-03-10 20:56:14 +01:00
Sebastian Kaspari
d1e6b0ffa8 MessageListAdapter now uses conversations instead of channels 2010-03-10 20:46:07 +01:00
Sebastian Kaspari
5517660011 DeckAdapter now uses conversations instead of channels 2010-03-10 20:45:56 +01:00
Sebastian Kaspari
d9755926ec Server class uses conversations instead of channels 2010-03-10 20:33:43 +01:00
Sebastian Kaspari
396f1ad4d9 First basic implementation of a query model class 2010-03-10 09:37:48 +01:00
Sebastian Kaspari
38564ad644 Conversation: Added abstract method getType() and added constants TYPE_* 2010-03-10 09:37:31 +01:00
Sebastian Kaspari
1c128cc682 Channel now inherits from Conversation 2010-03-10 09:32:20 +01:00
Sebastian Kaspari
64c7ad2f45 Moved command handlers to org.yaaic.command.handler and renamend them. 2010-03-10 09:01:49 +01:00
Sebastian Kaspari
0342c6ea7f some cleanup 2010-03-10 08:57:37 +01:00
Sebastian Kaspari
c52cc6a1f8 Implemented command: /kick <nickname> 2010-03-10 08:57:16 +01:00
Sebastian Kaspari
6ecbac45af Added op, voice, deop, devoice commands to command parser 2010-03-09 23:59:40 +01:00
Sebastian Kaspari
2b895d855c Implemented command: /voice <nickname> 2010-03-09 23:59:11 +01:00
Sebastian Kaspari
e67b8a73ab Implemented command: /op <nickname> 2010-03-09 23:59:02 +01:00
Sebastian Kaspari
e64fee57c2 Implemented command: /devoice <nickname> 2010-03-09 23:58:53 +01:00
Sebastian Kaspari
ed1fe91596 Implemented command: /deop <nickname> 2010-03-09 23:58:42 +01:00
Sebastian Kaspari
ed23e0e6dc Implemented command: /quit [<reason>] 2010-03-09 23:46:32 +01:00
Sebastian Kaspari
3b8f6ee494 Remember channel's topic and print on /topic 2010-03-09 23:35:40 +01:00
Sebastian Kaspari
c5dc8115d2 Implemented command: /topic <topic> 2010-03-09 23:26:56 +01:00
Sebastian Kaspari
2b2500ee38 Log to android debug log instead of standard output 2010-03-09 23:20:16 +01:00
Sebastian Kaspari
6548cbe894 Implemented command: /echo <text> 2010-03-09 23:14:02 +01:00
Sebastian Kaspari
2c60fec377 Channel: Removed dead code 2010-03-09 23:07:28 +01:00
Sebastian Kaspari
218b2a8ed5 Implemented onQuit() event for other users 2010-03-09 22:42:12 +01:00
Sebastian Kaspari
608ea2e614 Pircbot Patch: Call onQuit() before removing the user. Otherwise we do not know which channels the user was on 2010-03-09 22:41:01 +01:00
Sebastian Kaspari
7ee8984f9a Implemented command: /names 2010-03-09 22:25:54 +01:00
Sebastian Kaspari
2dd9d4a3e8 Implemented /me <action> 2010-03-09 22:14:39 +01:00
Sebastian Kaspari
ea4e90fb60 BaseCommand: New helpers: mergeParams(String[]), mergeParams(String[], int) 2010-03-09 22:14:07 +01:00
Sebastian Kaspari
3abf251c36 New command syntax: /command <param> [<optional>] 2010-03-09 22:00:04 +01:00
Sebastian Kaspari
dee13c82bf Implemented onNickChange IRC event 2010-03-09 21:58:05 +01:00
Sebastian Kaspari
995ba53319 Implemented /join channel [key] 2010-03-09 20:24:33 +01:00
Sebastian Kaspari
ff1ccb7aea Fixed bug in Channel.pollBufferedMessages() - Messages were polled in the wrong order 2010-03-09 20:22:19 +01:00
Sebastian Kaspari
8cec5b100d CommandParser: imports 2010-03-09 20:13:53 +01:00
Sebastian Kaspari
9b572792ea Commands can throw CommandExceptions 2010-03-09 20:13:29 +01:00
Sebastian Kaspari
4c3fb69a02 Implemented the first command: /nick 2010-03-09 19:58:51 +01:00
Sebastian Kaspari
3dc268219d BaseCommand: source documentation 2010-03-09 19:55:16 +01:00
Sebastian Kaspari
d5e72638d1 Check for commands and parse them 2010-03-09 19:46:02 +01:00
Sebastian Kaspari
8dda8861e1 Show name of selected channel at the top 2010-03-09 02:11:34 +01:00
Sebastian Kaspari
691f3b3982 Get channel view from channel list and not from a (broken) cache 2010-03-09 01:57:22 +01:00
Sebastian Kaspari
6b8b1d25b9 Fixed identation for messages with icons 2010-03-09 00:33:35 +01:00
Sebastian Kaspari
7a46c98e6c Show entered message and post to channel 2010-03-09 00:30:17 +01:00
Sebastian Kaspari
d43b76c51d Some refactoring 2010-03-09 00:00:53 +01:00
Sebastian Kaspari
fa53df0f41 Removed even more dead code 2010-03-08 23:57:38 +01:00
Sebastian Kaspari
3a7ad82cce Removed dead code 2010-03-08 23:56:40 +01:00
Sebastian Kaspari
e2848d505a calculate channel preview size on base of parent's size 2010-03-08 23:56:14 +01:00
Sebastian Kaspari
f3b6587310 scroll to bottom if message view is created 2010-03-08 22:32:49 +01:00
Sebastian Kaspari
59b590a2ee Clear message buffer if view has been build from history 2010-03-08 21:59:38 +01:00
Sebastian Kaspari
ecfa10f483 Hide divider and remove line break on channel messages 2010-03-08 21:54:20 +01:00
Sebastian Kaspari
63dfbc0034 Push channel events to switched view if needed 2010-03-08 21:44:42 +01:00
Sebastian Kaspari
7ce77cf119 Some documentation 2010-03-08 21:38:29 +01:00
Sebastian Kaspari
add973918d Using a ListView with TextViews instead of a lot of SpannableStrings in one TextView for Messages; Fixed a not closed database cursor problem 2010-03-08 21:36:36 +01:00
Sebastian Kaspari
a84a8ef51c imports 2010-03-08 19:55:32 +01:00
Sebastian Kaspari
72fdf44e5e ChannelContainer class is not used 2010-03-08 19:53:53 +01:00
Sebastian Kaspari
60b0df6c26 Added autoscrolling to channel switcher 2010-03-07 01:01:35 +01:00
Sebastian Kaspari
808f56d978 Strip mIRC colors and formatting from messages 2010-03-06 21:05:23 +01:00
Sebastian Kaspari
9fb8460b6d Added yellow to message colors 2010-03-06 20:59:22 +01:00
Sebastian Kaspari
082bc6f5bd Added colors to some IRC events 2010-03-06 20:58:53 +01:00
Sebastian Kaspari
b5c248e5c7 Added posibility to set colors for messages 2010-03-06 20:52:54 +01:00
Sebastian Kaspari
0d0173f2e6 Added a space between text and icon 2010-03-06 20:37:58 +01:00
Sebastian Kaspari
a75539c344 Only prefix message with a space if there's an icon to show 2010-03-06 20:33:09 +01:00
Sebastian Kaspari
bd932234f5 Only prefix message with a space if there's an icon to show 2010-03-06 20:32:49 +01:00
Sebastian Kaspari
b57a9c369c Channel View: Use Monospace Font (11) and a padding of 5 2010-03-06 20:24:15 +01:00
Sebastian Kaspari
b1e7a35acf Message: render(): Dynamic icon size 2010-03-06 19:31:24 +01:00
Sebastian Kaspari
c5eef56151 Some adjustments in render() 2010-03-06 19:20:17 +01:00
Sebastian Kaspari
0a222994b3 imports 2010-03-06 19:19:34 +01:00
Sebastian Kaspari
7c3394d7e2 Disabled onMode() as it will double events (e.g. onOp() and onMode() will be called) 2010-03-06 19:19:19 +01:00
Sebastian Kaspari
84d43391c9 Added icons to some irc events 2010-03-06 19:15:27 +01:00
Sebastian Kaspari
83099580b8 Add context to message's render() method for importing drawables 2010-03-06 18:59:46 +01:00
Sebastian Kaspari
25020e3329 Add context to message's render() method for importing drawables 2010-03-06 18:59:05 +01:00
Sebastian Kaspari
4e97dd2295 Added icon support to messages 2010-03-06 18:58:27 +01:00
Sebastian Kaspari
e90c438158 Some text adjustments 2010-03-06 18:22:44 +01:00
Sebastian Kaspari
1bb2de3dcb PircBot fixes 2010-03-06 17:52:58 +01:00
Sebastian Kaspari
ddf80644bd Use message objects instead of strings 2010-03-06 17:52:22 +01:00
Sebastian Kaspari
fca84d3075 First implementation of org.yaaic.model.Message 2010-03-06 17:16:35 +01:00
Sebastian Kaspari
91bb9ca15a debug tag 2010-03-05 20:05:52 +01:00
Sebastian Kaspari
c8772cea66 ServerActivity: Only handle broadcasts for the assigned server 2010-03-05 19:54:04 +01:00
Sebastian Kaspari
38fe74fcc9 Send server id on CHANNEL broadcasts 2010-03-05 19:47:55 +01:00
Sebastian Kaspari
9367d44220 Remove channels on disconnect 2010-03-05 19:43:02 +01:00
Sebastian Kaspari
ef8ddfa227 Single channel view on channel selection 2010-03-05 19:34:05 +01:00
Sebastian Kaspari
c1f392bf08 Show messages in channel canvas 2010-03-05 16:25:15 +01:00
Sebastian Kaspari
ebf72421cb Use a gallery for switching channels 2010-03-05 15:56:57 +01:00
Sebastian Kaspari
5fe3e01f30 Add channel name to CHANNEL_NEW and CHANNEL_REMOVE broadcasts 2010-03-05 14:25:33 +01:00
Sebastian Kaspari
39293ad3fc ChannelContainer to group a channel object with a channel view 2010-03-05 14:21:39 +01:00
Sebastian Kaspari
3b991b3733 Show channel name in debug toast 2010-03-02 20:34:05 +01:00
Sebastian Kaspari
c2755bd40c (IRCConnection) Implemented: onDeop() onDevoice() onInvite() onVoice() 2010-03-02 20:31:54 +01:00
Sebastian Kaspari
a361f957db Send channel name as extra on CHANNEL_MESSAGE broadcast 2010-03-02 20:28:32 +01:00
Sebastian Kaspari
4414f5ab7c ChannelListener and ChannelReceiver 2010-03-02 20:18:44 +01:00
Sebastian Kaspari
13efdb5938 imports 2010-03-02 20:04:07 +01:00
Sebastian Kaspari
db3554de49 Implemented IRCConnection.onTopic() 2010-03-02 19:59:37 +01:00
Sebastian Kaspari
9d1410b8e2 Implemented IRCConnection.onPart() 2010-03-02 19:54:34 +01:00
Sebastian Kaspari
8432a6ad4d Implemented IRCConnection.onOp() 2010-03-02 19:52:49 +01:00
Sebastian Kaspari
de26ddb967 Implemented IRCConnection.onMode() 2010-03-02 19:48:59 +01:00
Sebastian Kaspari
a7999d549a Implemented IRCConnection.onMessage() 2010-03-02 19:48:12 +01:00
Sebastian Kaspari
db5ac3a467 Implemented IRCConnection.onKick() 2010-03-02 19:47:43 +01:00
Sebastian Kaspari
9d90a2d40e Implemented IRCConnection.onJoin() 2010-03-02 19:43:27 +01:00
Sebastian Kaspari
7445f51422 Implemented IRCConnection.onAction() 2010-03-02 19:40:05 +01:00
Sebastian Kaspari
3c8e02c9dd First simple channel model 2010-03-02 19:27:35 +01:00
Sebastian Kaspari
98eb8a36cf Broadcast events for channel and user actions 2010-03-02 18:43:10 +01:00
Sebastian Kaspari
25875a5101 Added methods for irc events 2010-03-02 18:42:44 +01:00
Sebastian Kaspari
1eee92fc30 Refactored nearly everything 2009-12-17 21:27:57 +01:00
Sebastian Kaspari
fa3ddfd718 Hide features that will be implemented later 2009-11-20 19:27:02 +01:00
Sebastian Kaspari
25637485f9 Some more refactoring 2009-11-20 18:51:11 +01:00
Sebastian Kaspari
e58d2cc84b just some reorganization 2009-11-20 18:45:30 +01:00
Sebastian Kaspari
4733db66f1 Remove auto-genereated file 2009-11-20 18:41:39 +01:00
Sebastian Kaspari
4d7fcbf01d Reorganized file structure 2009-11-20 17:08:57 +01:00
Sebastian Kaspari
c02818fcec just a comment.. 2009-05-30 15:41:26 +02:00
Sebastian Kaspari
2f107e8ea4 Added version 2009-05-30 15:02:30 +02:00
Sebastian Kaspari
44f57c0cab indentation 2009-05-30 14:47:53 +02:00
Sebastian Kaspari
767b6ba485 @author 2009-05-30 14:43:14 +02:00
Sebastian Kaspari
ec5423c61f Show server status (online/offline icon) 2009-05-30 14:41:22 +02:00
Sebastian Kaspari
549c07e49f removed unused imports 2009-05-30 13:58:51 +02:00
Sebastian Kaspari
c1e69b0a64 added inline documentation 2009-05-30 13:48:29 +02:00
Sebastian Kaspari
2cc0b983bc added inline documentation 2009-05-30 13:41:08 +02:00
Sebastian Kaspari
d90d31730c Moved LayoutAnimation creation to initAnimation() 2009-05-30 13:37:14 +02:00
Sebastian Kaspari
c179520a17 typo 2009-05-28 23:03:14 +02:00
Sebastian Kaspari
0f54290747 JavaDoc 2009-05-28 23:00:56 +02:00
Sebastian Kaspari
d1f8e414f1 Cleanup 2009-05-28 22:49:23 +02:00
Sebastian Kaspari
66e5f0f51a Added GPL-Header to all files 2009-05-28 22:08:46 +02:00
Sebastian Kaspari
fc948fd596 Added some JavaDoc Comments :) 2009-05-28 21:10:18 +02:00
pocmo
d451e9dd28 initial 2009-05-15 17:32:49 +02:00