Commit Graph

  • 1a7fccf2d9 * Minor portability fixes. rakshasa 2006-02-16 18:14:52 +00:00
  • 1e5146121e * Added "-O" flag that takes a single option, allowing ','. rakshasa 2006-02-16 14:57:41 +00:00
  • 4dea195340 * Expand ~ in paths, all uses should be covered. rakshasa 2006-02-11 15:34:53 +00:00
  • e5c5f7ecb1 * Remove stale lock files if it is held by the same hostname and the pid is not running. rakshasa 2006-02-09 19:18:26 +00:00
  • 126bb511b8 * Applied patch from Diego 'Flameeyes' Petteno <flameeyes@gentoo.org> that adds the "unused" attribute to some function parameters and minor cleanups of configure.ac. rakshasa 2006-02-05 01:43:38 +00:00
  • 8b934623d4 * Minor *BSD compatibility fixes. rakshasa 2006-02-04 20:00:54 +00:00
  • 68502367ec * Don't show ETA on finished and stopped torrents. rakshasa 2006-02-04 19:18:41 +00:00
  • d06ecda46a * Added "working_directory" option that calls chdir. rakshasa 2006-02-01 12:11:09 +00:00
  • 6f44f8f920 * Make DownloadStore::save(...) validate the new file by loading the bencoded data. rakshasa 2006-01-27 20:16:52 +00:00
  • c89ae513ef * Allow clock time for command scheduler interval and start time using the format "hh:mm:ss". rakshasa 2006-01-25 21:23:46 +00:00
  • 305e3bdf2b * ChunkSelector selected from outside the priority ranges due to ~(char)0 giving an inverted integer rather than char. rakshasa 2006-01-24 20:05:36 +00:00
  • 825985b8ef * Bind udp and http tracker requests to the bind address. rakshasa 2006-01-23 19:24:45 +00:00
  • 52636178d1 * Moved hash and torrent size checking to initialize so it will be caught when loading a torrent. rakshasa 2006-01-19 17:13:25 +00:00
  • e8cd37ea3a * Set SO_REUSEADDR for the listening socket. rakshasa 2006-01-17 17:23:32 +00:00
  • 4028ab2295 * New code for handling options/variables which used bencode and can redirect get/set operations. rakshasa 2006-01-13 03:26:46 +00:00
  • b25af84ee8 * Bumping the copyright year to 2006. rakshasa 2006-01-10 00:46:50 +00:00
  • 310589c4bf * Unlink the tied file when a torrent is erased. rakshasa 2006-01-09 18:54:57 +00:00
  • f32c15878a * Fixed the log redraw which didn't happen as the display's scheduler didn't get re-added to the task scheduler until a new event happened. rakshasa 2006-01-06 21:14:49 +00:00
  • 4431fd1652 * Fixed a regression that threw an exception for torrents with empty directories. rakshasa 2006-01-03 21:43:01 +00:00
  • 5a8a402745 * Minor cleanup in rtorrent. rakshasa 2005-12-22 03:55:43 +00:00
  • 2c5151def5 * Checked and fixed calls to priority_queue_insert to make sure they don't end up in an infinite loop. rakshasa 2005-12-20 19:12:15 +00:00
  • 3989ae8975 * Disabled setting of uninterested when no more chunks can be requested, this needs to be fixed. rakshasa 2005-12-19 20:58:13 +00:00
  • 4e8e5a18df * Clear the download rate when finishing a torrent. rakshasa 2005-12-18 23:49:00 +00:00
  • e45f05ee98 * Added command scheduler, currently it only calls option handler. rakshasa 2005-12-17 02:50:10 +00:00
  • ca5b5e05ec * Removed ticks for downloads, use the global tick instead. rakshasa 2005-12-15 22:56:03 +00:00
  • 7cc377b550 * Cleaned up rak::priority_queue. rakshasa 2005-12-09 05:22:36 +00:00
  • 12ef47da3c * Replaced TaskScheduler with rak::priority_queue. rakshasa 2005-12-08 21:19:53 +00:00
  • ba7d61b532 * Fixed a buffer overflow when writting to the output buffer. This would in some rare occasions cause memory to be corrupted. leading to a crash. rakshasa 2005-12-05 07:59:29 +00:00
  • 32a3619cd8 * Moved Timer to rak/timer.h. rakshasa 2005-12-04 21:08:17 +00:00
  • a1a07c47aa * Bumped version number to 0.8.1. rakshasa 2005-12-04 00:20:47 +00:00
  • f9614c405d * Added a workaround for the vfat truncate bug. This blocks for a while, so either it needs some additional hack or make it a configure option. rakshasa 2005-12-02 20:07:50 +00:00
  • 98a8fc8638 * Improved error handling for settings. LibTorrent now consistently throws torrent::input_error and rtorrent catches those and prints good error messages. rakshasa 2005-11-24 17:21:32 +00:00
  • 93c6369b69 * Added the ability to set the timeout in torrent::Http. Torrent downloads now have longer timeout than tracker requests. rakshasa 2005-11-21 19:19:43 +00:00
  • cbbad78b6a * Set "stopped" stated to newly added torrents, so they stay stopped when restarting the client. rakshasa 2005-11-16 20:46:13 +00:00
  • e8deac9f79 * Made ThrottleNode an object held by PCB, rather than ThrottleList which now holds ThrottleNode*. Moved Rate from PCB to ThrottleNode. rakshasa 2005-11-14 15:42:13 +00:00
  • a97408328a * Cleanup of the API, got rid of "get_" prefix for alot of the calls. rakshasa 2005-11-12 15:31:12 +00:00
  • 3db8179274 * Moved http get's user agent stuff to the client. It now uses "rtorrent/CLIENT_VERSION/LIBRARY_VERSION". rakshasa 2005-11-08 21:14:32 +00:00
  • b28621f839 * Dynamically changes the throttle interval depending on the current rate and chunk size. rakshasa 2005-11-03 16:26:08 +00:00
  • 89e69adb7a * Added interface for changing download priority. rakshasa 2005-11-01 19:42:07 +00:00
  • 1a68177eca * More fiddling of the throttle code. rakshasa 2005-10-31 15:40:50 +00:00
  • ce411252ac * More work on the new throttle code. rakshasa 2005-10-29 22:54:08 +00:00
  • 5137aade10 * New throttle implementation, works to a certain degree but still needs some work. rakshasa 2005-10-29 00:55:21 +00:00
  • da67bdfff1 * Added prefered encoding list using the "encoding_list = <enc>" option. rakshasa 2005-10-26 13:25:10 +00:00
  • 7e861cf9f2 * Store and display the encoding for the currently used filename. rakshasa 2005-10-25 20:15:26 +00:00
  • eb8fecbc34 * Fixed various compiler warnings. rakshasa 2005-10-24 10:40:55 +00:00
  • dc2b1aa5d8 * Making a DownloadConstructor to replace src/parse/* stuff. rakshasa 2005-10-22 19:36:38 +00:00
  • 45781e8dbf * Got rid of some additional internal sigc++ calls. rakshasa 2005-10-17 19:19:48 +00:00
  • c99cc03d19 * Replaced most of the internal sigc++ slots and signals with a lightweight version. This cut the size of the library w/debug by more than 300kb. All (almost) the signals the client connects to are now in DownloadWrapper. rakshasa 2005-10-14 21:50:45 +00:00
  • ad80247ba6 * Improved hash checking, it now stops a torrent if some chunk mappings fail even though a file has been allocated. rakshasa 2005-10-10 19:36:12 +00:00
  • 881f515d03 * Scheduled tasks, like hash checking, didn't get called when downloading with curl on epoll unless sockets triggered events. rakshasa 2005-10-07 20:01:38 +00:00
  • 65573ec1ee * Converted some internal sigc++ calls to lightweight function wrappers. rakshasa 2005-10-04 11:06:06 +00:00
  • 33b7217627 * Working resource manager. rakshasa 2005-09-23 23:49:53 +00:00
  • 88b8afe025 * Replaced some sigc++ slots with lightweight callback classes. rakshasa 2005-09-22 12:09:55 +00:00
  • 108ad78d30 * Starting work on resource manager. rakshasa 2005-09-20 13:53:45 +00:00
  • 94d31cc681 * Fixed various memory leaks/errors. rakshasa 2005-09-17 01:31:30 +00:00
  • 5ada857c3e * Added lazy syncing of chunks. rakshasa 2005-09-10 15:38:34 +00:00
  • c347ccc439 * Use ChunkHandle instead of ChunkListNode*, this will include write reference counter. rakshasa 2005-09-09 16:12:29 +00:00
  • 8732e457fa * Cleaned up socket read/write error handling. rakshasa 2005-09-05 18:50:48 +00:00
  • 3bd99aee50 * Fixed some bugs and cleaned up the code. rakshasa 2005-09-01 17:12:31 +00:00
  • c568306a5a * Finished keep-alive in PeerConnectionSeed. rakshasa 2005-08-31 18:40:18 +00:00
  • a1bffb4526 * Almost completed PeerConnectionSeed, only missing the keep-alive message. rakshasa 2005-08-30 22:54:16 +00:00
  • 2a1f3e12cc * Renamed read/write stuff to down/up. rakshasa 2005-08-29 18:39:34 +00:00
  • a28ed1c96b * File progress wasn't being updated as the index range iterator was off by one. rakshasa 2005-08-27 15:44:56 +00:00
  • abbe4dd675 * Changed the TaskScheduler so new tasks are inserted beyond the last due task when executing. rakshasa 2005-08-18 00:46:54 +00:00
  • b0ac469262 * Removed PeerConnection::m_taskStall, use the keepalive task instead. rakshasa 2005-08-17 19:20:38 +00:00
  • 7f2b66d601 * Add includes of headers for select. rakshasa 2005-08-17 16:58:07 +00:00
  • 4eb18663f5 * Use a common task item to trigger keepalive for all connections. rakshasa 2005-08-16 22:26:59 +00:00
  • 8b1afe2485 * Added byte alignment check, if required use a different means of reading ints from ProtocolBuffer. rakshasa 2005-08-16 18:13:43 +00:00
  • 52214aa992 * Properly close tracker requests when closing a download. rakshasa 2005-08-13 20:15:42 +00:00
  • 407f3383f0 * Automagically set the max open sockets and files to resonable values according to sysconf(_SC_OPEN_MAX). rakshasa 2005-08-12 16:05:54 +00:00
  • 202ed7928b * Fixed a compiler warning. rakshasa 2005-08-10 12:20:17 +00:00
  • 6590f5608f * Added tracker re-requesting when connected to less than minimum peers, currently doesn't handle multi-trackers nor do various safety checks. rakshasa 2005-08-09 14:49:00 +00:00
  • 65d940484a * Adding TrackerManager class that implements a simpler interface for tracker control. It will support different modes like f.ex trying to request more peers from the trackers. rakshasa 2005-08-08 15:59:12 +00:00
  • 287dfbf334 * Fixed an un-initialized pointer bug in ui::ElementStringList. rakshasa 2005-08-07 17:57:58 +00:00
  • dc5476e3f4 * Moved Hanshake* to protocol/, moved peer/* to protocol/*. rakshasa 2005-08-04 15:41:15 +00:00
  • e5aad7ed6a * Using SocketAddress instead of PeerInfo in Tracker*, unconnected peers and HandshakeManager. Some other address releated code was cleaned up. rakshasa 2005-08-03 18:50:36 +00:00
  • 91a6950c01 * Added information about which side initiates a connection. rakshasa 2005-08-02 14:59:04 +00:00
  • 89a090111d * Added support for variable sized fd_set's, this should remove the FD_SETSIZE limit. rakshasa 2005-08-01 16:20:34 +00:00
  • 00e0da7aa5 * Fixed torrent::PollSelect::perform(...) so it checks if the Event* is NULL, which happens if another event removes it. rakshasa 2005-07-28 01:47:35 +00:00
  • 3df7567ddf * Rewrote 'select' based polling in the client and finished the 'epoll' code. The client selects whichever is available on the current platform. rakshasa 2005-07-27 18:39:57 +00:00
  • 91f4f022a9 * Finished implementing epoll support in the library. The client side is abit hacky and normal select based polling is temporarily disabled. rakshasa 2005-07-26 16:38:15 +00:00
  • 424a20b3f5 * Changed the API to support different Poll objects and made PollSelect available. Started work on PollEPoll. rakshasa 2005-07-25 15:28:03 +00:00
  • a3521e974d * Minor bug fixes and cleanup. rakshasa 2005-07-25 00:33:00 +00:00
  • e877d3487b * Adding framework for a modular polling class. rakshasa 2005-07-24 16:47:30 +00:00
  • 10ff3141d9 * Added posix_fallocate to File::reserve, though it is disabled by default. rakshasa 2005-07-19 14:00:20 +00:00
  • 81c36a7d96 * Using SocketAddress instead of std::string/uint16_t for peer addresses. rakshasa 2005-07-18 17:22:17 +00:00
  • 7a9010445b * Cleaned up torrent::ProtocolBuffer. rakshasa 2005-07-13 18:51:19 +00:00
  • d02ded1d4c * Changed function calls in torrent::Download to be const. rakshasa 2005-07-13 13:05:08 +00:00
  • 568dcc0b91 * More work on support for UDP tracker. rakshasa 2005-07-11 17:44:28 +00:00
  • 8ca61a79ac * Saves file priorities along with fast-resume data. rakshasa 2005-07-09 18:28:57 +00:00
  • 26a7907f0a * Cleaned up torrent::Rate and moved it to the API. Changed various parts of the API to return torrent::Rate instead of specific functions for each stat. rakshasa 2005-07-09 15:28:56 +00:00
  • a195933a2a Fixing wrong return type. rakshasa 2005-07-07 10:53:40 +00:00
  • 0a56ce6fff Fixed bug that caused negative quotas and cleaned up the quota code. rakshasa 2005-07-05 18:10:37 +00:00
  • fc8ca7df20 Fixed bug that cause exception to be thrown when erasing a download. rakshasa 2005-07-04 16:14:13 +00:00
  • 0588e66eaf Added license exception for linking toward OpenSSL. rakshasa 2005-07-01 22:41:16 +00:00
  • 758bbc9faf Fixed memory leak of PeerConnection::m_read and PeerConnection::m_write. rakshasa 2005-07-01 15:38:39 +00:00
  • 98ad8e8791 Cleaned up ui::Root, fixed updating and hiding status bar. rakshasa 2005-06-30 16:42:22 +00:00
  • 52884c3c39 Added throttle_interval option and backend. rakshasa 2005-06-29 01:30:59 +00:00
  • d04adf81ae The client is now responsible for sending completed to tracker, fixes the problem where doing hash checking of completed torrents would cause wrong messages to be sent. rakshasa 2005-06-28 20:57:01 +00:00
  • 2c5ce1989a Added setting for session directory. rakshasa 2005-06-26 19:51:20 +00:00