Commit Graph

2684 Commits

Author SHA1 Message Date
Charles Kerr 9bf4c599b8 (trunk libT,gtk) plug a couple of minor leaks reported by valgrind 2009-09-26 23:46:30 +00:00
Charles Kerr 459bea37f9 (trunk libT) remove a couple more debugging printf() calls 2009-09-26 13:21:46 +00:00
Charles Kerr 681584e58e (trunk libT) possibly fix a crash reported by stdisease 2009-09-26 06:43:44 +00:00
Charles Kerr 4a09a1de13 (trunk) remove tr_stats fields: downloaders, leechers, seeders, timesCompleted as per discussion with livings 2009-09-26 06:20:33 +00:00
Charles Kerr d7c4537f2a (trunk, libT) #2379: infinite ratio shows as nan, invalid json 2009-09-26 04:24:45 +00:00
Charles Kerr 52f212fc9a (trunk libT) remove some debug printfs 2009-09-26 04:13:09 +00:00
Charles Kerr 28e119c1bb (trunk) copy-by-value changes to tr_tracker_stat 2009-09-26 03:36:58 +00:00
Charles Kerr 5b46b63b23 (trunk gtk) implement 'edit trackers' window in gtk client 2009-09-26 00:48:07 +00:00
Charles Kerr 86ada18266 (trunk)
#1699: Announce to multiple trackers at once
#2424: Tracker address is not listed in GTK client.
2009-09-25 21:05:59 +00:00
Charles Kerr 172d64c32c (trunk libT) #2416: possible fix for 'crash in event_queue_insert' on Snow Leopard 2009-09-23 15:28:11 +00:00
Charles Kerr 6656c6d71e (trunk libT) #2420 - Transmission should follow PEX conventions 2009-09-17 19:05:18 +00:00
Charles Kerr 034d14639a (trunk libT) use tr_torrentName() instead of tor->info.name 2009-09-17 03:24:35 +00:00
Charles Kerr 9b9c910d67 when creating a new torrent and a tracker announce URL can't be parsed, set a variable so that the client can learn which announce URL was the bad one 2009-09-17 01:18:59 +00:00
Charles Kerr ff260ee2fb (trunk libT) fix a couple of compiler warnings from the last commit. 2009-09-10 03:28:55 +00:00
Charles Kerr 19b3a84133 (trunk libT) fix oops 2009-09-10 03:07:54 +00:00
Charles Kerr fb83a0464e (trunk libT) #2395: caching too many peers between sessions makes startup slow and uses too much memory (KyleK, stdisease, et al) 2009-09-10 02:20:35 +00:00
Charles Kerr fa1fa11fdb (trunk, libT) #2390: when you add a new torrent while one is verifying local data, the new torrent will be added on wait list, rather than download automatically. (Reported by Adys in irc) 2009-09-09 12:44:11 +00:00
Charles Kerr 9af75365d2 (trunk libT) a test commit -- possible fseek fix for Rabbitbunny 2009-09-09 03:23:50 +00:00
Charles Kerr 9a02f9e48e fix r9073 oops; I committed a few debugging changes by accident too 2009-09-08 20:02:51 +00:00
Charles Kerr b7821bfb16 delete the obsolete zsh bindings 2009-09-08 20:01:12 +00:00
Charles Kerr 3524ae637e (trunk libT) sync the announce/scrape timeout intervals in trunk with those in 1.7x 2009-09-08 18:39:20 +00:00
Charles Kerr c7e2a29f57 add better logging to track down tr_ioRead() error messages reported by Rabbitbunny 2009-09-08 06:25:40 +00:00
Charles Kerr bd41421591 decide at runtime, rather than compile time, whether to use curl_multi_action 2009-09-08 05:18:46 +00:00
Charles Kerr 600e2d26ec (trunk libT) make tr_ptrArrayErase() private 2009-09-07 21:57:15 +00:00
Charles Kerr 0ef34b64b7 (trunk, libT) sibling to r9027, remove more unused code 2009-09-07 06:23:15 +00:00
Charles Kerr e22922f682 (trunk libT) disable the sorted ptrArray assertions in non-mac release builds 2009-09-06 22:52:13 +00:00
Charles Kerr c930f805cb (trunk libT) #2383: Faster verification for local data with small piece size 2009-09-06 14:05:06 +00:00
Charles Kerr 44d785f9ca (trunk libT) #2284: crashes when some invalid torrents are added. reported by Flemzard in irc 2009-09-05 16:51:22 +00:00
Charles Kerr 515a3f986f (trunk, libT) fix code in the UTF8-to-JSON serializer that could fall into an infinite loop when fed some inputs. This may be ticket #2326 or may get its own retroactive ticket, depending on feedback from #2326's reporter 2009-09-02 15:26:34 +00:00
Charles Kerr 1184d58302 (trunk libT) revert r9026 from ticket #2357 2009-09-01 03:42:16 +00:00
Charles Kerr be98310bb5 remove unused code 2009-08-31 23:31:43 +00:00
Charles Kerr 78b23a933d (trunk libT) #2357: the "upload_only" key sent in PEX should also be sent to trackers 2009-08-31 18:33:25 +00:00
Charles Kerr fdc61b0d0b (trunk libT) #2373: Handle HTTP redirects more gracefully 2009-08-31 17:18:58 +00:00
Charles Kerr 23b3faada4 (trunk libT) #2372: 'Unregistered Torrent Pass' Pauses Download 2009-08-31 16:41:54 +00:00
Charles Kerr ed512c215f (trunk, libT) #2365: Peer settings for an individual torrent should override the global limit. 2009-08-31 15:59:43 +00:00
Charles Kerr ae9e59c8af add KGet to the clients list 2009-08-29 14:42:58 +00:00
Charles Kerr 6a2de9864d fix --disable-dht error in 1.74 reported by DimStar 2009-08-25 13:55:32 +00:00
Charles Kerr 786887b147 (trunk libT) tell libcurl to set a time limit of 120 seconds for announces; 30 seconds for scrapes 2009-08-22 23:22:50 +00:00
Charles Kerr e7a4ee9d82 (trunk) un-remove the conditional DHT compiling for now for reasons discussed @ http://lists.opensuse.org/opensuse-gnome/2009-08/msg00033.html. I'll re-remove it for 1.80. :) 2009-08-18 16:02:16 +00:00
Charles Kerr 6dedb0433b (trunk libT) better throttling back of outgoing download requests when speed limits are turned on 2009-08-18 01:57:17 +00:00
Erick Turnquist fbfaeda8df (trunk libT): do EAFNOSUPPORT check on socket() errno on all platforms 2009-08-17 18:49:21 +00:00
Charles Kerr 14dfd896ba (trunk libT) a debugging message was accidenally being dumped to the terminal. Reported by ubuntuforums user "Nevermor7" in <http://ubuntuforums.org/showpost.php?p=7743702&postcount=1> 2009-08-16 21:09:08 +00:00
Charles Kerr 37a4a5c68e (trunk libT) fix pause-on-shutdown bug reported by KyleK and introduced in r8878 for #2317. 2009-08-15 21:09:06 +00:00
Charles Kerr 1c5b344c85 (trunk libT) remove dead code noticed by geirha 2009-08-15 15:52:10 +00:00
Charles Kerr f7129f2f30 (trunk libT) #2335: when verifying local data, pause a few msec between pieces to give the system some breathing room and other processes a shot at the disk IO 2009-08-14 20:55:22 +00:00
Charles Kerr 30bc1c6e7a (trunk libT) revision to r8910 for #2162: check to see if a field's value has actually changed before setting the "dirty" flag. 2009-08-14 14:41:59 +00:00
Charles Kerr 61e95595b8 (trunk) move tr_lockfile from libtransmission/ to gtk/, since the gtk client is the only one who uses it anymore 2009-08-14 12:53:08 +00:00
Charles Kerr d318f1f0b8 (trunk libT) revision of r8915 for #1765: give the same user-level warning message if T first notices that a torrent's disappeared when it's doing a tr_torrentVerify() 2009-08-13 19:28:06 +00:00
Charles Kerr 9d0760e58c (trunk libT) revision of r8915 for #1766: flag the warning message for translation. 2009-08-13 17:56:50 +00:00
Charles Kerr deb25906d0 (trunk libT) fix #1765: "if a downloaded file disappears, stop the torrent instead of redownloading it" 2009-08-13 17:50:41 +00:00
Charles Kerr 11717de1d0 (trunk libT) fix #2332: filesystem-based error messages lack context 2009-08-13 17:25:26 +00:00
Charles Kerr d08d53d8ed (trunk libT) make the RPC 409 error message easier to understand 2009-08-13 16:50:50 +00:00
Charles Kerr 784464450a (trunk libT) fix #2162: .resume file doesn't get saved often enough when its contents change 2009-08-13 14:47:56 +00:00
Charles Kerr 8e4d837967 (trunk, libT) fix for #2269 ("error message cleared unexpectedly"): a successful scrape clears the error message, and there's no point in scraping an error torrent anyway, so don't scrape until the torrent's error is cleared by a successful announce. 2009-08-12 20:12:52 +00:00
Charles Kerr 306d26a97c (trunk libT) very minor tweak: tr_httpIsValidURL() should return a tr_bool, not an int. 2009-08-12 19:44:32 +00:00
Charles Kerr bf1a544939 (trunk) all this commit does is remove trailing whitespace from some c, c++, and javascript source 2009-08-12 14:40:32 +00:00
Mitchell Livingston 8a7c68194e add another missing peer id 2009-08-12 11:34:07 +00:00
Charles Kerr cf9c9a3e0b (trunk libT) another revision for preventing the bug in #2297 2009-08-12 04:36:59 +00:00
Charles Kerr 97ca8eab39 (trunk libT) possible fix for #2297 by removing potential thread issue in tr_torrentVerify() 2009-08-12 04:08:25 +00:00
Charles Kerr c88dd2de12 (trunk libT) in tr_torrentStar(), there's no need to reload the progress after #2317's changes in r8878 2009-08-12 03:56:53 +00:00
Charles Kerr 57716a0950 (trunk libT) #2211: Behaviour when tracker barfs 2009-08-11 21:31:33 +00:00
Charles Kerr cb79214854 (trunk) remove trailing spaces 2009-08-10 20:04:08 +00:00
Charles Kerr 6fd19fa096 (trunk) remove the option to build without DHT. This is because of new & improved information wrt ticket #2222 2009-08-10 16:09:25 +00:00
Charles Kerr 5d1f1eb8ce (trunk libT) committed patfch from gornack (proofed by juliusz) for ticket #2312 to use the bind-address-ipv4 setting in the DHT announce 2009-08-07 14:47:46 +00:00
Charles Kerr 1419d4b8a1 (trunk libT) #2281: add logging related to DHT (Patch from Juliusz) 2009-08-07 14:38:09 +00:00
Charles Kerr b2e26ea90a (trunk libT) #2318: improve the peer lists used in the .resume file and in PEX 2009-08-07 05:41:33 +00:00
Charles Kerr 24bb159bfe (trunk libT) #2137: .resume file gets saved too frequently 2009-08-07 05:29:37 +00:00
Charles Kerr 67c1c6db95 (trunk libT) possible fix for #2301, which is a valgrind complaint about uninitialized memory being written to disk while saving the bencoded .resume file. this commit theorizes that the warning is caused by not zeroing out the tr_peer array before filling it, so the extra bits in tr_addresses' ipv4/ipv6 union were never initialized. if this theory is correct, this commit (which zeros the memory first) should fix the bug. 2009-08-07 00:58:34 +00:00
Charles Kerr 6a2879f0ee (trunk libT) fix r8871 oops 2009-08-05 02:07:51 +00:00
Charles Kerr 1c3b53244d (trunk) clean up the return value of tr_torrentParse() 2009-08-05 01:59:16 +00:00
Charles Kerr a4767894e7 (trunk) #1400, #2308: differentiate warnings and errors; differentiate between local messages and messages from the tracker 2009-08-05 01:25:36 +00:00
Charles Kerr 723cabb542 (trunk libT) prevent potential rounding errors when sending floating-point numbers across the wire in json form 2009-08-03 23:18:02 +00:00
Charles Kerr 87a7bf043a (trunk libT) possible fix for #2238 as suggested by kjg 2009-08-03 16:24:44 +00:00
Charles Kerr 55cd3a8367 (trunk libT) back out r8765. xref: http://trac.transmissionbt.com/ticket/2253#comment:13 2009-07-18 01:09:56 +00:00
Charles Kerr 69bbff4d92 (trunk libT) fix a couple of minor gcc warnings 2009-07-17 18:00:29 +00:00
Charles Kerr 12f8339406 (trunk libT) remove dead code 2009-07-17 17:23:03 +00:00
Mitchell Livingston ca62075c31 revert r8745 2009-07-17 11:20:30 +00:00
Charles Kerr 202e593f8d (trunk libT) add tr_truncd() unit test 2009-07-14 20:35:48 +00:00
Charles Kerr e5ff7d8f3e (trunk) #2271: rounding problem in printf() 2009-07-14 20:09:46 +00:00
Charles Kerr f443d6d113 (trunk libT) update JSON_parser.c: has UTF16 fix 2009-07-13 22:52:08 +00:00
Eric Petit bc3ffac45b Set some sensible default folders for Haiku 2009-07-09 18:18:14 +00:00
Eric Petit 67440b9286 Don't assume that errnos are positive (they are not on Haiku), and
pass them on through an additional parameter if needed
2009-07-09 18:14:33 +00:00
Eric Petit ff50449d33 Only use libm if it's there and needed 2009-07-09 17:57:31 +00:00
Charles Kerr 5f9c5b553c maybe 1024 is too stringent here 2009-07-07 01:18:53 +00:00
Charles Kerr 33b45e72c6 (trunk libT) fix r8781 oops 2009-07-06 12:27:24 +00:00
Charles Kerr 90097785ca (trunk libT) #1841: Transmission doesn't stick to maximum peer limits 2009-07-05 18:28:36 +00:00
Charles Kerr 5917436e60 (trunk libT) remove dead code 2009-07-04 04:33:23 +00:00
Charles Kerr 4723b4a6e4 (trunk libT) make TR_PREALLOCATE_SPARSE the default value -- too many people are asking why Transmisson "freezes" when it starts downloading a torrent. In the future it would be better to frame the choice between FAST and FULL instead of SPARSE and FULL. this should be revisited later when glibc's fallocate() is widely available and ext4 is more common. 2009-07-03 22:22:01 +00:00
Charles Kerr 1104a4bf4d (trunk libT) dead code removal 2009-07-03 19:45:29 +00:00
Charles Kerr 8970fb14cb (trunk libT) better version of r8775 2009-07-03 14:37:27 +00:00
Charles Kerr 056bba353a (trunk libT) #2263: Night of the Living Dead (removed and deleted torrents keep coming back) 2009-07-03 14:31:31 +00:00
Charles Kerr 48b460c0c3 (trunk libT) #2261: Save memory by not initializing the RPC server's zlib stream until it's needed 2009-07-02 20:20:00 +00:00
Charles Kerr 5258ac0a83 (trunk libT) #2234: add support for setting the file creation umask 2009-07-02 02:37:49 +00:00
Charles Kerr 1e6902a328 (trunk libT) fix r8770 oops 2009-07-02 02:04:34 +00:00
Charles Kerr a8619eb645 (trunk libT) #529: Time remaining for downloads is unreliable 2009-07-02 01:50:07 +00:00
Charles Kerr 32aeae1388 (trunk libT) #2252: Folders stay in the original folder after using "Set location" and moving folder(torrent) 2009-07-01 15:30:17 +00:00
Charles Kerr 24746cff7f (trunk libT) minor #include futzing 2009-07-01 14:58:57 +00:00
Charles Kerr d6ed808f9c (trunk, libT) #2253: I love you, valgrind pt 3 2009-07-01 00:46:30 +00:00
Charles Kerr 58ba65f55b (trunk, gtk/qt) use Monsoon's strings for encryption preferences and Deluge's system tray tooltip. 2009-06-30 18:08:50 +00:00
Charles Kerr 07046a26b2 (trunk libT) inline some one-liners 2009-06-30 16:40:34 +00:00