xudocci.git
11 years agoSet timeout of 3 minutes for the socket.
David ‘Bombe’ Roden [Mon, 5 Aug 2013 17:16:24 +0000 (19:16 +0200)]
Set timeout of 3 minutes for the socket.

11 years agoPrevent NPE on closing.
David ‘Bombe’ Roden [Mon, 5 Aug 2013 17:16:14 +0000 (19:16 +0200)]
Prevent NPE on closing.

11 years agoSort search results by pack and bot name.
David ‘Bombe’ Roden [Mon, 5 Aug 2013 11:26:23 +0000 (13:26 +0200)]
Sort search results by pack and bot name.

11 years agoConfigure maven’s compiler plugin to use Java 1.6.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:14:08 +0000 (21:14 +0200)]
Configure maven’s compiler plugin to use Java 1.6.

11 years agoSet source encoding to UTF-8.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:13:39 +0000 (21:13 +0200)]
Set source encoding to UTF-8.

11 years agoDebug-log every single message.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:13:18 +0000 (21:13 +0200)]
Debug-log every single message.

11 years agoHandle connection creation failure.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:12:58 +0000 (21:12 +0200)]
Handle connection creation failure.

11 years agoAdd possibility to disconnect all connections at once.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:12:36 +0000 (21:12 +0200)]
Add possibility to disconnect all connections at once.

11 years agoMake copies of lists before iterating.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:12:16 +0000 (21:12 +0200)]
Make copies of lists before iterating.

11 years agoAdd bandwidth counting output stream.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:11:59 +0000 (21:11 +0200)]
Add bandwidth counting output stream.

11 years agoSend download failed event if we received less bytes than expected.
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.

11 years agoSend event for every received reply.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:10:36 +0000 (21:10 +0200)]
Send event for every received reply.

11 years agoPrevent missing length from throwing an NPE.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:07:05 +0000 (21:07 +0200)]
Prevent missing length from throwing an NPE.

11 years agoSend connection closed event when a runtime exception occurs.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:06:49 +0000 (21:06 +0200)]
Send connection closed event when a runtime exception occurs.

11 years agoFix javadoc.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:05:43 +0000 (21:05 +0200)]
Fix javadoc.

11 years agoExpose input and output rate of connection.
David ‘Bombe’ Roden [Thu, 2 May 2013 19:05:37 +0000 (21:05 +0200)]
Expose input and output rate of connection.

11 years agoExpost hostname and port number.
David ‘Bombe’ Roden [Thu, 2 May 2013 18:38:41 +0000 (20:38 +0200)]
Expost hostname and port number.

11 years agoPrevent NPEs when the download hasn’t started yet.
David ‘Bombe’ Roden [Fri, 26 Apr 2013 05:14:35 +0000 (07:14 +0200)]
Prevent NPEs when the download hasn’t started yet.

11 years agoAdd commands to show the current connections and close them.
David ‘Bombe’ Roden [Fri, 26 Apr 2013 05:14:08 +0000 (07:14 +0200)]
Add commands to show the current connections and close them.

11 years agoAdd methods to close the connection.
David ‘Bombe’ Roden [Fri, 26 Apr 2013 05:13:07 +0000 (07:13 +0200)]
Add methods to close the connection.

11 years agoFix imports.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:14:31 +0000 (06:14 +0200)]
Fix imports.

11 years agoFix message.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:14:28 +0000 (06:14 +0200)]
Fix message.

11 years agoFix constructor.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:14:18 +0000 (06:14 +0200)]
Fix constructor.

11 years agoIgnore fetches for a file we are already downloading.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:14:08 +0000 (06:14 +0200)]
Ignore fetches for a file we are already downloading.

11 years agoStore downloads differently.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:13:30 +0000 (06:13 +0200)]
Store downloads differently.

11 years agoShow whether a download has already started.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:11:52 +0000 (06:11 +0200)]
Show whether a download has already started.

11 years agoMake class thread-safe.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:11:12 +0000 (06:11 +0200)]
Make class thread-safe.

11 years agoAdd predicate that identifies running downloads.
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:10:59 +0000 (06:10 +0200)]
Add predicate that identifies running downloads.

11 years agoOverride hashCode() and equals().
David ‘Bombe’ Roden [Thu, 18 Apr 2013 04:10:43 +0000 (06:10 +0200)]
Override hashCode() and equals().

11 years agoRemove downloads correctly.
David ‘Bombe’ Roden [Tue, 16 Apr 2013 20:53:34 +0000 (22:53 +0200)]
Remove downloads correctly.

11 years agoRepost notices to the console.
David ‘Bombe’ Roden [Tue, 16 Apr 2013 18:02:44 +0000 (20:02 +0200)]
Repost notices to the console.

