David ‘Bombe’ Roden [Thu, 2 May 2013 19:13:39 +0000 (21:13 +0200)]
Set source encoding to UTF-8.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:13:18 +0000 (21:13 +0200)]
Debug-log every single message.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:12:58 +0000 (21:12 +0200)]
Handle connection creation failure.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:12:36 +0000 (21:12 +0200)]
Add possibility to disconnect all connections at once.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:12:16 +0000 (21:12 +0200)]
Make copies of lists before iterating.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:11:59 +0000 (21:11 +0200)]
Add bandwidth counting output stream.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:10:51 +0000 (21:10 +0200)]
Send download failed event if we received less bytes than expected.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:10:36 +0000 (21:10 +0200)]
Send event for every received reply.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:07:05 +0000 (21:07 +0200)]
Prevent missing length from throwing an NPE.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:06:49 +0000 (21:06 +0200)]
Send connection closed event when a runtime exception occurs.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:05:43 +0000 (21:05 +0200)]
Fix javadoc.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:05:37 +0000 (21:05 +0200)]
Expose input and output rate of connection.
David ‘Bombe’ Roden [Thu, 2 May 2013 18:38:41 +0000 (20:38 +0200)]
Expost hostname and port number.
David ‘Bombe’ Roden [Fri, 26 Apr 2013 05:14:35 +0000 (07:14 +0200)]
Prevent NPEs when the download hasn’t started yet.
David ‘Bombe’ Roden [Fri, 26 Apr 2013 05:14:08 +0000 (07:14 +0200)]
Add commands to show the current connections and close them.
David ‘Bombe’ Roden [Fri, 26 Apr 2013 05:13:07 +0000 (07:13 +0200)]
Add methods to close the connection.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:14:31 +0000 (06:14 +0200)]
Fix imports.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:14:28 +0000 (06:14 +0200)]
Fix message.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:14:18 +0000 (06:14 +0200)]
Fix constructor.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:14:08 +0000 (06:14 +0200)]
Ignore fetches for a file we are already downloading.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:13:30 +0000 (06:13 +0200)]
Store downloads differently.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:11:52 +0000 (06:11 +0200)]
Show whether a download has already started.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:11:12 +0000 (06:11 +0200)]
Make class thread-safe.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:10:59 +0000 (06:10 +0200)]
Add predicate that identifies running downloads.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:10:43 +0000 (06:10 +0200)]
Override hashCode() and equals().
David ‘Bombe’ Roden [Tue, 16 Apr 2013 20:53:34 +0000 (22:53 +0200)]
Remove downloads correctly.
David ‘Bombe’ Roden [Tue, 16 Apr 2013 18:02:44 +0000 (20:02 +0200)]
Repost notices to the console.
David ‘Bombe’ Roden [Tue, 16 Apr 2013 18:02:08 +0000 (20:02 +0200)]
Handle CTCP in notices, too.
David ‘Bombe’ Roden [Tue, 16 Apr 2013 18:01:04 +0000 (20:01 +0200)]
Move CTCP handling into its own method.
David ‘Bombe’ Roden [Tue, 16 Apr 2013 17:55:37 +0000 (19:55 +0200)]
Move connection handling to end of loop.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 12:35:55 +0000 (14:35 +0200)]
Remove write() methods to prevent mulitple flush()s per line.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 12:35:32 +0000 (14:35 +0200)]
Show only the name of the pack, not the real file name.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 10:17:36 +0000 (12:17 +0200)]
Remove all network-related data if the network is disconnected.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 10:17:14 +0000 (12:17 +0200)]
Let the core verify each minute that all configured channels are joined.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 10:15:53 +0000 (12:15 +0200)]
Move network connecting into its own method.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 10:15:02 +0000 (12:15 +0200)]
Expose whether the connection is established.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 10:14:04 +0000 (12:14 +0200)]
Send an event if the connection is terminated for whatever reason.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 09:47:34 +0000 (11:47 +0200)]
Rename a bot if its nickname changes.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 09:47:21 +0000 (11:47 +0200)]
Send event when a client’s nickname changes.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:34:50 +0000 (12:34 +0200)]
Show a message when a bot has left a channel.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:34:06 +0000 (12:34 +0200)]
Show a message when a bot has quit IRC.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:33:43 +0000 (12:33 +0200)]
Resume a download if a partial file already exists in the temp directory.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:31:49 +0000 (12:31 +0200)]
Add generic error message event.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:30:48 +0000 (12:30 +0200)]
Allow the download to start at an arbitrary position.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:30:36 +0000 (12:30 +0200)]
Handle DCC resume functionality.
David ‘Bombe’ Roden [Fri, 12 Apr 2013 16:07:01 +0000 (18:07 +0200)]
Treat the part message as optional.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:51:31 +0000 (22:51 +0200)]
Write generic messages to the console.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:49:39 +0000 (22:49 +0200)]
Remove a bot when it quits.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:49:21 +0000 (22:49 +0200)]
Remove bots when they leave the channel; handle our own leaving of channels.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:48:34 +0000 (22:48 +0200)]
Send event when a client parts a channel.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:17:49 +0000 (22:17 +0200)]
Keep the order of the DCC receivers.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:17:05 +0000 (22:17 +0200)]
Remove downloads when they have finished, too.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:11:36 +0000 (22:11 +0200)]
Show received messages on the console.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:11:27 +0000 (22:11 +0200)]
Ignore case of channel names when locating the channel.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:11:15 +0000 (22:11 +0200)]
Remove DCCs when finished.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:11:05 +0000 (22:11 +0200)]
Send private messages to listeners.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:09:49 +0000 (22:09 +0200)]
Add convenience methods for writing and flushing.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 19:53:28 +0000 (21:53 +0200)]
Notify user when a download fails.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 19:53:11 +0000 (21:53 +0200)]
Prevent NPE when socket could not be created.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 19:52:58 +0000 (21:52 +0200)]
Fix moving of download to final directory.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 18:28:19 +0000 (20:28 +0200)]
Notify all listeners when a download failes.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 08:43:00 +0000 (10:43 +0200)]
Add TestNG as test dependency.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 08:31:43 +0000 (10:31 +0200)]
Format overall download rate correctly.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:20:10 +0000 (08:20 +0200)]
Make the correct class abstract.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:19:18 +0000 (08:19 +0200)]
Add methods to configure multiple ports with one method call.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:19:07 +0000 (08:19 +0200)]
Notify the user when a download starts or finishes.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:18:04 +0000 (08:18 +0200)]
Register all command readers with the event bus.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:17:41 +0000 (08:17 +0200)]
Add container for download data.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:34:58 +0000 (07:34 +0200)]
Send events when downloads start and finish.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:34:35 +0000 (07:34 +0200)]
Move download to final location when it has finished.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:33:19 +0000 (07:33 +0200)]
Store download-related stuff in the download.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:33:04 +0000 (07:33 +0200)]
Ignore unrequested downloads.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:32:54 +0000 (07:32 +0200)]
Store all downloads.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:32:28 +0000 (07:32 +0200)]
Add fields for temporary and final download directories.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:28:25 +0000 (07:28 +0200)]
Send events from the DCC receiver.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:27:43 +0000 (07:27 +0200)]
Add events for DCC downloads.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:25:16 +0000 (07:25 +0200)]
Rename methods.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 21:02:25 +0000 (23:02 +0200)]
Flush the output stream after all bytes have been read.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 21:02:17 +0000 (23:02 +0200)]
Only download as much bytes as advertised.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:56:03 +0000 (22:56 +0200)]
Make DCC receiver responsive to stop() requests.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:35:49 +0000 (22:35 +0200)]
Show bandwidth in DCC information.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:33:05 +0000 (22:33 +0200)]
Declare I/O exceptions to be thrown.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:32:58 +0000 (22:32 +0200)]
Measure and expose the bandwidth of the download.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:31:29 +0000 (22:31 +0200)]
Expose the current rate over the maximum lifetime.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:15:34 +0000 (22:15 +0200)]
Add input stream that counts its consumed bandwidth.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:13:44 +0000 (22:13 +0200)]
Add counter for accumulating data.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:24:50 +0000 (08:24 +0200)]
Add “stats” command.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:24:27 +0000 (08:24 +0200)]
Keep track of extra channels.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:23:46 +0000 (08:23 +0200)]
Keep track of joined channels.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:24:12 +0000 (08:24 +0200)]
Add method to get the configured channel for a channel name.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:23:09 +0000 (08:23 +0200)]
Expose currently joined channels.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:24:39 +0000 (08:24 +0200)]
Make channels work correctly in maps and sets.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:23:19 +0000 (08:23 +0200)]
Expose all configured channels.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 05:21:10 +0000 (07:21 +0200)]
Add method to determine whether a connection represents a given source.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:52:00 +0000 (06:52 +0200)]
Initiate the download when being offered a file.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:50:02 +0000 (06:50 +0200)]
Add “get” command to command reader.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:49:41 +0000 (06:49 +0200)]
Add command to initiate a download from a bot.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:48:14 +0000 (06:48 +0200)]
Add command to show active DCC receivers.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:47:43 +0000 (06:47 +0200)]
Expose DCC receivers from core.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:46:27 +0000 (06:46 +0200)]
Add DCC receiver.