1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00
Commit graph

4263 commits

Author SHA1 Message Date
Jordan Lee
4904b923fb (trunk) restore copyright year as suggested in email by rms 2014-01-18 20:56:57 +00:00
Jordan Lee
2002253802 (trunk, libT) allocate in jsonsl, allocate jpr_root using the correct integral type. upstream xref: https://github.com/mnunberg/jsonsl/issues/6 2013-12-16 16:32:55 +00:00
Mitchell Livingston
4ecbb29137 #5304 daemon fails to build on mac 2013-10-27 19:31:36 +00:00
Jordan Lee
cd00ad4f55 (trunk, libT) #5450: when starting torrents via RPC with torrent-start or torrent-start-now requests, work through the rpc-supplied torrent list in queue order 2013-10-20 17:24:57 +00:00
Jordan Lee
451d398aa6 (trunk, libT) #5427 'torrents start in pause' -- fix resume issue with que_restart_v2 patch by cfpp2p 2013-10-20 17:15:19 +00:00
Jordan Lee
d9a6539e19 fix pedantic compiler warnings 2013-09-09 01:32:09 +00:00
Jordan Lee
80a5815c0c (trunk, libT) tr-getopt-test fixes similar to r14192 2013-09-09 00:40:20 +00:00
Jordan Lee
eff3b75586 blocklist cleanup: use bool instead of int where appropriate, use tr_fileExists() instead of stat() 2013-09-08 21:25:13 +00:00
Jordan Lee
36cc115c7b have the peer-id test follow the other unit test files' naming conventions 2013-09-08 19:30:16 +00:00
Jordan Lee
0e453bb873 (trunk, libT) improved/new MSVC portability wrappers dirname, basename, gettimeofday(). patch by mikedld, breakage by charles 2013-09-08 18:27:27 +00:00
Jordan Lee
0ba7c5f3cf fix a handful of CL warnings & errors in libtransmission. mikedld 2013-09-08 17:58:14 +00:00
Jordan Lee
677769a462 remove a few straggling uses of %zu to follow up on the previous TR_PRIuSIZE commit 2013-09-08 17:36:11 +00:00
Jordan Lee
ea7d2482dd introduce TR_PRIuSIZE macro for portable printf()ing of size_t. mikedld 2013-09-08 17:32:09 +00:00
Jordan Lee
98dd141449 correct function pointer type correctness. mikedld 2013-09-08 17:29:25 +00:00
Jordan Lee
4c8bda8805 function pointer type correctness. mikedld 2013-09-08 17:08:18 +00:00
Jordan Lee
605e2e89ad use evutil_socket_t instead of int to define socket types. Patch my mikedLd :) 2013-09-08 17:03:11 +00:00
Jordan Lee
4aa5c5c08d (trunk, libT) #5476: also, define __USE_MINGW_ANSI_STDIO and __STDC_FORMAT_MACROS on win32 systems so these new macros will work on mingw-w64 and mingw. (rb07) 2013-08-26 17:15:12 +00:00
Jordan Lee
9fe48d7a08 (trunk, libT) #5476: correct the definitions of PRIu64 and PRIu32 on win32 systems; thanks to rb07 for this correction 2013-08-26 17:12:16 +00:00
Jordan Lee
d112a813e9 make accessing tr_list's recycle nodes threadsafe. patch by mike.did, fixes #5352 2013-08-25 16:27:19 +00:00
Jordan Lee
5661aaad5e add windows-friendly definitions for PRIu64, PRId64, PRIu32 2013-08-24 20:49:27 +00:00
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