Commit Graph

3184 Commits

Author SHA1 Message Date
Charles Kerr 5b1af96165 (trunk libT) #2676 "Transmission writes to non-existent drive in '/Volumes'" -- we're already stopping the torrent when the local data disappears, but let's add a more explicit and helpful error message to help users diagnoses the problem. 2010-01-20 20:08:12 +00:00
Charles Kerr 8e16b74dad (trunk libT) #2775 "Saving some memory/storage" -- committed for 1.80 2010-01-20 18:48:52 +00:00
Charles Kerr 8a49d60f6f (trunk libT) tweak the last commit -- use strncmp() instead 2010-01-20 18:41:22 +00:00
Charles Kerr 7c29d46daa (trunk libT) #2771 "Unable to add magnet URI from Mininova via web interface" -- fixed for 1.80 2010-01-20 18:15:09 +00:00
Charles Kerr 9eb07e9b16 (trunk) No code changes here... filling in some of the blanks in the "peers" and "utils" doxygen groups' documentation. 2010-01-19 19:37:00 +00:00
Charles Kerr 5b4ec24deb (trunk libT) tweak the peer-io bugfix 2010-01-18 19:26:46 +00:00
Charles Kerr fd9021b655 (trunk libT) #2416 "crash in event_queue_insert()" -- this crash is definitely happening when we call event_del() twice on the same event without an event dispatch pass between the two calls. Start nailing down every possible case where that could happen in libtransmission 2010-01-17 19:21:04 +00:00
Charles Kerr 62c77900aa (trunk libT) add assertion to crash if tr_rpcSetPort() is called on a NULL RPC Server 2010-01-16 22:46:38 +00:00
Charles Kerr bf08de36d9 (trunk libT) remove the r9933 assertions and maybe fix Yada's bug 2010-01-15 00:20:48 +00:00
Charles Kerr e1005726a2 (trunk libT) add in some assertions to try & smoke out Yada's crash 2010-01-14 21:37:27 +00:00
Charles Kerr 616c09156a (trunk libt) #2755 "assert( session->fdInfo != NULL ) in tr_fdTorrentClose() is failing" -- fixed for 1.80 2010-01-14 14:22:43 +00:00
Charles Kerr 6ce8085243 (trunk) housekeeping: (1) add standard svn properties for $Id$ substitution in some files (2) add #include guards in a couple of libtransmission headers (3) refresh build instructions in README 2010-01-14 14:20:49 +00:00
Mitchell Livingston aac5e5cb61 add to RPC info for peers from DHT and LTEP 2010-01-14 00:25:03 +00:00
Charles Kerr de82e235af (trunk) second half of r9927.... :/ 2010-01-13 22:46:22 +00:00
Charles Kerr a77770a51a (trunk) add tr_torrent_stat.id to RPC documentation. Rename tr_tracker_stat.identifier as tr_tracker_stat.id for consistency with tr_torrent.id 2010-01-13 22:40:07 +00:00
Charles Kerr 86a5e6be8a (trunk libT) fix assertion-on-shutdown failure reported by livings 2010-01-13 01:21:26 +00:00
Charles Kerr 4b0c1ea332 (trunk libT) #2705 "speeding up request queue management" -- committed v1.1.diff for 1.80 2010-01-12 20:17:22 +00:00
Charles Kerr 5decc9ffb1 (trunk) add a log message telling the user which configDir is being used and whether or not its settings.json was used 2010-01-12 16:43:37 +00:00
Charles Kerr fae3516d4b (trunk libT) #2750 "Crash on quit r9862 in TrCloseFile" -- fixed for 1.80 2010-01-11 18:26:29 +00:00
Charles Kerr e2feb075b9 (trunk libT) reinstate proxies in the http announce 2010-01-10 20:15:56 +00:00
Charles Kerr 2ac553361a (trunk libT) #2416 "crash in event_queue_insert" -- I think this is happening if we queue up two changes, one to listen for read/write, and then a second one to delete the polling, in kqueue's event mechanism, at libcurl's request. Let's try disabling kqueue in libevent and use poll/select instead. 2010-01-10 19:52:01 +00:00
Mitchell Livingston da06bc054f take a shot at #2715 - modular division on a negative number doesn't return a positive 2010-01-10 16:26:56 +00:00
Mitchell Livingston 14da64ec06 assorted small cleanup and log removal 2010-01-10 16:26:30 +00:00
Mitchell Livingston 5af45426d4 random code optimization: when escaping http, use an if with a lot less comparisons rather than a switch 2010-01-10 14:56:04 +00:00
Mitchell Livingston 8f6e1dedf5 revert r9505, which appears to cause a crash on launch 2010-01-10 14:36:53 +00:00
Charles Kerr 5a60e4549d (trunk libT) #2416 "crash in event_queue_insert" -- another guess, based on the idea that we might queue two actions (one to insert, one to delete) on the same event before libevent's dispatcher is invoked 2010-01-10 08:53:17 +00:00
Mitchell Livingston d81389da50 add rpc fields for the tracker identifier stats 2010-01-10 04:23:09 +00:00
Charles Kerr 0f19dbd600 (trunk libT) #2740 "sefault in torrent creating" -- fixed for 1.80 2010-01-10 02:40:22 +00:00
Mitchell Livingston 6138daec3f add an identifier to trackers, for use by the ui's (this should hopefully fix the problem for removing trackers with "invisible" trackers) 2010-01-10 02:34:00 +00:00
Charles Kerr 69cb1362e3 (trunk libT) #2416 "crash in event_queue_insert" -- see if we can get the program to crash in a different way. 2010-01-09 07:27:45 +00:00
Charles Kerr 6076d7c6bd (trunk libT) add <stdarg.h> call before <evutil.h> to get 1.80 building on Fedora 11 2010-01-09 07:24:47 +00:00
Charles Kerr 0bb355d8df (trunk libT) #2416 "crash in event_queue_insert" -- continue throwing the kitchen sink at this ticket. (1) disable proxies to see if that makes any difference (2) rearrange the sequencing in sock_cb() to unconditionally delete the active event before doing anything else (3) use a libevent timer instead of CURLOPT_TIMEOUT to workaround curl bug http://tinyurl.com/ycm5d3e 2010-01-08 21:45:56 +00:00
Charles Kerr 0d91f3cadf (trunk libT) more documentation and doxygen markup 2010-01-06 00:18:33 +00:00
Charles Kerr 182cbb8b90 (trunk) one of the less-interesting commits in a while: remove trailing spaces from lines 2010-01-05 23:47:50 +00:00
Charles Kerr 5c26afdb52 happy new year! 2010-01-04 21:00:47 +00:00
Charles Kerr a5446669b4 (trunk libT) #2711 "no metadata exchange when using magnet links and trackerless torrents" -- fixed 2010-01-04 20:28:54 +00:00
Charles Kerr 42fb92170a (trunk libT) remove dead code: tr_announce_list_err 2010-01-04 20:14:25 +00:00
Charles Kerr 339173d1b4 (trunk libT) make sure to restart curl's periodic timer 2010-01-04 20:06:39 +00:00
Charles Kerr 59c10a3dc8 (trunk libT) #2722 "crash when removing/modifying trackers" -- fixed 2010-01-04 09:11:27 +00:00
Charles Kerr 6f68e30f37 (trunk libT) consistency tweak: rename tr_global{Lock,Unlock,IsLocked} as tr_session{Lock,Unlock,IsLocked} 2010-01-04 09:05:02 +00:00
Charles Kerr be77238af4 (trunk libT) #2709 "RPC files-unwanted" out-of-bounds access 2010-01-03 17:21:10 +00:00
Mitchell Livingston ba7dae1678 should've alphabetized by peer id, not client name 2010-01-02 18:50:59 +00:00
Mitchell Livingston 7a16959096 add "OneSwarm" to client list 2010-01-02 18:47:59 +00:00
Charles Kerr 696aa7aba6 (trunk libT) resolve thread condition in libtransmission by moving the `waiting' state variable to the stack in tr_sessionSet() and tr_sessionInit() 2010-01-01 22:35:49 +00:00
Charles Kerr 283b6d6a36 (trunk libT) rename tr_wait() tr_wait_msec() 2010-01-01 22:30:36 +00:00
Charles Kerr 08af516e12 (trunk libT) unset DHT's ip4 and ip6 sockets on shutdown so that the libtransmission thread doesn't block on tr_dhtStatus() during shutdown 2010-01-01 22:28:50 +00:00
Charles Kerr 6b8fb48d64 (trunk libT) replace the TR_INLINE macro with the standard "inline" keyword, since we require inline functions anyway 2010-01-01 22:26:35 +00:00
Charles Kerr 21bd268aa9 (trunk libT) fix <assert.h> #includes 2010-01-01 22:14:50 +00:00
Charles Kerr e61e0fcd3d (trunk libT) improved API documentation / commenting for doxygen 2010-01-01 22:13:27 +00:00
Mitchell Livingston f2bbae3fd8 some more insignificant changes I have sitting around locally 2009-12-31 03:19:54 +00:00
Mitchell Livingston 90ecb67c92 fix bug from r9820 where file progress was either 0.0 or 1.0 2009-12-29 01:35:52 +00:00
Charles Kerr 8ae3911477 (trunk libT) #2416 "crash in event_queue_insert" -- I am really quite sick of this bug. It's not reproducible at all under Linux and appears to be a bug in libevent's kqueue implementation. In this commit, we leak the event object on OS X. 2009-12-29 00:00:33 +00:00
Charles Kerr 6151881a03 (trunk libT) #2416 "crash in event_queue_insert" -- instead of freeing libevent's event objects, pool and reuse them. *sigh* 2009-12-28 23:29:59 +00:00
Charles Kerr 1eb0cdd7c6 (trunk libT) fix various minor compiler warnings that show up when you build libtransmission with NDEBUG defined 2009-12-28 23:27:17 +00:00
Charles Kerr ee58472ec2 (trunk libT) fix minor bug in r9651 "Reduce SO_SNDBUF and SO_RCVBUF for tracker announce/scrape messages" -- libcurl's CURLOPT_SOCKOPTFUNCTION doesn't return void; it returns an int that is nonzero if an error occurs. 2009-12-28 23:25:50 +00:00
Charles Kerr 196666da72 (trunk libT) fix minor bug in r9651 "Reduce SO_RCVBUF for outgoing peer connections on seeding torrents" -- remember the "isSeed" attribute so that we can use it on reconnects 2009-12-28 23:24:00 +00:00
Charles Kerr ac202f13bb (trunk libT) remove dead code -- tr_assert() 2009-12-28 23:11:26 +00:00
Charles Kerr 4e44e9c2cb (trunk libT) https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/500625 2009-12-28 00:35:29 +00:00
Charles Kerr bc86c0b364 (trunk libT) #2416 "crash in event_queue_insert" -- maybe this will finally fix it... 2009-12-26 23:57:25 +00:00
Charles Kerr 8bc90ca644 (trunk libT) fix crash in tr_fdSocketClose() reported by agsystem in the forums @ http://forum.transmissionbt.com/viewtopic.php?p=42993&f=1#p42993 2009-12-26 23:52:59 +00:00
Mitchell Livingston f6a5117ef9 calculate proper file progress for 0-byte files (fixes #2689) 2009-12-25 16:56:33 +00:00
Mitchell Livingston 8dbfb708f5 #2696 posix_fadv_dontneed undeclared 2009-12-25 15:48:41 +00:00
Charles Kerr 8903e1b4e3 (trunk libT) #2416 "crash in event_queue_insert" -- another experimental commit. /as an experiment/ let's just leak that event struct and see if that makes the crash go away. Obviously leaking those objects is not a long term fix but this will help point the way towards the real fix. 2009-12-24 18:50:34 +00:00
Charles Kerr 3e2269e5e3 (trunk libT) #2632 "Add streaming capability to libtransmission (but not the Transmission GUI clients)" -- revert this feature due to pushback from devs and users and the 1.80 freeze 2009-12-24 18:01:48 +00:00
Charles Kerr 12ffdb7d87 (trunk libT) #2632 "Add streaming capability to libtransmission (but not the Transmission GUI clients)" -- implemented 2009-12-24 01:02:54 +00:00
Charles Kerr b8d7e76750 (trunk libT) #2416 "crash in event_queue_insert" -- possible fix. it looks like the kqueue client is accessing the event after the callback and after event_del() is being called. *If* that's the case I don't know if it's a libevent bug or if libtransmission is making assumptions it shouldn't've... but it's easy enough to keep the memory in a pool and free it later when it's safer to do so. 2009-12-23 16:12:18 +00:00
Mitchell Livingston a7245651f2 avoid an extra comparison caused by macro expansion 2009-12-21 22:03:19 +00:00
Mitchell Livingston 25a023023f eliminate the clamp function for now, allow peer connections once again 2009-12-21 14:30:43 +00:00
Charles Kerr ef650d0398 (trunk libT) it certainly smells like we're using freed memory in the libcurl + libevent code in web.c... let's trash the structures right before free()ing them 2009-12-18 17:32:16 +00:00
Charles Kerr a653d37225 (trunk libT) possibly reduce the frequency of the "too many open files" errors 2009-12-18 07:05:36 +00:00
Charles Kerr 2ff810d18f (trunk) use AC_ARG_VAR for some autoconf variables s.t. their values will persist between reconfs 2009-12-18 05:02:48 +00:00
Charles Kerr d9369718b3 (trunk) #2548 "T's request queue can send out too many duplicate requests" -- (1) fix r9465 implementation bug that caused some peers to get starved of requests if they rejected a request or choked, then unchoked us. (2) increase a block request's TTL by 15 seconds to reduce cancel/req cycles between two or more blocks (3) add a debug mode to the GTK+ client's peer tab to watch the pending requests counts both up & down 2009-12-16 18:20:01 +00:00
Eric Petit a91c5e44e3 build fix 2009-12-16 07:47:04 +00:00
Charles Kerr 122d69d013 (trunk libT) try not to cache file data read in during verification 2009-12-16 06:34:17 +00:00
Charles Kerr 22e61e68ed (trunk libT) fix call to updateDesiredRequestCount() reported by sadface 2009-12-16 01:32:23 +00:00
Charles Kerr d6f7df8c9a (trunk libT) #2508 "atom->port never updated" -- (1) fix r9434 bug that used the wrong byte ordering scheme for port numbers. This is why most of the .resume file's peers are worthless in betas 1 and 2. :( (2) in the resume file, change the dictionary key for peers so that the worthless peers won't be reloaded on startup in beta 3. 2009-12-16 00:45:18 +00:00
Charles Kerr f3e8a29e0f (trunk libT) #2548 "T's request queue can send out too many duplicate requests" -- fix off-by-one when counting how many peers we'll send a given block request to during endgame 2009-12-15 21:33:24 +00:00
Charles Kerr 22e33f784b (trunk libT) #2548 "T's request queue can send out too many duplicate requests" -- experimental revision to r9465 to address further overdownloading issues 2009-12-15 20:13:34 +00:00
Charles Kerr c789454dba (trunk libT) #2667 "Ignore martian addresses" -- apply jch's 0001-Simplify-martian-address-detection.patch cleanup patch from http://trac.transmissionbt.com/ticket/2667#comment:8 2009-12-15 20:06:48 +00:00
Charles Kerr 33c6b0d9ec (trunk libT) #2667 "ignore martian addresses" -- revise the tests to tr_isValidPeerAddr() base
d on feedback from jch @ http://trac.transmissionbt.com/ticket/2667#comment:6
2009-12-15 19:39:01 +00:00
Charles Kerr c819d6dca6 (trunk libT) #2671 "downloading from too many peers" -- address a smaller aspect of this ticket, by reducing the minimum number of blocks we request from a peer, as noted by jch's comment @ http://trac.transmissionbt.com/ticket/2671#comment:2 2009-12-15 18:11:20 +00:00
Charles Kerr f4c744266f (trunk libT) #2667 "ignore martian addresses" -- modified this ticket. previously we ignored them from LTEP; now we ignore them regardless of the source. this commit implements this filtering change. 2009-12-15 17:39:19 +00:00
Charles Kerr de9498f1ab (trunk libT) #2669 "Apply IPV6_V6ONLY to the IPv6 DHT socket" -- committed jch's patch for 1.80 2009-12-15 16:48:26 +00:00
Charles Kerr c17932f533 (trunk libT) #2673 "crash in tr_torrentGetMetadataPiece" -- add safeguards against small sizes 2009-12-15 16:34:12 +00:00
Eric Petit 5fb945653f #2673 crash in tr_torrentGetMetadataPiece 2009-12-15 15:19:08 +00:00
Charles Kerr ed6e95eef3 (trunk) add #include guards to prevent non-libtransmission files from #including implementation headers 2009-12-15 00:51:39 +00:00
Charles Kerr e7baa2b480 (trunk libT) maybe fix that blocklist crash John_Clay reports about once a month 2009-12-14 18:47:45 +00:00
Charles Kerr 0601442f58 (trunk libT) #2416 "crash in event_queue_insert" -- another stab at fixing this. yay 2009-12-14 18:24:26 +00:00
Charles Kerr 8cee197cac (trunk libT) fix minor memory leak in libtransmission/tr-dht.c, found by valgrind 2009-12-14 17:46:00 +00:00
Charles Kerr 87aefaf5ff (trunk libT) #1699 "announce to multiple trackers at once" -- fix minor bug in reporting scrape results when an announce returns enough information that a separate scrape isn't necessary. 2009-12-14 17:17:05 +00:00
Charles Kerr ee0de4b06c (trunk libT) keep simplifying web.c... is there anything left to strip out? 2009-12-14 14:25:22 +00:00
Charles Kerr c33aef7e2d (trunk libT) more web.c simplification + handle an unhandled case CURL_POLL_NONE in the socket callback. 2009-12-14 12:54:30 +00:00
Charles Kerr 2653cd5153 (trunk libT) keep simplifying web.c. also, fix an improbable FMR at shutdown 2009-12-14 05:11:33 +00:00
Charles Kerr 3fe5db7113 (trunk libT) #2667 "Ignore martian addresses in LTEP messages" -- implemented for 1.80 2009-12-14 02:07:47 +00:00
Charles Kerr 6d9e6ececc (trunk libT) remove some more obsolete debug messages and other cruft from web.c 2009-12-13 19:33:02 +00:00
Charles Kerr 485b64a5e3 (trunk libT) it never ends 2009-12-13 17:54:01 +00:00
Mitchell Livingston bdf3144376 remove unnecessary asserts 2009-12-12 21:37:36 +00:00
Charles Kerr 2d1b6748ec (trunk libT) #2661 "better torrent prioritization when making outbound peer connection attempts" -- implemented for 1.80 2009-12-12 17:05:31 +00:00
Charles Kerr 20a4560198 (trunk libT) remove the test for duplicate trackers in the announce list. 2009-12-12 04:12:04 +00:00
Charles Kerr 196a7ccbb9 (trunk libT) #2658 "encryption improvements" - patch by sadface to make DH handshake ~2x faster. yay! 2009-12-12 03:51:36 +00:00
Charles Kerr ed1df8beac (trunk libT) removed dead code: tr_isTimeval(), tr_timevalMsec(), tr_timevalSet() 2009-12-12 01:05:29 +00:00
Charles Kerr 1f320b2ddd (trunk) fix a couple of cases where we don't use the tr_snprintf() portability wrapper 2009-12-11 20:26:40 +00:00
Charles Kerr a89d2217af (trunk libT) #2416 "crash in event_queue_insert()" 2009-12-11 15:41:34 +00:00
Charles Kerr 5f1f2b1e85 (trunk libT) use curl_multi_socket_action(), even on OS X. 2009-12-10 19:05:21 +00:00
Charles Kerr 0f14f62ac1 (trunk libT) new utility function tr_timerAddMsec() 2009-12-10 19:04:10 +00:00
Charles Kerr a1ccd10f89 (trunk libT) add simple tr_http_unescape() unit test 2009-12-10 10:44:06 +00:00
Charles Kerr cd0de2ebe5 (trunk libT) fix errors in tr_httpParseURL() 2009-12-10 09:13:08 +00:00
Charles Kerr 1c772bd1fe (trunk libT) finally get rid of the last remnants of tr_timer 2009-12-10 05:52:46 +00:00
Charles Kerr 9fb6c5b1c4 (trunk libT) #2655: "1.80b1 crash in peer-mgr.c's getPeersToClose()" -- fixed 2009-12-10 04:54:48 +00:00
Charles Kerr f73f223540 (trunk libT) #2653 "transmission-remote-dotnet makes transmission-daemon segfault" -- fixed for 1.80 2009-12-09 12:44:23 +00:00
Charles Kerr 02f4038f67 (trunk libT) #2641 "a magnetic-induced crash because of malformed url" -- fixed in trunk for 1.80b2 2009-12-09 04:28:53 +00:00
Charles Kerr 4b3b5dcd8a (trunk libT) by request, remove a clientData argument from tr_torrentDeleteLocalData() (reverts r9690) 2009-12-09 03:51:21 +00:00
Charles Kerr 5f9f97ee2a (trunk libT) by request, add a clientData argument to tr_torrentDeleteLocalData() 2009-12-09 03:40:35 +00:00
Charles Kerr c5af8965e0 (trunk libT) the deleteFunc passed in as the second argument to tr_torrentDeleteLocalData() should /not/ be called unless the file being passed to it actually exists. Reported by livings124 2009-12-09 03:00:20 +00:00
Charles Kerr bcd01fda3b (trunk libT) #2651: "missing errmsg in RPC torrentSet" -- reported & patched by elbandi 2009-12-09 01:36:31 +00:00
Charles Kerr 857e37bf77 (trunk libT) #2643 "Total UL/DL ratio reset when quitting abnormally" -- fixed. 2009-12-08 20:51:45 +00:00
Charles Kerr 907c67ba78 (trunk libT) remove unnecessary #includes 2009-12-07 03:57:55 +00:00
Eric Petit 769629499e The IPv6 check could always fail because we did not specify a port when
trying to set up the UDP socket (was reproducible here on 10.6 at least)
2009-12-06 16:21:29 +00:00
Charles Kerr d370222113 (trunk libT) #2551 "when uploading to peers, prefetch local data from disk" -- prefetching performance tweak described in http://trac.transmissionbt.com/ticket/2551#comment:22 -- instead of prefetching [8..12] blocks, always prefetch 12 blocks 2009-12-05 19:30:15 +00:00
Charles Kerr 78ead8c3dd (trunk) update the copyright notices 2009-12-05 02:19:24 +00:00
Mitchell Livingston 5fb643431e decrease the size of the buffer for logging 2009-12-05 01:28:42 +00:00
Mitchell Livingston 8efe3f7cce remove a redundant level check in tr_msg() 2009-12-05 01:02:37 +00:00
Charles Kerr 31a3ed1684 (trunk, qt) #2096 "magnet links" -- Add the "Copy Magnet Link to Clipboard" feature to Qt client 2009-12-03 15:23:43 +00:00
Charles Kerr 79154bac8a (trunk) #2096 "magnet links" -- fix RPC typo introduced in r9655 and reported by KyleK 2009-12-03 12:40:23 +00:00
Charles Kerr 7537f02589 (trunk libT) #2636: "wrong peer progress update" -- possible fix as described in comment:2 2009-12-03 03:11:22 +00:00
Charles Kerr bb44a31423 (trunk) #2096 "Magnet Links - Extension for Peers to Send Metadata Files (BEP #9)" -- publish tr_stat.metadataPecentComplete in the RPC so that kjg can use it in the web client 2009-12-02 20:05:19 +00:00
Charles Kerr d1935a4812 (trunk libT)
11:59 < klapaucjusz> charles: net.c line 314.
11:59 < klapaucjusz> Please change the value to 8192.
12:00 < charles> okay but why?
12:00 < klapaucjusz> I'm not sure it will trigger, but having space for 4 full-sized segments is always a good idea.
12:01 < klapaucjusz> It means you have a better chance of recovering from a lost segment
2009-12-02 20:03:27 +00:00
Charles Kerr 560ecbe9bb (trunk libT) fix implicit pointer conversion error when #included in C++ 2009-12-02 19:44:01 +00:00
Charles Kerr 6d008257c8 (trunk libT) minor tweaks: make bencode's int parser code more consistent; make some comments more readable 2009-12-02 15:16:29 +00:00
Charles Kerr 6eec59008c (trunk libT) experimental: Reduce SO_SNDBUF and SO_RCVBUF for tracker announce/scrape messages. Reduce SO_RCVBUF for outgoing peer connections on seeding torrents. 2009-12-02 05:30:46 +00:00
Mitchell Livingston 5392b262d7 10,000 log messages is enough for anyone 2009-12-02 01:55:09 +00:00
Mitchell Livingston ad06c660c8 cap libT's message log 2009-12-01 23:20:00 +00:00
Charles Kerr 9f347f8df1 (trunk) #2119 "daemon should reload settings.json on SIGHUP" -- reload the blocklists, too. Suggested by nano- in irc. 2009-12-01 00:07:18 +00:00
Charles Kerr 12bfde0c2b (trunk) #1663 "crashes on shutdown if libevent loop doesn't exit soon enough" -- maybe crash less frequently now. 2009-11-30 04:58:03 +00:00
Mitchell Livingston 0563580dda inline tr_removeElementFromArray() 2009-11-30 01:31:05 +00:00
Charles Kerr 03351e9a4e (trunk libT) #2607 "avoid unnecessary calls to getPeerCandidates(), wasted cycles in peerIsInUse()" 2009-11-29 18:35:02 +00:00
Charles Kerr 33658647d6 (trunk libT) #2576 "IPv6 support for DHT (BEP #32)" -- silence message "IPv6 DHT not ready." Reported by KyleK; fixed by jch 2009-11-29 18:31:36 +00:00
Charles Kerr 5c3fd1b5cc (trunk libT) #2631 "Add webseed support to magnet links" 2009-11-29 17:49:58 +00:00
Charles Kerr da7ab27ae2 (trunk libT) add SO_SNDBUF, SO_RCVBUF logging messages 2009-11-29 08:53:14 +00:00
Charles Kerr a38fb59c6f (trunk libT, gtk) #2625 "ability to create a magnet link" -- add hook for generating a magnet link from a tr_torrent, and use it in the Torrent Properties dialog in the GTK+ client 2009-11-29 08:27:55 +00:00
Charles Kerr 63027e1d5a (trunk libT) resolve "noslashes" vs "keep_slashes" variable name inconsistency between the declaration and the definition of tr_http_escape() 2009-11-29 08:05:47 +00:00
Mitchell Livingston 4e615c55a0 trivial change to array size 2009-11-29 00:04:29 +00:00
Mitchell Livingston 87823ba99c set two blank functions as inline 2009-11-28 22:29:41 +00:00
Charles Kerr de0d6af06b (trunk libT) remove unnecessary code 2009-11-28 16:25:05 +00:00
Charles Kerr d1f9b8ddee (trunk libT) performance improvements to peer-mgr.c's peerIsInUse() 2009-11-28 07:15:31 +00:00
Mitchell Livingston 2021706c6e remove an unneeded static variable 2009-11-27 18:13:36 +00:00
Mitchell Livingston 8214c797c6 trivial cleanup in the logging code 2009-11-27 17:55:09 +00:00
Charles Kerr 8e7d08fc83 (trunk libT) remove unnecessary calls to tr_msgInit(). Suggested by BentMyWookie. 2009-11-27 15:32:11 +00:00
Charles Kerr c7f061cafc (trunk libT) make tr_msgLoggingIsActive() an inlined function. suggested by BentMyWookie 2009-11-27 15:25:14 +00:00
Charles Kerr 864ae61a70 (trunk libT) tweak the debugging message for the atom manager 2009-11-27 14:27:44 +00:00
Charles Kerr fc0a8b7c93 (trunk) #2614: "incorrect memory usage when not using IPv6" -- accepted dht.c + tr-dht.c patches 2009-11-27 14:18:32 +00:00
Charles Kerr 47c6ec5efa (trunk libT) #2551: "when uploading to peers, prefetch local data from disk" -- fix peer-msgs.c NULL pointer dereference introduced in r9514 for this ticket. Reported by Waldorf 2009-11-27 03:21:21 +00:00
Charles Kerr d7d5bb6db7 (trunk libT) #2610 "avoid unnecessary calls to time(NULL)" -- fix new assertion error reported by John Clay and tstevens 2009-11-27 02:24:48 +00:00
Charles Kerr e1c6b792aa (trunk libT) #2610 "avoid unnecessary calls to time(NULL)" 2009-11-26 18:47:08 +00:00
Charles Kerr d096b39f4b (trunk libT) #2430 "peer atom pool grows too large" -- tweak the default atom shelf lives based on discussion in the ticket's comments section 2009-11-26 18:38:37 +00:00
Charles Kerr cebcc3b6ef (trunk libT) #2096 "magnet links" -- add a callback for clients to know when a magnet torrent's metainfo is finished downloading. 2009-11-26 17:58:44 +00:00
Charles Kerr 931afc7d2a (trunk libT) fix variable name oops 2009-11-26 16:53:45 +00:00
Charles Kerr 909d2183be (trunk libT) fix size_t-to-int compiler warning 2009-11-26 06:16:08 +00:00
Charles Kerr 1101f6710e (trunk libT) #2430 "Peer atom pool grows too large" -- add an atom expiration system along the lines of the suggestions in this ticket's comments. jch and KyleK, let me know if you think anything in this commit needs improvement. 2009-11-26 05:13:58 +00:00
Charles Kerr cf69b11031 (trunk libT) #2595: "file too large error?" -- this can generate an EFBIG warning sparse preallocation is on and the peer makes an invalid request. At worst this kind of oddball case should generate a debug message notice, not a torrent error. Reported by Waldorf. 2009-11-25 19:26:30 +00:00
Charles Kerr 04011d212b (trunk libT) #2110: "allow adding torrents with no trackers" -- fix crash in tr_torrentSetAnnounceList() when the new number of trackers is 0. Reported by Rolcol. 2009-11-25 18:57:54 +00:00
Charles Kerr f585379bed (trunk libT) silence implicit size_t-to-int compiler warning 2009-11-25 17:21:11 +00:00
Charles Kerr 197cf649bf (trunk) more magnet work. fix a couple of bugs reported by rolcol: (1) crash with incomplete dir + magnet links; (2) dialog focus issue in the gtk client 2009-11-25 08:22:57 +00:00
Charles Kerr 4df666bb22 (trunk libT) #2110: "allow adding torrent files with no trackers" -- tr_torrentParse() shouldn't fail just because there aren't any announce URLs in the metadata 2009-11-25 05:13:58 +00:00
Charles Kerr 5e51618f83 (trunk libT) fix the resume files' "percent done" bug that was introduced yesterday with the magnet link commit 2009-11-25 05:10:27 +00:00
Mitchell Livingston 358160f7ae tr_cpPercentComplete() considers cases where size is 0 2009-11-25 05:01:51 +00:00
Charles Kerr 018e4b1330 (trunk libT) fix minor trunk-only memory leak of the tr_session::incompleteDir string 2009-11-25 04:44:12 +00:00
Charles Kerr 3799fa2ec7 (trunk libT) more work on magnet links. 2009-11-25 04:12:55 +00:00
Charles Kerr 78a2d66e15 (trunk libT) fix magnet code memory leak 2009-11-24 19:45:36 +00:00
Charles Kerr 034023f148 (trunk libT) fix another edge case for magnet links 2009-11-24 19:08:13 +00:00
Charles Kerr c0fa9c5e9d (trunk libT) fix bitset crash. add bitset.h to the automake file. 2009-11-24 18:22:57 +00:00
Charles Kerr c102f199c3 (trunk libT) don't allow duplicate torrents to be added via magnet links 2009-11-24 17:31:20 +00:00
Charles Kerr 3610c5ea62 (trunk) more magnet fixes 2009-11-24 17:10:40 +00:00
Charles Kerr d98666e740 (trunk libT) simple fix from jch 2009-11-24 15:55:21 +00:00
Charles Kerr d5ae900e4e (trunk) #2096 "magnet links": in libT, cleanup. in GTK+ client, add different status text in the main window for magnet torrents: "downloading .torrent data" 2009-11-24 15:51:16 +00:00
Charles Kerr 8ea0aa2845 (trunk libT) oops 2009-11-24 03:37:54 +00:00
Charles Kerr f69e335291 (trunk) #2096: Magnet, BEP #9 support 2009-11-24 02:16:31 +00:00
Charles Kerr 1cbbcf9fa1 (trunk libT) jch's patches 0001 through 0004 for ticket #2576, IPv6 support for DHT (BEP #32) 2009-11-24 01:59:51 +00:00
Charles Kerr 4322837189 (trunk) remove dead code 2009-11-23 21:57:10 +00:00
Charles Kerr 94a48c4c81 (trunk libT) a very minor commit. remove trailing spaces from lines and other stuff like that 2009-11-22 03:57:36 +00:00
Mitchell Livingston be85dc0fac a couple of more swarm speed removals 2009-11-22 01:12:44 +00:00
Mitchell Livingston 2b492cdb6e #2592 remove swarm speed from libtransmission 2009-11-22 01:03:36 +00:00
Charles Kerr ec08e333a2 (trunk libT) fix a stupid trunk-only bug that messed up which peer requests we responded to. maybe this has something to do with the slower speeds Rolcol's seeing? 2009-11-22 00:52:11 +00:00
Mitchell Livingston 9dc679ab58 Display the proper seeder/leecher/download count for backup trackers, instead of all zeros. 2009-11-21 03:13:27 +00:00
Charles Kerr 22f7a64aa2 (trunk libT) #2575: PEX is not meant to do forwarding 2009-11-20 07:47:31 +00:00
Charles Kerr 9383a6abfd (trunk libT) #2096: add code magnet URL parser and unit tests 2009-11-20 04:38:19 +00:00
Charles Kerr 4b563b7bde (trunk libT) #2589: similar to r9529, just removing more redundant calls to time(NULL) 2009-11-19 20:31:34 +00:00
Charles Kerr 2b71014888 (trunk libT) #2589: unnecessary calls to time() cause high CPU load 2009-11-19 03:00:20 +00:00
Mitchell Livingston 446b10071d clean up bitspirit a bit more 2009-11-16 23:29:26 +00:00
Mitchell Livingston e0b9d93ea4 add yet another BitSpirit peer id 2009-11-16 23:14:47 +00:00
Charles Kerr 06004319d7 (trunk) #2222: revert r8967, as foreshadowed in http://trac.transmissionbt.com/ticket/2222#comment:20 2009-11-14 14:43:31 +00:00
Charles Kerr 1fbcab8880 (trunk libT) make tr_findTorrentFromHash() a public API 2009-11-13 16:41:00 +00:00
Charles Kerr a2c4c0381d (trunk libT) reduce the time we wait for a handshake to complete from 60 seconds to 30. 2009-11-12 05:30:04 +00:00
Charles Kerr cf66227f0d (trunk libT) #2573: Don't send BT_PORT messages over IPv6 2009-11-12 01:59:53 +00:00
Charles Kerr c086da3656 (trunk libT) silence a gcc warning 2009-11-11 01:03:06 +00:00
Charles Kerr 6ad33534e7 (trunk libT) tweak high/normal/low priority peer bandwidth allocation 2009-11-10 19:35:06 +00:00
Charles Kerr 1f0fdba2e8 (trunk libT) #2551: when uploading to peers, prefetch local data from disk 2009-11-10 17:26:04 +00:00
Charles Kerr 44df1d5548 (trunk libT) #2112: provide "ipv6=" parameter to trackers 2009-11-10 17:03:23 +00:00
Charles Kerr 03e9189333 (trunk libT) #2572: don't send empty dictionaries when PEXing 2009-11-10 16:32:14 +00:00
Mitchell Livingston 185728c66c remove unused variable 2009-11-09 13:29:02 +00:00
Charles Kerr 6f54cb01e6 (trunk libT) #2552 "torrent state doesn't change automatically anymore" new version of r9482 that doesn't have the problems pointed out in #2557 2009-11-09 06:36:47 +00:00
Charles Kerr 225384fcc5 (trunk libT) #2502: announce own IPv6 address to peers 2009-11-09 05:45:16 +00:00
Mitchell Livingston 48227fdfe1 eliminate setting an unnecessary null character 2009-11-09 05:08:59 +00:00
Charles Kerr 3759c98d76 (trunk libT) #2551 "better buffer cache management": apply jch's prefetch-base.patch 2009-11-08 23:43:38 +00:00
Charles Kerr b906c125ac (trunk libT) #2548: T's request queue can send out too many duplicate requests 2009-11-08 23:20:00 +00:00
Charles Kerr bccaf64e55 (trunk libT) #2558: "build failure in r9484" 2009-11-06 12:53:05 +00:00
Charles Kerr acc0ded449 (trunk libT) undo #2552's commit r9482 because it causes new problems. #2552 will need a different fix instead. 2009-11-05 15:41:54 +00:00
Charles Kerr 45e84d9ac6 (trunk libT) #2552: Torrent state doesn't change automatically anymore 2009-11-05 01:31:35 +00:00
Mitchell Livingston 288a6d143a fix BitLet peer id 2009-11-04 13:16:53 +00:00
Charles Kerr 197ccfff98 (trunk libT) #2554: JSON_int_t won't use "long long int" unless STDC_VERSION is defined 2009-11-04 03:41:59 +00:00
Mitchell Livingston dd5fa2e6b8 more typo fixes 2009-11-04 02:45:58 +00:00
Mitchell Livingston 77d7a53181 fix typo 2009-11-02 01:40:26 +00:00
Mitchell Livingston aac02231c4 4.3 not 4.2 2009-11-02 01:10:04 +00:00
Mitchell Livingston a43b73aad0 only mark a function as hot when compiled with GCC >= 4.3 2009-11-02 01:09:11 +00:00
Charles Kerr 4d817b0701 (trunk libT) undo r9465 + r9466, which was the experimental new request manager. It still still needs some tinkering before it's ready for the nightlies...(trunk libT) undo r9465 + r9466, which was the experimental new request manager. It still still needs some tinkering before it's ready for the nightlies...(trunk libT) undo r9465 + r9466, which was the experimental new request manager. It still still needs some tinkering before it's ready for the nightlies...(trunk libT) undo r9465 + r9466, which was the experimental new request manager. It still still needs some tinkering before it's ready for the nightlies...(trunk libT) undo r9465 + r9466, which was the experimental new request manager. It still still needs some tinkering before it's ready for the nightlies...(trunk libT) undo r9465 + r9466, which was the experimental new request manager. It still still needs some tinkering before it's ready for the nightlies...(trunk libT) undo r9465 + r9466, which was the experimental new request manager. It still still needs some tinkering before it's ready for the nightlies...(trunk libT) undo r9465 + r9466, which was the experimental new request manager. It still still needs some tinkering before it's ready for the nightlies...(trunk libT) undo r9465 + r9466, which was the experimental new request manager. It still still needs some tinkering before it's ready for the nightlies... 2009-11-02 00:17:30 +00:00
Charles Kerr 296411e093 (trunk libT) turn off a debugging message in the terminal 2009-11-01 03:56:10 +00:00
Charles Kerr 0a4d8602e0 (trunk libT) #2548: T's request queue can send out too many duplicate requests 2009-11-01 02:10:47 +00:00
Charles Kerr 37dda955a1 (trunk libT) use __attribute__((nonnull)) where appropriate. remove two unused functions tr_int2ptr(), tr_ptr2int() 2009-11-01 01:35:06 +00:00
Charles Kerr 060bd2f722 (trunk libT) #2547: fix tr_lowerBound() 2009-10-31 22:16:06 +00:00
Charles Kerr 3a75050be4 (trunk libT) undo all the test commits for #2533 from r9445 through r9451. The problem appears to be an llvm issue, reported upstream @ apple dev center bug #7353773 2009-10-31 00:54:03 +00:00
Charles Kerr 7113ae2502 (trunk libT) BANG 2009-10-30 22:03:32 +00:00
Charles Kerr 9ae5ce0bf8 (trunk libT) tear out another line of code. subtle, this isn't. this is like figuring out which neighbor is stealing your newspaper in the morning by secretly shooting a different neighbor each morning until the paper stops disappearing. 2009-10-30 21:51:59 +00:00
Charles Kerr 66eac308ef (trunk libT) still banging along at #2533 2009-10-30 21:41:41 +00:00
Charles Kerr 632f98c8fd throwing darts in the dark. this smells like a compiler bug. 2009-10-30 17:29:51 +00:00
Charles Kerr 8bdaedc723 (trunk libT) lather, rinse, repeat 2009-10-30 17:17:53 +00:00
Charles Kerr 586deb9d12 (trunk libT) Adding term debug messages to help track down #2533 w/m1b and *acrocivious 2009-10-30 16:46:33 +00:00
Charles Kerr a7361372c3 Adding term debug messages to help track down #2533 w/m1b 2009-10-30 16:24:58 +00:00
Charles Kerr 08e936704c (trunk libT) fix signed/unsigned comparison warnings on amd64 2009-10-30 14:53:17 +00:00
Charles Kerr a34d742e36 (trunk libT) OS X fix for tr_torrentDeleteLocalData() -- .DS_Store gave it trouble 2009-10-30 04:23:51 +00:00
Charles Kerr f5b97d43c9 (trunk libT) portability improvements to tr_moveFile() 2009-10-30 03:53:41 +00:00
Charles Kerr ea072953c5 (trunk libT) one-liner fix for #2544 (launchpad 458735): crash in port forwarding if evtimer gets deleted 2009-10-30 03:20:53 +00:00
Charles Kerr d60fa654cb (trunk libT) fix regression introduced by #2539 that caused single-file torrents to not be deleted even if the user requested it 2009-10-30 02:58:30 +00:00
Charles Kerr 35d8a00912 (trunk libT) another hammer-the-network-less patch like r9414 2009-10-29 18:11:10 +00:00
Charles Kerr c61f8987de (trunk libT) #2538 startup takes too long 2009-10-29 17:25:03 +00:00
Charles Kerr b5042148e8 (trunk libT) #2539: "incomplete folder" feature may lead to deleted files 2009-10-29 17:00:22 +00:00
Charles Kerr 3680896a19 (trunk libT) #2508 atom->port never updated 2009-10-29 16:10:03 +00:00
Charles Kerr c9b071015f (trunk libT) #2530: Announce attempt to invalid tracker occurs too often 2009-10-28 04:53:39 +00:00
Charles Kerr 4b804e32ed (trunk libT) another tweak to tr_torrentSetLocation() 2009-10-28 04:50:37 +00:00
Mitchell Livingston 693897ce4c BitTorrent Embedded -> SDK 2009-10-28 03:48:54 +00:00
Mitchell Livingston c0d68a06c9 add "BitTorrent Embedded" to client list 2009-10-28 03:31:02 +00:00
Charles Kerr 22e3f1175a (trunk libT) #2531: when the user moves a torrent from one location to another, we don't need to reverify if the files are just rename()d 2009-10-27 23:00:34 +00:00
Charles Kerr 087f75e1ce (trunk libT) #2518: overzealously alarmist re unresponsive trackers 2009-10-27 21:03:13 +00:00
Charles Kerr bcce43021f (trunk libT) fix #2534: if port forwarding is disabled, tr_sessionClose() closes a random file descriptor 2009-10-27 20:29:02 +00:00
Charles Kerr 858e691381 (trunk libT) add a wrapper function, tr_netCloseSocket(), around EVUTIL_CLOSESOCKET() so that not all of our code has to #include evutil 2009-10-27 20:27:27 +00:00
Charles Kerr 7a4f22ba12 (trunk libT) use part of hexum's patch from <http://forum.transmissionbt.com/viewtopic.php?p=41572#p41572>. The part added sorts peers by their overall speed when deciding which ones to disconnect from first, and which to request from first. 2009-10-27 20:06:55 +00:00
Charles Kerr 2acc006807 (trunk libT) There seems to be a lot of talk about T hosing routers, preventing other network traffic, etc. As an experiment let's try reducing the number of new connections we allow per second and see if/how that affects performance. 2009-10-27 16:08:38 +00:00
Mitchell Livingston 130c9af1d1 on second thought, the other UI's might want this value sooner or later, and it's cheaper to calculate it in the stat function 2009-10-25 18:49:20 +00:00
Mitchell Livingston a5e0b6e5b2 since the Mac UI is the only one to use it, move percentRatio calculation into the Mac code 2009-10-25 18:45:35 +00:00
Mitchell Livingston 9254de1a36 smooth out the upload eta the same way as the download eta 2009-10-25 02:42:57 +00:00
Mitchell Livingston 47e19c4410 when calculating the "smoothed" eta, 1. only factor in previous speeds when those speeds were recent (ie. if we just resumed from pause, discard the previous speed) and 2. factor in if the speed was 0 as well 2009-10-25 02:36:03 +00:00
Charles Kerr 55c59fa478 (trunk) fix r9380 #2412 timing issue 2009-10-23 05:48:56 +00:00
Charles Kerr 37aaf66d4e (trunk) #2527: daemon should log messages to syslog 2009-10-23 05:00:16 +00:00
Charles Kerr c85ee09fef (trunk) trunk's just been too stable lately. #2119: reload settings.json on SIGHUP 2009-10-23 03:41:36 +00:00
Charles Kerr 00197cc461 (trunk libT) undo today's earlier commit r9381 for #2508 -- looks like I introduced a bug into the patch. 2009-10-22 19:08:45 +00:00
Charles Kerr 73222ce7aa (trunk libT) revert r9345, because all our .torrent and .resume files' hex letters are in lowercase 2009-10-22 18:48:26 +00:00
Charles Kerr bb541fc8d6 (trunk libT) #2508: atom->port never updated 2009-10-22 15:05:56 +00:00
Charles Kerr 9affe9ef59 (trunk libT) #2412: tracker query should use bind address 2009-10-22 05:15:34 +00:00
Charles Kerr baa860e6ce (trunk libT) #2518: r9334 overzealously alarmist wrt unresponsive trackers 2009-10-22 01:28:39 +00:00
Charles Kerr d9e4ddab1f (trunk libT) #2510: port messages not sent for outgoing peer connections 2009-10-22 01:03:17 +00:00
Mitchell Livingston 236bdc594f #2524 torrent peer limit not saved right away 2009-10-21 23:32:02 +00:00
Charles Kerr c59ae60488 libT doesn't need to create the Incomplete directory until it's needed 2009-10-21 19:33:37 +00:00
Charles Kerr adfb6f70a1 (trunk libT) show sha1's hex letters in uppercase, as suggested by waldorf 2009-10-21 16:24:58 +00:00
Charles Kerr 95989a0b21 (trunk libT) add callback notification when a torrent has been moved via RPC 2009-10-21 14:02:02 +00:00
Charles Kerr 0c53f3fa62 (trunk libT) add a couple of hooks for the mac client to use when migrating from its earlier move-on-complete code 2009-10-21 05:03:10 +00:00
Charles Kerr 8d1d91499a (trunk libT) #2520: tor->isRunning is not always saved to .resume file 2009-10-21 02:45:49 +00:00
Charles Kerr eef6177f0a (trunk libT) #1483: fix bug introduced in r9328 2009-10-20 20:19:41 +00:00
Charles Kerr 0df58b9ab4 (trunk libT) change the new public API a little bit -- clearer, but a little wordier 2009-10-20 04:43:51 +00:00
Charles Kerr 7b5dcdf6d1 (trunk libT) semi-paranoid safeguard: when searching for a torrent's file, look for finished versions (normal filename) before unfinished ones (with the .part suffix). In the unlikely event of a bug where both exist, it's better for Transmission to use the finished one... 2009-10-20 04:15:10 +00:00
Charles Kerr 27b9f6e27d (trunk libT) make the ".part" suffix an optional feature as per BMW's request. Clean up the code a little. 2009-10-20 03:14:44 +00:00
Charles Kerr 5a96ee9fc4 (trunk libT) make tr_torrentFindFile() a public API 2009-10-19 13:55:42 +00:00
Charles Kerr 6af5b7691e (trunk libT) make tr_torrentFileCompleted() safe for older torrents that were incomplete before the ".part" feature was added 2009-10-19 13:15:46 +00:00
Charles Kerr c35beb3843 (trunk) #1483: move completed torrents to a user-specified directory 2009-10-19 05:25:50 +00:00
Charles Kerr 05c77cc975 (trunk) #1483: move completed torrents to a user-specified directory + #629: different file extension for incomplete files 2009-10-19 05:05:00 +00:00
Charles Kerr d6acde35d3 (trunk libT) #2360: ratio-limit becomes a strange value on uClibc 2009-10-14 13:22:42 +00:00
Charles Kerr 2e3a3e60aa (trunk libT) #2498: DHT broken 2009-10-12 23:16:51 +00:00
Charles Kerr 3da08652ba (trunk libT) #2494: Adding a tracker changes announce status from time to "queued." 2009-10-12 06:08:28 +00:00
Mitchell Livingston 2af26e1d7c #2488 when sorting by tracker, first use the tracker that comes first alphabetically 2009-10-11 13:42:10 +00:00
Charles Kerr fde3abaa1e (trunk libT) fix scrape status string error reporte by bmw 2009-10-11 04:39:24 +00:00
Charles Kerr 504eaa6410 (trunk, libT) #2425: New torrents are verified after pause. 2009-10-11 03:10:17 +00:00
Mitchell Livingston 4290927563 retain previous announce/scrape info when a tracker becomes a backup 2009-10-10 20:46:24 +00:00
Mitchell Livingston 2730f9ac9c finish #2463 2009-10-10 20:25:05 +00:00
Charles Kerr b7677f7059 (trunk libT) #2463 if at first you don't succeed... 2009-10-10 20:14:26 +00:00
Charles Kerr fe2d851e5b (trunk libT) #2489: stricter checking of fringe cases in tr_torrentSetAnnounceList() 2009-10-10 19:39:43 +00:00
Charles Kerr 2a22e1782f (trunk libT) #2489: tr_torrentSetAnnounceList() should check for invalid and duplicate announce URLs 2009-10-10 19:16:21 +00:00
Charles Kerr 0fd817b757 (trunk libT) more assertions to help find the cause of #2480 2009-10-10 17:37:34 +00:00
Charles Kerr 61042404ad (trunk) replace tr_tracker_stat's "isActive" field with the more descriptive "isBackup" 2009-10-10 00:17:00 +00:00
Charles Kerr f607c7591a (trunk) #2463: 'Mac Client shows huge "next announce in" timer' 2009-10-09 21:30:34 +00:00
Charles Kerr f92fd55a80 (trunk libT) add a couple more debugging assertions into the nightlies to try & smoke out the handshake/peer-io crashes 2009-10-09 20:06:22 +00:00
Charles Kerr 5b19021ab1 (trunk libT) #2393: Transmission deletes all files when moving to the same physical directory 2009-10-07 03:49:55 +00:00
Charles Kerr 90d612f9a9 (trunk libT) remove randOffset from announcer; the new announce queue handles load balancing 2009-10-03 14:08:05 +00:00
Charles Kerr aad2a886be fix oops 2009-10-03 13:17:18 +00:00
Charles Kerr 412f0b40a2 (trunk libT) fix a crash reported by John Clay and silence a gcc warning 2009-10-03 13:15:32 +00:00
Charles Kerr 21bd104bda (trunk libT) #2471: added/removed trackers aren't applied until restart 2009-10-02 04:54:02 +00:00
Charles Kerr b9a4f418ed (trunk, libT) filter out unsupported announce addresses 2009-10-02 02:03:30 +00:00
Charles Kerr 5819ffc2d8 (trunk, libT) #2464: Mac Client shows incorrect announce/scrape results for backup trackers 2009-09-30 20:49:52 +00:00
Charles Kerr d08ab9e510 (trunk libT) #2429: add some more assertions to help smoke out this bug 2009-09-28 18:22:57 +00:00
Mitchell Livingston 79b5c3e596 show N/A for peer counts when there hasn't been a scrape/announce yet 2009-09-28 15:16:23 +00:00
Charles Kerr b32e5cc25d (trunk libT) #2450: --find should not delete original 2009-09-27 18:48:00 +00:00
Charles Kerr a2b8588206 (trunk libT) possibly fix a crash-on-shutdown reported by John_ 2009-09-27 00:27:51 +00:00
Charles Kerr 79035d3b83 (trunk libT) possibly fix a crash-on-shutdown reported by John_ 2009-09-26 23:54:30 +00:00