Charles Kerr
254a1f15cb
(trunk libT) down the rabbit hole: various minor type correctness changes unearthed by -Wconversion
2010-06-30 16:40:19 +00:00
Charles Kerr
7638e44724
(trunk libT) #3320 "If the seed ratio is already met" -- fix a bug in r10848 reported by BMW
2010-06-25 15:39:17 +00:00
Charles Kerr
7e239e932e
(trunk) #3320 : "If the seed ratio is already met when download completes, the Mac callback options do not occur" -- possible fix. needs confirmation from OP or BMW
2010-06-25 06:57:34 +00:00
Charles Kerr
41f9ae0500
(trunk) #3339 "crash when download some magnet links" -- fixed
2010-06-24 20:36:05 +00:00
Charles Kerr
a54270a11a
(trunk libT) #3308 "Don't stop/restart torrents when setting the local data's location" -- fixed
2010-06-24 17:49:20 +00:00
Charles Kerr
5e2a6f6c6a
(trunk libT) #2581 "RPC extended to manage tracker lists" -- add safeguards in tr_torrentSetAnnounceList() to handle the case of tracker arrays not being sorted by tier.
2010-06-23 16:06:15 +00:00
Charles Kerr
5ad7ed550f
(trunk) more win32 fixes from rb07 in #3311
2010-06-22 00:12:52 +00:00
Charles Kerr
db44d81b24
(trunk) #3256 "libtransmission/publish.[ch] should be replaced" -- apply publish.diff for 2.10
2010-06-19 14:33:10 +00:00
Charles Kerr
e70bebf930
(trunk) #1521 "memory cache to reduce disk IO" -- commit block-cache-rc1.diff to trunk for the nightlies.
2010-06-19 14:25:11 +00:00
Charles Kerr
13b073fcdc
(libT) #3291 "tr_torrent.infoDictOffset should be lazily evaluated"
2010-06-16 03:05:23 +00:00
Charles Kerr
0ad06c50e8
(trunk) #3262 "problems with '.' as the first character in a .torrent's filename" -- fixed in trunk for 2.00
2010-06-07 14:25:31 +00:00
Charles Kerr
60ce7e5263
(trunk libT) #3258 "Transmission 1.93 sends 'stopped'+'started' announce instead of 'completed' if the incomplete-dir is enabled" -- probable fix
2010-06-03 16:37:50 +00:00
Charles Kerr
b0b9e17032
(trunk libT) define MAX_BLOCK_SIZE once instead of in a handful of places
2010-05-26 15:23:21 +00:00
Charles Kerr
52d82cee33
(trunk libT) #3235 "Changeset 10293 broke the moving files fron complete to incomplete dir when both dirs have same inode on different devices" -- fixed in trunk for 2.00
2010-05-26 13:46:37 +00:00
Charles Kerr
f3a5eed32b
(trunk libT) #3233 "torrent.c:1695: error: too few arguments to function `ctime_r'" on OpenSolaris
2010-05-25 15:23:16 +00:00
Charles Kerr
5ca8d41816
(trunk libT) #2929 "persistent tracker error messages in main window" -- experimental fix
2010-05-19 19:02:25 +00:00
Charles Kerr
8a83a4bf79
(trunk libT) remove dead function tr_torrentPromoteTracker()
2010-05-19 18:23:47 +00:00
Charles Kerr
7936f0d5d1
(trunk libT) clean up #includes for event.h and evutil.h
2010-05-19 16:17:51 +00:00
Charles Kerr
1b44fecec9
(trunk libT) #1869 "new status for torrents that reached the seed ratio" -- use suggestion from Longinus00 to ensure torrents don't get flagged as finished if the user hits "download none" in the "add torrent" dialog
2010-05-15 22:26:25 +00:00
Charles Kerr
f7d4377fa1
(trunk libT) minor API cleanup: constify array arguments in tr_torrentSetFilePriorities(), tr_torrentInitFileDLs(), and tr_torrentSetFileDLs()
2010-05-12 03:03:29 +00:00
Charles Kerr
da2ef53eeb
(trunk) #1796 "run script after torrent completion" -- implemented for libT, RPC, and the GTK+ and Qt clients
2010-05-08 22:42:28 +00:00
Charles Kerr
2b9ab542cb
(trunk) #3060 "Local Peer Discovery" -- in the code, rename LDS as LPD for Local Peer Discovery
2010-05-08 08:42:45 +00:00
Charles Kerr
5a34347f4f
(trunk) #3060 -- Local Peer Discovery patch from Eszet
2010-05-01 16:04:00 +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
c4d76cd8d0
(trunk libT) slightly better comment i tr_torrentFileCompleted()
2010-04-25 15:19:08 +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
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
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
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
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
83f97a35fe
(trunk libt) #3004 "Transmission doesn't report to the user errors when saving settings files" -- committed Longinus00's patch to trunk for 2.00
2010-03-22 00:55:43 +00:00
Charles Kerr
1d8d9d8447
(trunk libT) code cleanup: after r10346, we don't need to keep the per-torrent cancel/block histories anymore
2010-03-10 15:55:00 +00:00
Charles Kerr
b850349479
(trunk) #2993 "'Downloaded' much greater than 'Have' or 'verified'" -- add new congestion-based throttle for 2.0
2010-03-08 04:29:58 +00:00
Charles Kerr
d83f8e09d3
(trunk libT) #2885 "'Move data file' does not change the location for data yet to be downloaded" -- fixed in trunk for 1.92
2010-03-06 22:33:45 +00:00
Charles Kerr
d54e894ccb
(trunk libT) #3015 : "Transmission announces badly when the port is changed" -- fixed in trunk for 1.92. Thanks to Rolcol for tracking down the cause of this bug.
2010-03-06 21:24:28 +00:00
Charles Kerr
3e9d545713
(trunk libT) #2995 "Incompletely downloaded files not trashed" -- fixed in trunk for 1.92
2010-02-28 15:27:48 +00:00
Charles Kerr
54b394d160
(trunk libT) #2984 "Transmission 1.91/OSX deletes completed download" -- experimental commit, and more debug messages
2010-02-27 18:52:46 +00:00
Charles Kerr
c1a6e7b5d9
(trunk libT) #2933 "looking up torrents by info hash should be case-insensitive" -- fixed in trunk for 1.91
2010-02-21 00:26:54 +00:00
Charles Kerr
71ed8193b8
(trunk libT) (1) reduce the default tracker announce timeout from 120 to 90 seconds. (2) for partial seeds, send an event=paused when we transition from being leeches to partial seeds, just as you would send an event=completed when becoming a seed
2010-02-20 21:03:49 +00:00
Charles Kerr
5a9a07b71e
(trunk) #2938 "crash when adding a torrent by URL from an ftp source over RPC" -- fixed in trunk for 1.91
2010-02-20 15:57:05 +00:00
Charles Kerr
6407e38df7
(trunk libT) fix a potential (but currently unused) code path in tr_torrentNew() that could cause a memory leak. Thanks to Elbandi for pointing this out.
2010-02-15 00:22:18 +00:00
Charles Kerr
8aa62240f8
(trunk libT) fix memory leak when trying to add duplicate torrents. thanks valgrind!
2010-02-12 04:13:51 +00:00
Charles Kerr
b7b5a0e427
(trunk) #2894 "tr_torrentGetFileDL() and tr_torrentGetFilePriority() should go away" -- get rid of it in the mac client and libtransmission too
2010-02-11 15:05:07 +00:00
Charles Kerr
e03ad192c7
(trunk libT) demote the "Got N peers from tracker" and "Found N peers from DHT" messages from info to debug... there are just too many of them
2010-02-11 01:20:43 +00:00
Charles Kerr
9fffb2be35
(trunk libT) Yippie, plug a small memory leak reported by valgrind!
2010-02-10 05:27:14 +00:00
Charles Kerr
36d97610bd
(trunk) #2802 , #2716 , #2717 -- remember magnet links and their settings between sessions, and allow their trackers to be modified
2010-02-02 22:45:22 +00:00
Charles Kerr
094f76d9ca
(trunk libT) #2846 "Priority Selection in `Add' Window" -- added RPC hooks for doing this via remote client
2010-02-02 07:48:03 +00:00
Charles Kerr
f7c98630d7
(trunk libT) #2720 "Misleading error message when adding a duplicate magnet transfer" -- add a public API call in libtransmission for testing to see if we already have a magnet link as a torrent
2010-02-02 01:15:26 +00:00
Charles Kerr
1c8426cfee
(trunk libT) fix some #include statements
2010-01-20 23:58:09 +00:00
Charles Kerr
649819d1be
(trunk libT) fix tiny typo in previous commit... :/
2010-01-20 20:25:13 +00:00
Charles Kerr
2dce44fbe7
(trunk libT) still too wordy
2010-01-20 20:15:23 +00:00
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
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
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
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
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
Mitchell Livingston
f6a5117ef9
calculate proper file progress for 0-byte files ( fixes #2689 )
2009-12-25 16:56:33 +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
20a4560198
(trunk libT) remove the test for duplicate trackers in the announce list.
2009-12-12 04:12:04 +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
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
907c67ba78
(trunk libT) remove unnecessary #includes
2009-12-07 03:57:55 +00:00
Charles Kerr
78ead8c3dd
(trunk) update the copyright notices
2009-12-05 02:19:24 +00:00
Charles Kerr
de0d6af06b
(trunk libT) remove unnecessary code
2009-11-28 16:25:05 +00:00
Charles Kerr
e1c6b792aa
(trunk libT) #2610 "avoid unnecessary calls to time(NULL)"
2009-11-26 18:47:08 +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
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
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
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
Charles Kerr
034023f148
(trunk libT) fix another edge case for magnet links
2009-11-24 19:08:13 +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
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
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
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
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
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
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
a34d742e36
(trunk libT) OS X fix for tr_torrentDeleteLocalData() -- .DS_Store gave it trouble
2009-10-30 04:23:51 +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
b5042148e8
(trunk libT) #2539 : "incomplete folder" feature may lead to deleted files
2009-10-29 17:00:22 +00:00
Charles Kerr
4b804e32ed
(trunk libT) another tweak to tr_torrentSetLocation()
2009-10-28 04:50:37 +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
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
c85ee09fef
(trunk) trunk's just been too stable lately. #2119 : reload settings.json on SIGHUP
2009-10-23 03:41:36 +00:00
Mitchell Livingston
236bdc594f
#2524 torrent peer limit not saved right away
2009-10-21 23:32: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
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
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
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
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
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
21bd104bda
(trunk libT) #2471 : added/removed trackers aren't applied until restart
2009-10-02 04:54:02 +00:00
Charles Kerr
b32e5cc25d
(trunk libT) #2450 : --find should not delete original
2009-09-27 18:48:00 +00:00
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
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
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
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
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
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
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
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
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
cb79214854
(trunk) remove trailing spaces
2009-08-10 20:04:08 +00:00
Charles Kerr
24bb159bfe
(trunk libT) #2137 : .resume file gets saved too frequently
2009-08-07 05:29:37 +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
87a7bf043a
(trunk libT) possible fix for #2238 as suggested by kjg
2009-08-03 16:24:44 +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
ef9896e223
(trunk libT) more efficient closing of a torrent's open files
2009-06-21 07:36:51 +00:00
Charles Kerr
683073855e
(trunk libT) revert most of r8693 as a quick fix for a possible alignment issue on a NAS
2009-06-16 19:31:17 +00:00
Charles Kerr
deb679dab0
(trunk libT) avoid an extra per-torrent malloc/free by aggregating its tr_bandwidth into its struct
2009-06-14 22:19:19 +00:00
Charles Kerr
6755041894
(trunk) #1864 : Tracker not found (404) when a check of local file is done.
2009-06-13 17:11:46 +00:00
Charles Kerr
4c60377168
(trunk) fix oops
2009-06-11 22:46:33 +00:00
Charles Kerr
17cb7945ed
(trunk libT) #2199 : DHT should not announce stopped torrents
2009-06-11 21:42:59 +00:00
Charles Kerr
9513fcbe66
(trunk libT) add a bunch of comments denoting where the libevent 2.0 changes will go
2009-06-02 18:21:23 +00:00
Charles Kerr
9238fb0299
(trunk) #2131 : clean up benc read/write API
2009-06-02 01:48:48 +00:00
Mitchell Livingston
3f89538e28
when adding a torrent, set the default torrent speed limit to the global speed limit (the limit will still be disabled)
2009-05-28 22:05:21 +00:00
Charles Kerr
8504baf7aa
(trunk libT) #2022 : Torrentbar shows wrong speeds: Webseed-peers aren't taken into account
2009-05-28 02:28:14 +00:00
Charles Kerr
690b029c52
(trunk libT) take out the test scaffolding for the tr_torrentFiles() rewrite
2009-05-22 01:21:56 +00:00
Charles Kerr
a2480049d5
tweak the assertion to track down Rolcol's crash
2009-05-21 22:49:59 +00:00
Charles Kerr
b1f675eb83
(trunk libT) smoke out any errors in the tr_torrentFiles() rewrite
2009-05-21 18:37:55 +00:00
Charles Kerr
7d844ec279
(trunk) #920 Add "Move Data" to libT so all clients can use it
2009-05-20 16:02:12 +00:00
Charles Kerr
3d7cc36424
(trunk) #7 : DHT support. This is a work in progress... no gui/rpc support yet
2009-05-19 18:38:26 +00:00
Charles Kerr
1c3f3acbca
(trunk) add an option to the JSON generator to disable the human-readable indentations. Keep indenting the data files such as settings.json, but don't indent the messages used for RPC. This cuts the cost of deflate()ing those RPC messages by about 80%...
2009-05-16 05:51:52 +00:00
Charles Kerr
063b11bda1
(trunk libT) experimental faster implementation of tr_torrentFiles(). for the time being, keep the old implementation too and add an assertion that the two come up with the same results.
2009-05-16 01:43:21 +00:00
Charles Kerr
da42fe8a7c
(trunk libT) #2035 : Transmission causes wakeups by unnecessary polling.
2009-05-14 13:42:29 +00:00
Charles Kerr
29b1d3e2cc
(trunk) #920 : add "move data" to libT so all clients can use it
2009-05-13 15:54:04 +00:00
Charles Kerr
3c97a10a3e
(trunk libT) add an assertion to tr_torrentStop()
2009-04-19 16:21:27 +00:00
Charles Kerr
03fa0b3e7d
(trunk) experimental support for tr_torrentSetPriority()
2009-04-18 23:17:30 +00:00
Charles Kerr
bee21fb545
(trunk libT) #1992 : try to cleanly destroy the "verify local data" thread on shutdown
2009-04-16 13:10:25 +00:00
Charles Kerr
cf552651f7
(trunk libT) in tr_torrentFiles(), avoid some expensive calculations if the torrent is a seed.
2009-04-12 17:31:17 +00:00
Charles Kerr
b3813000e9
(trunk libT) add more tests to verify r8214
2009-04-11 15:48:58 +00:00
Charles Kerr
35564b76a4
(trunk libT) startup uses less cpu now on big torrents. another cachegrind discovery
2009-04-11 06:58:14 +00:00
Charles Kerr
f4dde1eb67
(trunk libT) omit some unnecessary tests on the bitfield checks. these seem small, but bitfields are always the top CPU abuser when I profile...
2009-04-11 03:24:36 +00:00
Charles Kerr
81766a8dcb
(trunk libT) another possible fix for #1894 : Crash when download finishes and seed ratio is already met
2009-04-09 14:10:31 +00:00
Charles Kerr
a1adee368f
(trunk)
...
1. add to the "recently-changed" torrent a list of recently-removed torrent ids.
2. make the day-of-week alt speed a bitfield of days or'ed together, so that you can have (say) speed limits on monday and wednesday
2009-04-04 05:29:08 +00:00
Charles Kerr
96b726c08a
(trunk rpc) add "torrentFile" to the list of allowed arguments to the "torrent-get" method
2009-04-02 22:59:30 +00:00
Charles Kerr
b6daa50ecf
(trunk rpc) add the ability to set file priorities and download flags when adding a new torrent via rpc
2009-04-02 20:43:42 +00:00
Charles Kerr
c3b24bc471
(trunk) modify tr_torrentParse() and tr_torrentNew() arguments s.t. they use the ctor's session instead of passing it in again. Allow a NULL session pointer for some cases of tr_torrentParse().
2009-04-02 17:30:29 +00:00
Charles Kerr
f1d92708e7
(trunk) more speedlimit work
2009-03-28 16:47:01 +00:00
Charles Kerr
cc1a4ec1e9
(trunk) rpc changes:
...
1. new field "blocklist-size" to session-info, so RPC clients can know how big the blocklist is
2. new method "torrent-reannounce" so RPC clients can ask the tracker for more peers
2009-03-26 18:06:54 +00:00
Charles Kerr
41b0cc8cdd
(trunk) libT and gtk+ parts for #1889 : per-torrent vs. global speed limit confusion
2009-03-04 19:52:57 +00:00
Charles Kerr
e8422f8cdd
(trunk libT) always invoke the stop-ratio check when a torrent switches from leeching to seeding.
2009-03-04 15:13:56 +00:00
Charles Kerr
ebe125e896
(trunk libT) add another seed-ratio check when starting a torrent, as per Mitchell's suggestion
2009-03-02 23:52:25 +00:00
Charles Kerr
6f994f6708
(trunk libT) in tr_torrentCheckSeedRadio(), make sure to check & see if the torrent is running ;)
2009-03-02 03:18:03 +00:00
Mitchell Livingston
3ffbb31774
if the ratio is infinity, stop seeding if a stop ratio is set
2009-03-01 23:49:43 +00:00
Mitchell Livingston
2dabe5ce34
move the percent to the stop ratio into libtransmission
2009-03-01 23:48:04 +00:00
Charles Kerr
6fc252e007
(trunk libT) tweak r7985
2009-03-01 17:38:23 +00:00
Charles Kerr
d2f69877cf
(trunk libT) tweak r7978
2009-03-01 17:37:10 +00:00
Mitchell Livingston
7400adb70d
make the ratio that is checked for stop ratio match the displayed ratio
2009-03-01 14:01:49 +00:00
Charles Kerr
857b3dab10
(trunk libT) #1823 : Ratio limit is only checked when peers are active
2009-03-01 13:56:22 +00:00
Mitchell Livingston
3d1cf6ba0d
assorted trivial cleanup
2009-02-17 04:00:53 +00:00
Mitchell Livingston
b9ff19ba38
a newly-added torrent should always follow the global ratio setting
2009-02-17 01:42:10 +00:00
Mitchell Livingston
39b0108366
have the mac ui use libT's ratio settings (attempt 1); when seed ratio is reached in libT, set the seed ratio setting to "seed forever"
2009-02-14 21:15:57 +00:00
Mitchell Livingston
fa3b9a12c5
eta will now indicate time remaining to reach seed ratio when seeding
2009-02-14 05:15:23 +00:00
Charles Kerr
3f9a1d090b
(trunk) #1787 : add support for seeding ratio limiting in libtransmission
2009-02-13 18:23:56 +00:00
Charles Kerr
e7c2fe4b46
(trunk libT) #1760 : test fix for a deadlock that occurs stopping a file that's being verified
2009-02-05 19:57:50 +00:00
Charles Kerr
6c7097d1f4
(trunk libT) more assertions
2009-01-30 00:41:08 +00:00
Charles Kerr
61e18f1d1b
(trunk libT) yet even *more* assertions for Biiaru and persept :)
2009-01-29 16:56:43 +00:00
Charles Kerr
6f95a057d0
(trunk libT) when deleting a torrent's local data -- folders and files -- use remove() instead of unlink() because the former handles both folders and files gracefully
2009-01-22 21:43:46 +00:00
Charles Kerr
486c55c1ed
(trunk libT) peerMgr: operate directly on tr_torrent and not peerMgr+torrentHash
2009-01-13 21:00:05 +00:00
Charles Kerr
dab899f132
(trunk libT) #1427 : Files are kept open in read/write mode after a torrent finishes
2009-01-12 19:58:16 +00:00
Charles Kerr
2f6b56671f
(trunk libT) win32 portability patch from Alexey
2009-01-11 17:02:04 +00:00