Commit Graph

3152 Commits

Author SHA1 Message Date
Mitchell Livingston 12275ccc10 #3041 remove the code to skip lines with unreadable characters (this was skipping valid lines); add temporary extra debugging 2010-04-30 22:58:03 +00:00
Charles Kerr 5eab3318ff (trunk libT) #3117 "Tracker queries to not honor bind-address-ipv4" -- fix a crash-on-shutdown reported by Waldorf in #3181. The crash was introduced by r10535 for #3117 2010-04-30 17:38:40 +00:00
Charles Kerr 24129b9bf5 (trunk libT) #2551: "when uploading to peers, prefetch local data from disk" -- commit jch patch #1, to prefetch when a block is requested. I was surprised, but when measuring io time with and without this patch, it *is* an improvement... 2010-04-30 00:27:15 +00:00
Charles Kerr 7da3b81cda (trunk libT) #2551 "when uploading to peers, prefetch local data from disk" -- commit jch patch #2, which prefetches before checksumming an individual piece 2010-04-30 00:04:15 +00:00
Charles Kerr 6643f98346 (trunk libT) #1869 "New status for torrents that reached the seed ratio" -- maybe fix the bug where the incomplete-dir and seed-ratio features conflicted with each other as reported by leena in http://trac.transmissionbt.com/ticket/1869#comment:45 2010-04-29 23:35:44 +00:00
Charles Kerr d384b38f07 (trunk) minor transmission.h API cleanup.
1. remove tr_sessionGetActiveTorrentCount()
2. make tr_sessionCountTorrents() package-visible instead of public.
3. make tr_torrentGetActivity() private instead of public.
2010-04-29 23:08:11 +00:00
Charles Kerr 31f4d24004 (trunk libT) #3172 "transmission overwrites settings.json" -- fixed with kklimonda's patch for 2.00 2010-04-29 18:56:34 +00:00
Charles Kerr 0fc7e232a4 (trunk libT) bump MAX_PATH_LENGTH from 2048 to 4096 based on report from kklimonda that the latter number is correct on Ubuntu 2010-04-29 13:57:58 +00:00
Charles Kerr 97affa46a9 (trunk libT) #2609 "Leave 5% of connection slots for incoming connections" -- implemented in trunk for 2.00 2010-04-29 03:21:54 +00:00
Charles Kerr d0873d8369 (trunk libT) reduce the period to sleep per second during verification from 200 msec to 100 msec 2010-04-28 19:04:09 +00:00
Charles Kerr 37663cf9e3 (trunk libT) #3041 "Blocklist - bad peers decreases after update; corrupt error messages" -- fix r10533 oops. fggets() doesn't strip linefeeds, so when filtering out lines with nonprintable characters, a line shouldn't fail the test just because or \r or \n. :) 2010-04-28 14:51:38 +00:00
Charles Kerr ef2fd245cf (trunk libT) #3078 "Transmission closes socket after SIGHUP" -- experimental fix 2010-04-28 04:57:21 +00:00
Charles Kerr 4b5044ad28 (trunk libT) #3117 "Tracker queries do not honor bind-address-ipv4" -- possible fix 2010-04-28 00:32:43 +00:00
Charles Kerr efe648e2d7 (trunk libT) fix a new assertion error from the nightlies reported by Ryoujin 2010-04-27 13:43:03 +00:00
Charles Kerr 3845a60c2f (trunk libT) #3041 "Blocklist - bad peers decreases after update; corrupt error messages" -- better error messages when fed unprintable characters 2010-04-27 03:58:25 +00:00
Charles Kerr 04272a6c30 (trunk libT) remove debugging fprintf() 2010-04-26 22:00:34 +00:00
Charles Kerr 9c94512672 (trunk libT) don't escape the '/' character in json strings 2010-04-25 15:30:50 +00:00
Charles Kerr c4d76cd8d0 (trunk libT) slightly better comment i tr_torrentFileCompleted() 2010-04-25 15:19:08 +00:00
Charles Kerr 52bad7b8a0 (trunk libT) #3164 "crash in tr_peerIoReconnect()" -- after attempting to reconnect, re-enable the libevent monitoring if the socket can't be created. 2010-04-23 23:48:52 +00:00
Charles Kerr 4f5670f9c0 (trunk libT) #2842 "Transmission crashes randomly on ARM-based Synology NAS" -- experimental commit based on giovannibajo's suggestion in comment:39 about the list struct's alignment 2010-04-23 23:45:44 +00:00
Charles Kerr 74216be9df (trunk libT) "transmission.h" should *always* be #included before any other libtransmission header 2010-04-23 16:36:16 +00:00
Charles Kerr 75d92bfb33 (trunk libT) remove obsolete #include -- clients.c doesn't need to #include <event.h> 2010-04-23 16:35:11 +00:00
Charles Kerr 75663defbc (trunk libT) fix error in tr_ctorNew() when initializing the default/fallback ctor values 2010-04-23 14:13:18 +00:00
Charles Kerr 19d261fc40 (trunk libT) fix JSON_parser.c build failure when compiled against some versions of libevent 1.4.x. Reported by Lacrocivious in #transmission. This probably was introduced in r10492 when I updated the JSON_parser.c snapshot. 2010-04-23 14:10:39 +00:00
Charles Kerr 921bb00d7c (trunk libT) #3126 "Incomplete Dir. doesn't need to be auto created" -- have the default incomplete dir be the same as the default download dir. The Mac client already does it this way. 2010-04-22 04:15:49 +00:00
Charles Kerr 9d3e02ce5c (trunk libT) #2993 '"Downloaded" much greater than "Have" or "verified"' -- tweak the download throttle algorithm a bit to try & address the slowness reported by Rolcol @ http://trac.transmissionbt.com/ticket/2993#comment:42 2010-04-22 03:12:31 +00:00
Charles Kerr 559af38e7b (trunk libT) #3162 "allow optional end-user configuration of TCP_CONGESTION" -- minor tweak removing a little bit of code duplication in r10508 2010-04-22 02:04:43 +00:00
Charles Kerr 00f452d942 (trunk libT) #3162 "allow optional end-user configuration of TCP_CONGESTION" -- add jch's implementation of this to trunk for 2.00 2010-04-22 01:49:16 +00:00
Charles Kerr 25103d5198 (trunk libT) #3159 "better choosing of which peers to initiate new connections with" -- fix new bug in r10500 that was reported by Sharpshot in #3160 2010-04-21 04:44:35 +00:00
Charles Kerr 3682466488 (trunk libT) #3136 "slashes in magnet names" -- fixed in trunk for 2.00 2010-04-20 23:14:00 +00:00
Charles Kerr 546bca723b (trunk libT) #3159 "better decision-making when choosing which peers to initiate new connections with" -- experimental commit 2010-04-20 21:54:03 +00:00
Charles Kerr 10fb49059f (trunk libT) #3047 "Periodic disk access in idle state" -- added to trunk for 2.00 by committing a patch by klapaucjusz into this svn code repository 2010-04-20 03:44:45 +00:00
Charles Kerr 99a5412601 (trunk libT) #3105 "Torrentadd over rpc not files wanted/unwanted bug" -- fixed in trunk for 2.00 2010-04-19 23:10:30 +00:00
Charles Kerr 657a2a4588 (trunk libT) #3154 "crash when saving a blocklist to disk when the disk is full" -- fixed in trunk for 2.00 2010-04-19 16:18:12 +00:00
Charles Kerr 8a2c6c954d (trunk libT) update our JSON_parser snapshot 2010-04-17 13:29:02 +00:00
Charles Kerr 997e747821 (trunk libT) #3145 "Log torrent deletion" -- Longinus00's patch applied to trunk for 2.00 2010-04-17 04:07:56 +00:00
Charles Kerr c808cd624a (trunk libT) #3134 "transmission-remote apparently can't handle apostrophes in errorStrings" -- I'm unable to reproduce the reported behavior, but that's no reason to let a new unit test go to waste... committing the unit test anyway 2010-04-15 19:27:47 +00:00
Charles Kerr aae8a8d202 (trunk) #3141 "Web client should be disabled by default" -- implemented in trunk for 2.0 2010-04-15 18:57:26 +00:00
Charles Kerr 089f9c5f11 (trunk libT) #3140 "Transmission doesn't build with Curl 7.15.5" -- fixed in trunk for 2.00 2010-04-15 15:32:36 +00:00
Charles Kerr b7827565ee (trunk libT) #1869 "new status for torrents that reach seed ratio" -- possible fix for the bug reported by leena 2010-04-15 13:43:54 +00:00
Charles Kerr 1a7bcbbea2 (trunk) #1869 "new status for torrents that reached the seed ratio" -- add temporary debug messages to help track down the issue leena's reporting in that ticket 2010-04-14 13:36:43 +00:00
Charles Kerr 8f0487b9d3 (trunk libT) in seedRatio, handle the case where a file is downloaded more than once 2010-04-14 00:34:31 +00:00
Charles Kerr 0aa422e262 (trunk libT) #1869 "new status for torrents that reached the seed ratio" -- maybe fix the issue reported by leena 2010-04-14 00:03:23 +00:00
Mitchell Livingston 39515ea28b use leftUntilDone instead of percentDone when determining finished status 2010-04-13 00:20:04 +00:00
Charles Kerr a2d56b832d (trunk libT) back out r10075, because r10336 addresses the same problem in a better way. r10075 changed the default preallocation to `full' if fallocate64() is present, and r10336 added fallocate64() as the first-attempt mechanism for `fast' preallocation 2010-04-11 13:32:41 +00:00
Mitchell Livingston 7a086ec6df update miniupnp to 20100407 2010-04-07 22:45:35 +00:00
Mitchell Livingston 05cf5fccef when the ratio is set to unlimited when resuming, reload the inspector 2010-04-02 18:05:39 +00:00
Mitchell Livingston 6a4954e867 #1869 Move the finished state to libtransmission. This setting is now remembered between launches. This also causes torrents that hit the seed ratio to not have this setting changed to unlimited until start. 2010-04-02 17:57:25 +00:00
Charles Kerr 5af66dffcd (trunk libT) #3104 "tr-dht.c: signed port number" -- fixed in trunk for 2.00 2010-03-31 18:52:07 +00:00
Charles Kerr a42b084924 (trunk libT) #3091 "tr_ctorSetDownloadDir() should check for empty string" -- fixed in trunk for 2.00 2010-03-28 12:07:04 +00:00