11 years agoHandle CTCP in notices, too.
David ‘Bombe’ Roden [Tue, 16 Apr 2013 18:02:08 +0000 (20:02 +0200)]
Handle CTCP in notices, too.

11 years agoMove CTCP handling into its own method.
David ‘Bombe’ Roden [Tue, 16 Apr 2013 18:01:04 +0000 (20:01 +0200)]
Move CTCP handling into its own method.

11 years agoMove connection handling to end of loop.
David ‘Bombe’ Roden [Tue, 16 Apr 2013 17:55:37 +0000 (19:55 +0200)]
Move connection handling to end of loop.

11 years agoRemove write() methods to prevent mulitple flush()s per line.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 12:35:55 +0000 (14:35 +0200)]
Remove write() methods to prevent mulitple flush()s per line.

11 years agoShow only the name of the pack, not the real file name.
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.

11 years agoRemove all network-related data if the network is disconnected.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 10:17:36 +0000 (12:17 +0200)]
Remove all network-related data if the network is disconnected.

11 years agoLet the core verify each minute that all configured channels are joined.
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.

11 years agoMove network connecting into its own method.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 10:15:53 +0000 (12:15 +0200)]
Move network connecting into its own method.

11 years agoExpose whether the connection is established.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 10:15:02 +0000 (12:15 +0200)]
Expose whether the connection is established.

11 years agoSend an event if the connection is terminated for whatever reason.
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.

11 years agoRename a bot if its nickname changes.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 09:47:34 +0000 (11:47 +0200)]
Rename a bot if its nickname changes.

11 years agoSend event when a client’s nickname changes.
David ‘Bombe’ Roden [Sun, 14 Apr 2013 09:47:21 +0000 (11:47 +0200)]
Send event when a client’s nickname changes.

11 years agoShow a message when a bot has left a channel.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:34:50 +0000 (12:34 +0200)]
Show a message when a bot has left a channel.

11 years agoShow a message when a bot has quit IRC.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:34:06 +0000 (12:34 +0200)]
Show a message when a bot has quit IRC.

11 years agoResume a download if a partial file already exists in the temp directory.
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.

11 years agoAdd generic error message event.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:31:49 +0000 (12:31 +0200)]
Add generic error message event.

11 years agoAllow the download to start at an arbitrary position.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:30:48 +0000 (12:30 +0200)]
Allow the download to start at an arbitrary position.

11 years agoHandle DCC resume functionality.
David ‘Bombe’ Roden [Sat, 13 Apr 2013 10:30:36 +0000 (12:30 +0200)]
Handle DCC resume functionality.

11 years agoTreat the part message as optional.
David ‘Bombe’ Roden [Fri, 12 Apr 2013 16:07:01 +0000 (18:07 +0200)]
Treat the part message as optional.

11 years agoWrite generic messages to the console.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:51:31 +0000 (22:51 +0200)]
Write generic messages to the console.

11 years agoRemove a bot when it quits.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:49:39 +0000 (22:49 +0200)]
Remove a bot when it quits.

11 years agoRemove bots when they leave the channel; handle our own leaving of channels.
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.

11 years agoSend event when a client parts a channel.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:48:34 +0000 (22:48 +0200)]
Send event when a client parts a channel.

11 years agoKeep the order of the DCC receivers.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:17:49 +0000 (22:17 +0200)]
Keep the order of the DCC receivers.

11 years agoRemove downloads when they have finished, too.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:17:05 +0000 (22:17 +0200)]
Remove downloads when they have finished, too.

11 years agoShow received messages on the console.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:11:36 +0000 (22:11 +0200)]
Show received messages on the console.

11 years agoIgnore case of channel names when locating the channel.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:11:27 +0000 (22:11 +0200)]
Ignore case of channel names when locating the channel.

11 years agoRemove DCCs when finished.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:11:15 +0000 (22:11 +0200)]
Remove DCCs when finished.

11 years agoSend private messages to listeners.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:11:05 +0000 (22:11 +0200)]
Send private messages to listeners.

11 years agoAdd convenience methods for writing and flushing.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 20:09:49 +0000 (22:09 +0200)]
Add convenience methods for writing and flushing.

11 years agoNotify user when a download fails.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 19:53:28 +0000 (21:53 +0200)]
Notify user when a download fails.

11 years agoPrevent NPE when socket could not be created.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 19:53:11 +0000 (21:53 +0200)]
Prevent NPE when socket could not be created.

11 years agoFix moving of download to final directory.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 19:52:58 +0000 (21:52 +0200)]
Fix moving of download to final directory.

