Commit Graph

4243 Commits

Author SHA1 Message Date
Jordan Lee 65f15a4ba9 more treating-bools-as-bools 2013-08-24 18:18:38 +00:00
Jordan Lee f762c2ce6a treat bool args as booleans rather than ints; no need to compare them a la 'if (boolVal != 0)' 2013-08-24 18:08:38 +00:00
Jordan Lee 28fe36f1f8 #include limits.h where we use it, and don't where we don't 2013-08-24 17:53:45 +00:00
Jordan Lee 35638e210e add inline wrapper functions to tr_torrent to decouple the rest of the code from tr_completion 2013-08-18 13:06:39 +00:00
Jordan Lee 0f1f84898b silence a small handful of minor gcc compiler warnings in libtransmission 2013-08-17 17:20:31 +00:00
Jordan Lee 765879ddba silence a small handful of minor gcc compiler warnings in libtransmission 2013-08-17 17:03:15 +00:00
Jordan Lee ba688e2811 silence a small handful of minor gcc compiler warnings in libtransmission 2013-08-17 16:31:03 +00:00
Jordan Lee 9182c34711 #5298 'Transmission not holding queue order' -- fixed with patch by gabrielrcp 2013-08-17 16:20:32 +00:00
Jordan Lee 6fc8481524 (trunk, libT) #5452 'preventing zombies from child scripts' -- fixed. 2013-08-05 13:07:23 +00:00
Jordan Lee 76528d8e14 (trunk, libT) #5451: 'crash in tr_torrentGetPeerId() during incoming encrypted handshake' -- fixed. 2013-08-05 04:39:43 +00:00
Jordan Lee 21c869ad03 (trunk, libT) #5443 'tr_clientForId() misidentifies Tixati as BitTornado': fixed 2013-07-29 04:29:22 +00:00
Jordan Lee a8f965b489 (trunk libT) #5444 'underflow in bitfield.c's set_all_true()' -- fixed 2013-07-29 04:19:15 +00:00
Jordan Lee 29e53df9d9 silence a pair of 'unused variable' gcc warnings 2013-07-27 17:48:59 +00:00
Jordan Lee 6897197729 (trunk, libt) #4147 'bad file descriptor': in cached_file_open(), ensure the file is always opened with writable permissions if we need to call ftruncate() to resize it. Large credit to karamanolev for tracking this down with strace. 2013-07-27 16:18:12 +00:00
Jordan Lee 20ee16b8cb fix Transmission 2.81 FTBFS in OpenBSD, patch by naddy 2013-07-24 00:02:16 +00:00
Jordan Lee 580c00c4be always clean up the paused_easy_handles list. 2013-07-24 00:00:03 +00:00
Jordan Lee db6fd6630d tweak previous commit 2013-07-21 21:11:54 +00:00
Jordan Lee 4787364b1a (trunk, libT) #5432 'on scrape and announce failures, the retry interval is longer than intended' -- fixed. 2013-07-21 21:10:28 +00:00
Jordan Lee 773d276fb5 (trunk, libT) #5427 'queued torrents' state changes to paused when restarting transmission' -- fixed with patch by rb07 2013-07-21 14:58:24 +00:00
Jordan Lee 73d4be24c7 (trunk, libT) #5426 'Crash when adding UDP tracker with a large number of characters in the tracker URL' -- fixed. 2013-07-20 23:29:42 +00:00
Jordan Lee 8dd572076a (trunk, libT) #5429 'nightly build crashes on webseed torrents' -- fixed. 2013-07-20 16:45:02 +00:00
Jordan Lee fe79ad39bc add tr_sessionGetTorrents(), a private utility to avoid code duplication in libtransmission 2013-07-20 15:37:13 +00:00
Jordan Lee 7bcaf891d1 when a torrent finishes downloading, first rename/move the files (if there's a temp directory or .part suffix), then check to fire the completeness callback, then check to fire the ratio limit callback, then check to fire the done callback. 2013-07-16 00:50:45 +00:00
Jordan Lee ee130e773d (trunk, libT) #5395: when announces fail, lower the period before the first retry to fix unspecified 'network problems'. 2013-07-16 00:13:30 +00:00
Jordan Lee 768142fcac change the callback functions' orders s.t. torrent-completed is called before torrent-done 2013-07-15 23:53:48 +00:00
Jordan Lee d4e0194ce2 (trunk, libT) #5275: fix platform quota crash on solaris 2.12, patch by godot 2013-07-14 23:00:39 +00:00
Jordan Lee ba465de7d1 in libtransmission/platform-quota.c, a one-liner patch to fix compilation on some versions of Linux. Patch by rb07 2013-07-12 22:42:40 +00:00
Jordan Lee af3481400f fix a couple of unlikely-to-be-triggered errors reported by clang static analyzer 2013-07-10 22:28:40 +00:00
Jordan Lee de248c94fb in peer-msgs.c's tr_peerMsgsCalculateActive(), adjust some of those new tracer assertions to work better with magnet links. 2013-07-09 17:05:32 +00:00
Jordan Lee 0c507637db in peer-mgr.c's tr_peerMgrGetDesiredAvailable(), confirm we have a swarm pointer before using it. Probable fix for bug #5407 2013-07-08 17:46:12 +00:00
Jordan Lee 74d0f305a6 move platform.c's quota code into its own file. Fixes FTBFS reported in bug #5389 and is also a nice piece of encapsulation. Patch by rb07 2013-07-08 17:07:31 +00:00
Jordan Lee e0e4849abd in peer-msgs.c's my_funcs struct, remove an unnecessary trailing comma in the designated initializers. 2013-07-08 16:44:19 +00:00
Jordan Lee 058e430251 fix bug #5372, 'wrong peer states displayed'. 2013-07-08 16:41:12 +00:00
Jordan Lee 43b3a47661 (trunk, libT) #53737 fix 2.77+ nightly regression that misreported the number of webseeds 2013-06-09 18:56:10 +00:00
Jordan Lee 30882e69b1 (trunk libT) fix 2.7x crash when dealing with webseeds 2013-06-09 18:39:24 +00:00
Jordan Lee 3fb74c4e00 (trunk, libT) fix tr_torrentStat() regression in the nightlies reported in #5294 by mw3demo 2013-05-27 21:04:48 +00:00
Jordan Lee 5452908346 whitespace/indentation 2013-05-23 05:43:12 +00:00
Jordan Lee f36d705060 whitespace/indentation 2013-05-23 03:20:18 +00:00
Jordan Lee e39c11316f whitespace/indentation 2013-05-23 00:11:09 +00:00
Jordan Lee 96aaa41218 safer implementation of tr_torrentName() 2013-05-22 22:56:13 +00:00
Jordan Lee 027e3f3066 (trunk, libT) #4682 'Add return id from duplicate torrent torrent-add rpc' -- added. 2013-05-22 20:35:38 +00:00
Jordan Lee 094af58f29 undo previous commit's accidental inclusion of changes to peer-msgs.* and peer-mgr.c 2013-05-22 19:06:54 +00:00
Jordan Lee d81f956daa (trunk, libT) #5356 'only set CURLOPT_COOKIEFILE if cookies.txt exists on startup' -- fixed. 2013-05-22 19:02:07 +00:00
Jordan Lee 68665b939d (libT) prevent possible oscillation in paused_easy_handles reported by vipjml in bug #1079 comment:27 2013-04-28 00:06:22 +00:00
Jordan Lee ff4267bf00 (trunk libT) #1079 'webseeds don't respect speed limits': fixed. 2013-04-13 20:56:24 +00:00
Jordan Lee 96786b7fa1 (trunk) update web.h's API s.t. there's an explicit function to use when downloading webseed content. 2013-04-13 20:25:28 +00:00
Jordan Lee 6bcdd93e45 (trunk libT) #5318: 'socket leak when bind() fails': fixed. 2013-04-13 19:34:34 +00:00
Jordan Lee d4d2a04560 libT: undo r13901 regression to #4888 in the nightlies 2013-04-13 19:28:49 +00:00
Jordan Lee f1d616d37c (trunk libT) #5316 'UMR in quark, tr-getopt code': fixed. 2013-04-13 18:29:56 +00:00
Jordan Lee 908af43d99 add unit tests for tr-getopt 2013-04-13 18:27:36 +00:00