xudocci.git
13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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.

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

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

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

13 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.

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

13 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.

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

13 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.

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

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

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

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

13 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.

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

13 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.

13 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.

13 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.

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

13 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.

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

13 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.

13 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.

13 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.

13 years agoAdd command to initiate a download from a bot.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:49:41 +0000 (06:49 +0200)]
Add command to initiate a download from a bot.

13 years agoAdd command to show active DCC receivers.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:48:14 +0000 (06:48 +0200)]
Add command to show active DCC receivers.

13 years agoExpose DCC receivers from core.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:47:43 +0000 (06:47 +0200)]
Expose DCC receivers from core.

13 years agoAdd DCC receiver.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:46:27 +0000 (06:46 +0200)]
Add DCC receiver.

13 years agoParse DCC SEND messages and send events for it.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:34:28 +0000 (06:34 +0200)]
Parse DCC SEND messages and send events for it.

13 years agoAdd method to parse an IP address from a DCC command.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:31:02 +0000 (06:31 +0200)]
Add method to parse an IP address from a DCC command.

13 years agoAdd method to send messages.
David ‘Bombe’ Roden [Wed, 10 Apr 2013 04:21:15 +0000 (06:21 +0200)]
Add method to send messages.