11 years agoNotify all listeners when a download failes.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 18:28:19 +0000 (20:28 +0200)]
Notify all listeners when a download failes.

11 years agoAdd TestNG as test dependency.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 08:43:00 +0000 (10:43 +0200)]
Add TestNG as test dependency.

11 years agoFormat overall download rate correctly.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 08:31:43 +0000 (10:31 +0200)]
Format overall download rate correctly.

11 years agoMake the correct class abstract.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:20:10 +0000 (08:20 +0200)]
Make the correct class abstract.

11 years agoAdd methods to configure multiple ports with one method call.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:19:18 +0000 (08:19 +0200)]
Add methods to configure multiple ports with one method call.

11 years agoNotify the user when a download starts or finishes.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:19:07 +0000 (08:19 +0200)]
Notify the user when a download starts or finishes.

11 years agoRegister all command readers with the event bus.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:18:04 +0000 (08:18 +0200)]
Register all command readers with the event bus.

11 years agoAdd container for download data.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 06:17:41 +0000 (08:17 +0200)]
Add container for download data.

11 years agoSend events when downloads start and finish.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:34:58 +0000 (07:34 +0200)]
Send events when downloads start and finish.

11 years agoMove download to final location when it has finished.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:34:35 +0000 (07:34 +0200)]
Move download to final location when it has finished.

11 years agoStore download-related stuff in the download.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:33:19 +0000 (07:33 +0200)]
Store download-related stuff in the download.

11 years agoIgnore unrequested downloads.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:33:04 +0000 (07:33 +0200)]
Ignore unrequested downloads.

11 years agoStore all downloads.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:32:54 +0000 (07:32 +0200)]
Store all downloads.

11 years agoAdd fields for temporary and final download directories.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:32:28 +0000 (07:32 +0200)]
Add fields for temporary and final download directories.

11 years agoSend events from the DCC receiver.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:28:25 +0000 (07:28 +0200)]
Send events from the DCC receiver.

11 years agoAdd events for DCC downloads.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:27:43 +0000 (07:27 +0200)]
Add events for DCC downloads.

11 years agoRename methods.
David ‘Bombe’ Roden [Thu, 11 Apr 2013 05:25:16 +0000 (07:25 +0200)]
Rename methods.

11 years agoFlush the output stream after all bytes have been read.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 21:02:25 +0000 (23:02 +0200)]
Flush the output stream after all bytes have been read.

11 years agoOnly download as much bytes as advertised.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 21:02:17 +0000 (23:02 +0200)]
Only download as much bytes as advertised.

11 years agoMake DCC receiver responsive to stop() requests.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:56:03 +0000 (22:56 +0200)]
Make DCC receiver responsive to stop() requests.

11 years agoShow bandwidth in DCC information.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:35:49 +0000 (22:35 +0200)]
Show bandwidth in DCC information.

11 years agoDeclare I/O exceptions to be thrown.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:33:05 +0000 (22:33 +0200)]
Declare I/O exceptions to be thrown.

11 years agoMeasure and expose the bandwidth of the download.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:32:58 +0000 (22:32 +0200)]
Measure and expose the bandwidth of the download.

11 years agoExpose the current rate over the maximum lifetime.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:31:29 +0000 (22:31 +0200)]
Expose the current rate over the maximum lifetime.

11 years agoAdd input stream that counts its consumed bandwidth.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:15:34 +0000 (22:15 +0200)]
Add input stream that counts its consumed bandwidth.

11 years agoAdd counter for accumulating data.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 20:13:44 +0000 (22:13 +0200)]
Add counter for accumulating data.

11 years agoAdd “stats” command.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:24:50 +0000 (08:24 +0200)]
Add “stats” command.

11 years agoKeep track of extra channels.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:24:27 +0000 (08:24 +0200)]
Keep track of extra channels.

11 years agoKeep track of joined channels.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:23:46 +0000 (08:23 +0200)]
Keep track of joined channels.

11 years agoAdd method to get the configured channel for a channel name.
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.

11 years agoExpose currently joined channels.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:23:09 +0000 (08:23 +0200)]
Expose currently joined channels.

11 years agoMake channels work correctly in maps and sets.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:24:39 +0000 (08:24 +0200)]
Make channels work correctly in maps and sets.

11 years agoExpose all configured channels.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 06:23:19 +0000 (08:23 +0200)]
Expose all configured channels.

11 years agoAdd method to determine whether a connection represents a given source.
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.

11 years agoInitiate the download when being offered a file.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:52:00 +0000 (06:52 +0200)]
Initiate the download when being offered a file.

11 years agoAdd “get” command to command reader.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:50:02 +0000 (06:50 +0200)]
Add “get” command to command reader.