1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00
Commit graph

52 commits

Author SHA1 Message Date
Charles Kerr
c946168b1e (1) fix peer limits in fastresume (2) possible fastresume corruption (3) add `save' field to torrent ctor 2007-12-22 17:30:31 +00:00
Charles Kerr
3ecb9910e0 save per-torrent peer limits in the fastresume file 2007-12-22 16:11:15 +00:00
Charles Kerr
287975caf5 the torrent ctor is here. 2007-12-21 22:18:40 +00:00
Charles Kerr
c4e6a04131 tweak the debug messages 2007-12-13 17:18:35 +00:00
Charles Kerr
56b71bd144 remove dead code 2007-11-26 20:22:08 +00:00
Charles Kerr
63cb8506ca fix crash when loading fastresume files 2007-11-26 03:54:20 +00:00
Charles Kerr
6242508fe2 minor tweaks. 2007-11-12 22:26:10 +00:00
Charles Kerr
fd430fde90 undoing the r3773-r3774 experiment. 2007-11-09 20:07:52 +00:00
Charles Kerr
67b719c2de on Darwin, use NSCParameterAssert() instead of assert(). 2007-11-09 19:50:40 +00:00
Charles Kerr
caa4170271 #426 0.91rc1: if pex is disabled on a stopped torrent, pressing "resume" causes pex to be re-enabled. (reported by pea) 2007-10-28 19:42:47 +00:00
Charles Kerr
e6fbcaeae6 Quick & dirty fix to crasher ticket #415. 2007-10-26 03:02:23 +00:00
Charles Kerr
df50cbcabf Fix 0.90 cache bug that could cause "verify local files" to fail. 2007-10-26 01:13:43 +00:00
Charles Kerr
0b04554772 maybe fix crash reported by Lacrocivious in http://pastebin.ca/738142 2007-10-16 02:19:40 +00:00
Charles Kerr
e698756c98 remove unused flags 2007-10-15 20:58:39 +00:00
Charles Kerr
afff6d08f2 save the tr_torrent::pexDisabled flag in fastresume 2007-10-15 16:35:18 +00:00
Charles Kerr
bd01906f0c more banging on the fastresume-destination-directory thing. this permuation makes the fastresume destination a fallback, to be used only if the client didn't pass in a directory to tr_torrentInit*() 2007-10-13 15:29:15 +00:00
Charles Kerr
004ade57f0 fix crash-on-adding-new-torrents introduced in r3387 2007-10-13 14:07:08 +00:00
Charles Kerr
89d511e9dd get fastresume working again (I think) 2007-10-13 04:19:38 +00:00
Charles Kerr
0000a96f78 and, removing a couple of fprintfs 2007-10-13 04:00:50 +00:00
Charles Kerr
05bcd5e01c fix r3379 bug that forced us to recheck the torrents every startup 2007-10-13 03:58:54 +00:00
Charles Kerr
ff36475fad Add an option for saving a torrent's destination path in its file. This can be overridden by clients with the `destination' argument in tr_torrentInit*() 2007-10-12 19:45:51 +00:00
Charles Kerr
53aef0a48c Simplify the tracker/pause/close/recheck/start code. 2007-10-04 19:58:30 +00:00
Mitchell Livingston
76da1185ca merge encryption branch to trunk (xcode project is still out of date) 2007-09-20 16:32:01 +00:00
Charles Kerr
bae07d471e added support for `corrupt' announce tag s.t. corrupted bytes don't count towards your download ratio 2007-08-21 15:17:02 +00:00
Charles Kerr
64faed5c47 better saving of run/stopped state. 2007-08-20 23:36:18 +00:00
Charles Kerr
ea49180f94 $Id$ 2007-08-18 17:19:49 +00:00
Charles Kerr
7254a96ce8 let fastresume remember which torrents are stopped and which are running. 2007-08-13 16:43:33 +00:00
Charles Kerr
ef2fc4fdcf More win32 portability fixes. we now talk to tracker & peers; hash checks work, downloads seem to work. w00t 2007-08-02 23:33:40 +00:00
Charles Kerr
0f85cc3297 continue whittling away at internal.h to reduce the global #include dependencies 2007-07-31 14:26:44 +00:00
Charles Kerr
d209052051 add portability wrapper for in_port_t... 2007-07-30 18:04:10 +00:00
Charles Kerr
e1eaae5d19 fix small memory leak 2007-07-29 19:16:13 +00:00
Charles Kerr
e07d0220a9 this looks bug but it's not: just janitorial cleanup, moving #includes from headers into source file 2007-07-29 18:11:21 +00:00
Charles Kerr
c7d97e5f0a get "recheck files" working properly again. 2007-07-24 00:09:23 +00:00
Charles Kerr
eaca893b4c set default torrent ul/dl speed limits from global ul/dl speed. as a side effect, totally decouples fastresume from inout. 2007-07-23 03:00:20 +00:00
Charles Kerr
3e3bf8b4a7 more work on speed control 2007-07-20 06:08:34 +00:00
Charles Kerr
4ef1592e6b more work on the speed limits as hammered out w/BentMyWookie 2007-07-20 03:24:04 +00:00
Charles Kerr
c24fc6e16a de-inline some big functions. 2007-07-19 10:56:14 +00:00
Charles Kerr
dbe96a9e82 fold per-torrent ul/dl speed cap settings into libtransmission. synchronize gtk+ client with this change. breaks os x client. 2007-07-18 05:27:45 +00:00
Charles Kerr
04af3493d5 maybe fix ticket #256. or maybe not. I'd need the osx client to tell, so BentMyWookie gets to test my code as usual. 2007-07-18 03:30:57 +00:00
Charles Kerr
2f173fd4d4 fix overlap bug in file-selection where files adjacent to a "do not download" file could end up missing a few bytes. 2007-07-16 19:57:34 +00:00
Charles Kerr
1c7c8072b4 fix crash on zero-byte torrents 2007-07-15 03:52:51 +00:00
Charles Kerr
790476ac23 clean up #includes a bit. 2007-07-12 17:51:45 +00:00
Charles Kerr
043ba9e1bf more fastresume fixin' 2007-07-10 03:49:10 +00:00
Charles Kerr
e45df69b9a oops, that debugging statement shouldn't've been checked in 2007-07-10 03:45:58 +00:00
Charles Kerr
adb3d2399b fix dnd-setting bug created while splitting DND and priorities into two separate entities 2007-07-10 03:41:16 +00:00
Charles Kerr
0c39aa6565 minor cleanups of last checkin 2007-07-10 03:23:07 +00:00
Charles Kerr
ed226a32ac splitting dnd and priorities apart, and moving the file storage for those fields into fastresume 2007-07-10 03:12:46 +00:00
Charles Kerr
8d37a2601e remove unused functions tr_ioRemoveResume() and fastResumeRemove() 2007-07-10 00:33:48 +00:00
Charles Kerr
7e09d157cd Thread safety improvements. Also, stopping/starting/rechecking/etc. torrents no longer blocks the calling thread. Since this a big commit, it will probably create some short-term pain via new bugs. 2007-06-26 18:45:03 +00:00
Charles Kerr
ab85deaf51 add color-coded lines to the gtk debug window -- info is black, debug is grey, errors are red... 2007-06-22 20:59:23 +00:00