Commit Graph

  • ea9dc35bbe * Optimized view filtering and sorting. rakshasa 2011-04-20 15:14:02 +00:00
  • 8e15749d0c * Added more logging facilities. rakshasa 2011-04-18 05:07:45 +00:00
  • 83a5213fac * Fixed some bad behavior that caused the hash queue not to empty at high download speeds. rakshasa 2011-04-17 02:28:47 +00:00
  • 3aa7ed3000 * Added logging for hash queue size. rakshasa 2011-04-15 07:28:26 +00:00
  • cb45e30aeb * Be more aggressive about freeing references to downloading / downloaded pieces when a peer connection sends choke or has an empty queue. rakshasa 2011-04-12 04:08:33 +00:00
  • 63ffc11bbc * Added 'network.http.ssl_verify_peer.set' used to disable checking of self-signed certificates. rakshasa 2011-04-10 02:54:53 +00:00
  • b6cffa59c9 * Fixed logging of allocated memory. rakshasa 2011-04-09 14:33:34 +00:00
  • 47efb608ab * Added more instrumentation. rakshasa 2011-04-09 13:50:30 +00:00
  • d0c853034f * Throw internal error if ncurses 'newwin' fails. rakshasa 2011-04-08 02:56:06 +00:00
  • 6f71a8c1b1 * Added 'p.is_unwanted' and 'p.is_preferred' commands. rakshasa 2011-04-07 08:41:16 +00:00
  • 18a6c61956 * Fixed a corner-case where initial seeding would end up crashing rtorrent. rakshasa 2011-04-06 09:59:54 +00:00
  • a3b763aba8 * Catch NULL returned by curl_easy_init() and fail, as there is no way to recover. rakshasa 2011-04-05 12:31:36 +00:00
  • 8bf3ab6e91 * Added loading of ip filter file and data size query. rakshasa 2011-04-01 12:32:01 +00:00
  • 86c508e212 * More work on cleaning up code. rakshasa 2011-03-31 11:25:31 +00:00
  • 386250bc87 * Moved some option string stuff to libtorrent. rakshasa 2011-03-31 09:35:21 +00:00
  • 9ed7596daf * Added framework for introducing different choking algorithms. rakshasa 2011-03-30 10:39:03 +00:00
  • 143de32dc4 * Added more logging facilities. rakshasa 2011-03-29 10:49:26 +00:00
  • 18061c20c8 * More work on ip filter framework. Note some critical parts are not at this moment available to the public. rakshasa 2011-03-29 06:48:38 +00:00
  • 6e9df49912 * Fixed some missing headers. rakshasa 2011-03-27 10:23:16 +00:00
  • 5debd6f1be * Added better logging facilities. rakshasa 2011-03-10 05:46:08 +00:00
  • 7b2fae35d5 * Allow inlining functions in commands with parantheses, e.g: rakshasa 2011-02-12 12:20:09 +00:00
  • 5691233bf1 * Properly retry connection when non-/encrypted handshakes fail. rakshasa 2011-01-13 13:13:58 +00:00
  • 7e554e8b1b * Fixed various valgrind warnings. rakshasa 2010-11-10 11:40:28 +00:00
  • 649248c909 * Reverted to the most portable version. rakshasa 2010-11-07 08:58:29 +00:00
  • 6985fce321 * Fixed a bug that caused 'execute*' commands to fail when trying to run a program without any arguments. rakshasa 2010-11-07 08:52:27 +00:00
  • 220f59ee15 * Tweaked the signals. rakshasa 2010-11-06 20:00:20 +00:00
  • 4013fd6b98 * Properly set ThreadMain::m_thread to pthread_self(). rakshasa 2010-11-06 11:58:47 +00:00
  • 51db5e64c2 * Fixed inverted check for LT_SLIM_VERSION. rakshasa 2010-11-04 14:25:14 +00:00
  • 0098b1f0b9 * Fixed a bug where callinging download specific commands through the ui with no torrent selected would cause a crash. rakshasa 2010-11-02 11:20:01 +00:00
  • b8d319a2fc * Fixed a race condition where the releasing of the global lock before calling polling would cause problems. Now a thread that acquires the global lock and wants to remove or change fd's from the main thread. rakshasa 2010-10-22 11:31:11 +00:00
  • 0e69677dbc * Added xmlrpc calls for peer snubbed, banned and disconnect. rakshasa 2010-10-08 08:10:08 +00:00
  • a0f3e95d20 * Fixed group commands. rakshasa 2010-10-06 12:08:44 +00:00
  • 49f61eeda3 * Added separate '-I' and '-K' switches, the former is for testing rtorrent code, the latter for webui's. rakshasa 2010-10-05 23:49:06 +00:00
  • 033e30af04 * Fixed more commands. rakshasa 2010-10-05 03:36:14 +00:00
  • c12f698c95 * Fixed 'view_*' commands. rakshasa 2010-10-03 12:14:57 +00:00
  • 56e126d8a0 * Fixed more redirects to work properly with old webui's. rakshasa 2010-10-03 10:47:36 +00:00
  • 9bc5470243 * Renamed old 'load*' commands to 'load.*' in order to allow deprecated generic command redirects to be defined. rakshasa 2010-09-18 11:32:33 +00:00
  • e0068a3f42 * Incore debugging fixes. rakshasa 2010-09-18 10:26:25 +00:00
  • e1f0ee86b7 * Some debugging tools added. rakshasa 2010-08-25 07:14:19 +00:00
  • 01738fd357 * Added some memory debugging utils. rakshasa 2010-08-19 10:30:42 +00:00
  • 493843f223 * More commands fixed. rakshasa 2010-05-06 07:04:23 +00:00
  • d9f409b223 * Changed command_base stored in CommandMap from a pointer to an instance. rakshasa 2010-04-30 12:16:45 +00:00
  • 8b03988612 * Added 'rpc/fixed_key.h' header. rakshasa 2010-04-30 04:36:02 +00:00
  • 7dad6d34f3 * Don't try to resume after finished if the download was deleted. Patch by sirjaren. rakshasa 2010-04-29 11:16:56 +00:00
  • c8fc6402bb * Finished the move over to object_storage, removing command_function.*. rakshasa 2010-04-29 10:59:41 +00:00
  • b530d35d94 * More work on rpc::object_storage and moving simple functions over to it. rakshasa 2010-04-28 15:19:18 +00:00
  • 9362453391 * Added a missing READ_PORT case to a switch in handshake.cc. rakshasa 2010-04-19 19:52:42 +00:00
  • 575cafc7a8 * Old file/tracker related xmlrpc commands now work as before. rakshasa 2010-04-12 03:37:07 +00:00
  • 74bae32243 * Fixed more redirected commands. rakshasa 2010-04-11 14:19:27 +00:00
  • 856228da3d * Don't throw an exception on 'download->resume_flags() != ~uint32_t()' as there seems to be a race condition where a torrent doing the final hashing might get some flags set. Instead just clear it and hope nothing bad happens. See #1292. rakshasa 2010-04-10 07:05:39 +00:00
  • d17fa0c684 * Renamed 'check_hash' and added a redirect. rakshasa 2010-04-07 08:49:12 +00:00
  • 4b9c4d5bbe * More cleanups of commands. rakshasa 2010-04-04 19:15:01 +00:00
  • 8da449f666 * Handle XMLRPC commands with no arguments as if the target is empty. rakshasa 2010-04-04 08:13:44 +00:00
  • 4c6c943669 * Added missing file. rakshasa 2010-04-04 04:47:19 +00:00
  • 90da65f8a1 * Cleanup of old command code. rakshasa 2010-04-04 04:44:45 +00:00
  • 4e4540e60f * Removed old Command classes. rakshasa 2010-03-28 18:09:09 +00:00
  • 10f665e9c6 * Last of the commands converted, cleanup remaining. rakshasa 2010-03-27 16:35:15 +00:00
  • bc96dbfa2d * Modified the fallocate configure check so it will fail if 'fallocate' can't be found. rakshasa 2010-03-24 20:23:48 +00:00
  • db2b813fc4 * Finished refactoring command_network.cc. rakshasa 2010-03-23 18:24:18 +00:00
  • 28aabb7874 * Reordered Makefile.am entries to fix linking errors. rakshasa 2010-03-23 11:24:27 +00:00
  • 83e993a1eb * Added missing command_new_slot.{cc,h} files. rakshasa 2010-03-21 09:45:45 +00:00
  • 8622100e09 * Added a new Command type based on std::tr1::function aimed at replacing the current ones. rakshasa 2010-03-19 09:33:25 +00:00
  • ee5b0819a1 * Added 'system.files.{opened,closed,failed}_counter' commands. rakshasa 2010-03-17 06:45:00 +00:00
  • 589c8c147b * Cleaned up torrent/download.h. rakshasa 2010-03-15 23:31:58 +00:00
  • c5e839287d * Cleaned up torrent/download.h. rakshasa 2010-03-15 18:31:50 +00:00
  • 19be810642 * Added '-D' flag which turns of redirects for deprecated commands. Use this to ensure your scripts/webui. rakshasa 2010-03-15 16:42:05 +00:00
  • ded689d3ff * Fixed the linux fallocate detection script. rakshasa 2010-03-12 10:29:11 +00:00
  • df4c0ce67b * Optimized bencode read skip function. rakshasa 2010-03-04 17:35:46 +00:00
  • 44e77016a9 * Renamed 'system.method.*' to 'method.*'. rakshasa 2010-03-03 13:45:34 +00:00
  • db8f217569 * Commited the DHT changes from dht-pex-static_map.diff with changes so it works with the modified static_map implementation. rakshasa 2010-03-03 11:52:01 +00:00
  • 806941b6c7 * Added a static_map implementation based on Josef's patches. rakshasa 2010-03-01 07:45:54 +00:00
  • 6fe6dcd8d8 * Fixed session file loading. rakshasa 2010-02-19 15:05:33 +00:00
  • 49cbbad5d7 * Make the torrent::Object immediately after loading a file to lower memory footprint. rakshasa 2010-02-18 06:26:06 +00:00
  • 0a76faa427 * Copy a torrent to std::stringstream instead of keeping a fstream open. This ensures rtorrent doesn't run out of file descriptors during launch. rakshasa 2010-02-17 17:18:54 +00:00
  • 3cae3d37be * Cleaning up command names. The deprecated commands will be redirected. rakshasa 2010-02-16 17:29:53 +00:00
  • 31abf85846 * Added support for Linux's fallocate and Darwin's fcntl(...,F_PREALLOCATE,...) to preallocate files by default. The 'system.file_allocate' setting will now only be used to indicate you want posix_fallocate called, which may block while it zeros out the file manually. rakshasa 2010-02-14 01:20:20 +00:00
  • 8954393e52 * Don't recheck hashes of from 'uncertain_pieces' resume data when closing/resuming a torrent within the same session. rakshasa 2010-02-11 15:45:56 +00:00
  • 6796e9ad34 * Added missing <sys/types.h> includes. Patch by Artifex Maximus. rakshasa 2010-02-11 03:39:13 +00:00
  • 222bf7ae8f * Better handling of resume after crash/reboot. Sponsored by anonymous source. rakshasa 2010-02-08 19:41:46 +00:00
  • 2d3e12387d * Check if the thread is active before sending a signal. rakshasa 2010-02-02 23:17:49 +00:00
  • 588f9e80c7 * Threaded XMLRPC support. Sponsored by Xirvik. rakshasa 2010-01-25 13:14:09 +00:00
  • 83ea813245 * Fixed system.method.{set,find}_key commands. rakshasa 2010-01-20 18:11:58 +00:00
  • 5ad2eff8c9 * Allow interrupting a thread's polling through SIGUSR1. Used to signal events across threads. rakshasa 2009-12-30 07:27:43 +00:00
  • 027edf9dcd * Discard dht cache if it is corrupt, instead of killing rtorrent. rakshasa 2009-12-30 01:29:20 +00:00
  • 8987be3001 * Fixed some minor compiler warnings/errors. rakshasa 2009-12-26 11:16:21 +00:00
  • 6188d110c5 * Added a flag to torrent::Poll that lets us set which Poll objects should waive the global lock. rakshasa 2009-12-24 10:53:52 +00:00
  • 2c7563825c * Added shutdown for worker thread. rakshasa 2009-12-22 03:29:47 +00:00
  • 5a1d0be323 * Use the safe default cacheline settings for all platforms for now. rakshasa 2009-12-19 21:36:44 +00:00
  • 5470e50ffb * Added autoconf support for cacheline_aligned and SMP_CACHE_BYTES. rakshasa 2009-12-18 21:56:14 +00:00
  • 2304983f4f * Finished the foundation of threading. rakshasa 2009-12-15 21:39:35 +00:00
  • 6a94909647 * More work on the threading stuff. rakshasa 2009-12-14 21:18:51 +00:00
  • b635f8c852 * More work on threading. rakshasa 2009-12-12 21:30:52 +00:00
  • ef6e4deca9 * Foundation for multi-threaded support. rakshasa 2009-12-12 15:32:04 +00:00
  • d71e0ccf9a * Bumped version to 0.8.6/0.12.6. rakshasa 2009-11-30 15:08:17 +00:00
  • 76fd429f89 * Changed the ctor for rt_triple to a non-template version. rakshasa 2009-11-16 14:02:24 +00:00
  • 3359c2bbb0 * Some commands were not using the new "log.tracker" name. Ticket #1888. rakshasa 2009-11-15 06:36:01 +00:00
  • 667c4c3562 * Created ThreadBase holding poll manager, etc, and added a this_thread global object. rakshasa 2009-11-12 09:28:35 +00:00
  • a60c330d3b * Logging for scgi calls. rakshasa 2009-10-27 15:11:32 +00:00
  • f11c48d454 * Fixed handling of errors when writing out session torrents, it should no longer hit an infinite loop. rakshasa 2009-10-23 15:45:45 +00:00
  • 6c3a80636a * Fixed warnings in snprintf statements. rakshasa 2009-10-22 07:01:53 +00:00