Commit Graph

  • b90a220e15 * Check if individual files are symlinks. rakshasa 2006-09-07 14:35:43 +00:00
  • 66dd9a3304 * Use random, not rand, in rak::generate_random as the latter wasn't being seeded. rakshasa 2006-09-01 16:33:21 +00:00
  • af6eb493a9 * Changed RequestList so that it clears m_canceled when a non-canceled piece is downloaded, and it no longer checks the whole dequeue for invalid transfers. rakshasa 2006-08-31 00:01:12 +00:00
  • ab3a0fead2 * Bumped version number to 0.10.2/0.5.2. rakshasa 2006-08-29 21:41:49 +00:00
  • bb0f13144b * Fixed the man page to include the latest modifications. rakshasa 2006-08-24 23:55:33 +00:00
  • a3f7be3278 * Rebound ^P for commands to ^X. rakshasa 2006-08-22 11:10:11 +00:00
  • 8fe8fbbb31 * Added kqueue support, enable with "--with-kqueue". Currently keyboard input is disabled due to bugs in MacOSX 10.4. rakshasa 2006-08-20 22:01:33 +00:00
  • dbfb9f1165 * Fixed leaking of ViewFilters. rakshasa 2006-08-16 17:50:24 +00:00
  • 708e89ebad * Fixed memory leaks in Control, ElementMenu and TextElementBranch. rakshasa 2006-08-15 23:15:47 +00:00
  • ee7016f547 * Show "Hashing:" for torrents that are queued for hashing. rakshasa 2006-08-15 19:35:43 +00:00
  • 4d988fccb9 * Added TextElementBranch that uses a slot as the conditional. rakshasa 2006-08-13 23:02:13 +00:00
  • 34258bcfb2 * Added various TextElement flags and replaced WindowPeerInfo with a WindowText. rakshasa 2006-08-12 18:35:19 +00:00
  • da0d5dbf22 * Added formatting to TextElementValue. rakshasa 2006-08-11 15:32:49 +00:00
  • 3c634730c4 * Added TextElementValue*. rakshasa 2006-08-10 21:24:10 +00:00
  • ca58b43d8b * Starting work on ElementText for displaying generic information. rakshasa 2006-08-09 19:55:34 +00:00
  • ba28df3ff2 * Fixed download menu. rakshasa 2006-08-07 16:31:55 +00:00
  • 0b45062eb3 * Use varargs in Canvas::print. rakshasa 2006-08-06 18:20:56 +00:00
  • 62beb9d9ed * Moved handling of events from DownloadList into ElementDownloadList and WindowLog. rakshasa 2006-07-31 00:26:58 +00:00
  • fa5ff92e24 * Moved all remaining classes to use the new display::Frame. rakshasa 2006-07-29 00:22:26 +00:00
  • 4c9fc671be * Allow Frame's to be located in both rows and columns. Improved min height/width for windows. rakshasa 2006-07-28 00:17:54 +00:00
  • fc76a11d71 * UI refactoring, added display::Frame and started cleaning up the code. rakshasa 2006-07-26 21:41:09 +00:00
  • ef90f0f51e * Added resume functions for saving/loading tracker state. rakshasa 2006-07-22 20:41:47 +00:00
  • 652fd25c07 * Detect the amount of address space available for mapping chunks and use that to decide when syncing is needed. rakshasa 2006-07-21 20:19:55 +00:00
  • 345c57e9bc * Replaced syncing chunks with ChunkList::sync_chunks which allows the caller greater control through the use of flags. MS_SYNC is only used if the caller either requires it or asks for remaining free diskspace to be checked. rakshasa 2006-07-19 21:09:19 +00:00
  • b3fc488e5f * Initial work on a global chunk manager for controlling memory usage, and checking if enough disk space is available for MS_ASYNC to be safe. rakshasa 2006-07-19 00:42:23 +00:00
  • e8a8fc7e1a * Minor fixes before release. rakshasa 2006-07-08 22:04:12 +00:00
  • 52bf80d704 * 'I' key set the download to ignore the start/stop_try commands. rakshasa 2006-07-07 22:19:20 +00:00
  • 63311270c9 * Adding the compiled man page. rakshasa 2006-07-05 21:09:36 +00:00
  • 082cbb6cc5 * Added "key_layout" option with support for azerty. rakshasa 2006-07-05 20:12:01 +00:00
  • 66bb95a26c * Select the proper encoding for a torrent's name so that multi-file torrents get the right root directory. rakshasa 2006-07-04 22:48:43 +00:00
  • c957d1b4d1 * Properly invalidate BlockTransfer's in Block so they get deleted. rakshasa 2006-07-03 00:18:48 +00:00
  • 26ffe74744 * Moved the resume code out of DownloadWrapper and made it use the public API. The client can now use the various calls provided or implement its own. rakshasa 2006-07-01 20:31:07 +00:00
  • 9f2f427e9d * Fixed the transitions between skipping and downloading pieces. rakshasa 2006-06-30 01:02:41 +00:00
  • 4b79a7c47f * Fixed the hashing so it properly starts and stops. When DownloadList::pause is called it clears the "hashing" variable. rakshasa 2006-06-28 22:50:58 +00:00
  • ee353bfc9f * Bound 'U' for clearing "tied_to_file". rakshasa 2006-06-26 23:55:54 +00:00
  • d35bef6791 * Expand the path when unlinking the tied file. rakshasa 2006-06-24 23:48:26 +00:00
  • 8be667e935 * When a chunk hash fails, copy the data to buffers and try again. rakshasa 2006-06-23 00:14:44 +00:00
  • 70eacfe738 * Reworked how hashing is queued, state must 1 and removed the set_hash_failed hacks when closing, etc. rakshasa 2006-06-21 22:14:10 +00:00
  • d2fc993514 * Changed the usage of rand() to random() as we only seed the latter. rakshasa 2006-06-19 13:01:24 +00:00
  • f1c9188d55 * Compare the block data downloaded by a non-leader with the current and mark the block transfer if they do not match. rakshasa 2006-06-17 23:46:00 +00:00
  • c95eb62802 * Second part of reworking how multiple downloads of the same chunk is handled. rakshasa 2006-06-15 00:46:13 +00:00
  • b3b4acaad8 * Added view of blocks in transfer list view. rakshasa 2006-06-12 22:34:41 +00:00
  • 38f0cdbce2 * Added blocks to transfer list view. rakshasa 2006-06-12 19:20:51 +00:00
  • 1e54882da4 * Reverse the color of currently downloading chunks in chunks seen. Patch by Josef Drexler, public domain. rakshasa 2006-06-11 18:22:30 +00:00
  • f0d94bc938 * Added TransferList to the API. rakshasa 2006-06-09 22:59:47 +00:00
  • ffb820f536 * Moved PeerConnectionBase::m_downTransfer into RequestList. rakshasa 2006-06-08 18:45:51 +00:00
  • beeea9fd3e * Handshake was setting wrong bitfield size. rakshasa 2006-06-06 21:16:55 +00:00
  • d0f6719e50 * Added pageup/down to chunks seen and file list. Patch by Josef Drexler, all future patches to lib/rtorrent will be under public domain. rakshasa 2006-06-04 23:37:39 +00:00
  • 46dd41e956 * Moved defininiton of priority enum to torrent/common.h. rakshasa 2006-06-04 20:53:04 +00:00
  • 18cd5342df * Moved Delegator over to using the new Block classes. rakshasa 2006-06-04 14:17:23 +00:00
  • c573c8a9bc * Starting work on persitant storage of peer info. rakshasa 2006-05-31 16:05:09 +00:00
  • 146c104eb3 * Added "stop_on_ratio" option and display the ratio. Patch by Josef Drexler, public domain. rakshasa 2006-05-27 23:35:20 +00:00
  • 932296ce52 * Added "close_low_diskspace" option that closes active downloads on filesystems with less space left than what was passed as the argument. Patch by Josef Drexler, public domain. rakshasa 2006-05-25 19:44:13 +00:00
  • aaaf5d9a5d * core::DownloadList::receive_hash_done(...) now handles failed initial hash checks properly, rather than throwing an exception. rakshasa 2006-05-23 17:26:38 +00:00
  • e4c5c80688 * Bumping version to 0.9.3/0.5.3. rakshasa 2006-05-23 07:36:58 +00:00
  • 770d205b9a * Some views were using uninitialized bool for reversing. rakshasa 2006-05-21 00:11:07 +00:00
  • 271e8e6ccf * Bumping the version numbers. rakshasa 2006-05-19 16:54:42 +00:00
  • 14418244fb * Reordered the ChunkList::sync_* code to work around a gcc-3.3 bug. rakshasa 2006-05-18 19:35:27 +00:00
  • ba4a1927ff * Set the hash failed flag before DownloadList::hash_clear closes the torrent, so the hashing queue doesn't re-open it. rakshasa 2006-05-15 17:55:11 +00:00
  • d4706da4d5 * Removed core::HashQueue, using the "hashing" view and a function in core::Manager instead. rakshasa 2006-05-13 00:18:50 +00:00
  • 65f3dda9ab * Added 'close_untied' option. rakshasa 2006-05-12 01:07:21 +00:00
  • a851264787 * Added '-n' flag that disables loading of ~/.rtorrent.rc. rakshasa 2006-05-09 20:50:07 +00:00
  • 6d07bf3540 * Added 'view_filter_on' option that triggers filtering of a download after an event. rakshasa 2006-05-08 23:42:03 +00:00
  • 8387dbde6f * Clear the resume bitfield when resuming an incomplete download. This will force rehashing if the program dies in a messy way. rakshasa 2006-05-04 13:43:59 +00:00
  • 0620ea88a7 * Added man page entries for view_* and session_save. rakshasa 2006-05-03 18:59:07 +00:00
  • f01289ef12 * Do session save on exit from the main loop, and moved around hash_resume_save. rakshasa 2006-05-02 19:57:35 +00:00
  • 2b420e95a0 * A seperate variable for hashing state, now properly restarts hashing after restart. rakshasa 2006-05-01 18:53:21 +00:00
  • fff7838f13 * Moved various Download related stuff from core::Manager to core::DownloadList. rakshasa 2006-04-29 20:27:04 +00:00
  • 236f689efc * Moved various download related calls from core::Manager to core::DownloadList, added a slot map for hash done. rakshasa 2006-04-28 23:21:32 +00:00
  • 02a0510439 * Changed ViewSort::less(...) to operator(). rakshasa 2006-04-27 21:38:02 +00:00
  • 8ae5e51a0f * Change :rtorrent:state to an integer. rakshasa 2006-04-26 21:23:37 +00:00
  • c5c9a1ddae * Added the framework for a download scheduler. rakshasa 2006-04-25 19:33:53 +00:00
  • 19179bd160 * Fixed mismatched delete/delete[] in torrent::Bitfield::resize. rakshasa 2006-04-24 23:22:57 +00:00
  • 598455a5df * The curl bind address was being set by set_local_address(...), urgh. rakshasa 2006-04-23 23:17:05 +00:00
  • 11c842308a * Added VariableBool. rakshasa 2006-04-22 23:16:08 +00:00
  • c4256079ae * New non-template VariableStringSlot and VariableValueSlot. rakshasa 2006-04-20 20:03:03 +00:00
  • 2f6b5affd1 * Disconnect incoming connections early if the download is full. Patch by Josef Drexler, public domain. rakshasa 2006-04-13 21:11:42 +00:00
  • 7ad18cdac2 * Added missing files in rtorrent/Makefile.am. rakshasa 2006-04-06 17:51:17 +00:00
  • dc1f6d4f23 * Minor BSD portability fixes. rakshasa 2006-04-06 16:40:25 +00:00
  • 8a8cfe5e3d * Made torrent::Piece part of the api. rakshasa 2006-04-05 21:09:15 +00:00
  • 3fa08503bb * Clear the DelegatorChunk's when clearing Delegator, so it doesn't throw on some obscure bug. Not going to be looking for this one anyway as there is a rewrite scheduled. rakshasa 2006-04-03 20:58:10 +00:00
  • f0d31900b7 * Added combined Object::has_key and Object::is_* functions. rakshasa 2006-04-01 22:06:57 +00:00
  • d9d27139d1 * Fixed an overflow in rak::partial_queue, and added some exceptions. rakshasa 2006-03-31 23:02:39 +00:00
  • 59a23ea9ed * Added torrent::FileList to the API. rakshasa 2006-03-30 17:57:57 +00:00
  • 8ea6f78e21 * Cache the current ceiling in rak::partial_queue. rakshasa 2006-03-28 21:04:07 +00:00
  • a811f53301 * Applied a patch from josef that cleand up the chunks seen window. rakshasa 2006-03-25 20:20:52 +00:00
  • b3051db2b2 * Used the peer's option field when writing the handshake header causing some peers to disconnect. rakshasa 2006-03-24 21:24:24 +00:00
  • f953c8935e * Added the rarity of chunks to ChunkStatistics, only non-complete peers. This will be even more lazy and only do this when needed. rakshasa 2006-03-22 21:13:34 +00:00
  • 14475fd4c1 * Moved Listen to ConnectionManager and use a single port rather than cache it in each download. rakshasa 2006-03-21 20:37:00 +00:00
  • 17d66c4a2f * Moved Bencode stream functions to object_stream.h and the Bencode class to object.h. rakshasa 2006-03-20 21:03:42 +00:00
  • 86a3f868df * Added "send_buffer_size" and "receive_buffer_size" options that set the socket SND/RCBBUF sizes. rakshasa 2006-03-18 00:55:50 +00:00
  • 1c55348d45 * Moved {bind,local}_address() to ConnectionManager. rakshasa 2006-03-15 23:25:19 +00:00
  • 571fe8b2f4 * Changed to using sockaddr* in libtorrent's api. rakshasa 2006-03-15 16:22:40 +00:00
  • 2863c10389 * Removed duplicate portions of some rak/ headers. rakshasa 2006-03-10 15:51:25 +00:00
  • 6822261199 * Piece request messages didn't get read when they were the only message in the buffer, it required an additional byte beyond the size of the request body. rakshasa 2006-03-06 20:43:44 +00:00
  • b00d083ac2 * Renamed TrackerInfo to DownloadInfo, moved it to DownloadMain and cleaned up DownloadWrapper etc. rakshasa 2006-03-01 20:48:54 +00:00
  • c77ecb034f * Added API for getting the complete, incomplete and downloaded stats received from trackers. Display them in the tracker list. rakshasa 2006-02-28 13:20:52 +00:00
  • a6a0c25fbc * More rak::socket_address cleanup, made listening port seperate from local address and use port 0 when listening port is closed. rakshasa 2006-02-24 21:32:36 +00:00
  • e3571f249c * Added "upload_total_clear" option that clears the total upload counter when loading session torrents. rakshasa 2006-02-21 20:58:47 +00:00
  • 1f769cc138 * Use TrackerInfo pointer as unique id for torrents internally. rakshasa 2006-02-20 17:20:26 +00:00