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

125 commits

Author SHA1 Message Date
Charles Kerr
e990c95336 (libT) apply some changes from Spry's code 2008-10-15 19:52:15 +00:00
Charles Kerr
59c2a61971 one more batch of changes from Spry 2008-10-14 20:31:16 +00:00
Charles Kerr
ae0201db0f (libT) raise the size of the io buffer in recalculateHash() to 8 KiB 2008-10-14 05:24:59 +00:00
Charles Kerr
e3a5524189 have tr_buildPath() allocate memory from the heap rather than using an input buffer 2008-10-14 03:03:29 +00:00
Charles Kerr
ef5bc3f150 (libT) more win32 work copied from spry's code:
(1) add #define for {read,write,strncasecmp} -> {_read,_write,_strnicmp}
(2) fix a couple more variadic macros that didn't get fixed in the last commit
(3) use evutil_strtoll() instead of strtoll()
2008-10-14 01:00:15 +00:00
Charles Kerr
4fab4c9e9b (libT) finish killing tr_errno. 2008-10-03 04:49:06 +00:00
Charles Kerr
2918e2efaf (libT) eliminating tr_errno, part 4: don't use it in recalculateHash() 2008-10-03 00:51:40 +00:00
Charles Kerr
79d8a5cdf3 (libT) eliminating tr_errno, part 1: make tr_ioTestPiece return an int instead of a tr_errno. 2008-10-02 20:30:29 +00:00
Charles Kerr
b1ef118e3f (libT) housekeeping: tr_torrent.handle --> tr_torrent.session 2008-10-02 15:53:33 +00:00
Charles Kerr
cc89872dd4 run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened 2008-09-23 19:11:04 +00:00
Charles Kerr
55a01eea2c (libT) calculate a piece's checksum on the stack, rather than the heap 2008-09-06 13:25:21 +00:00
Charles Kerr
b860119cd3 minor text cleanup 2008-08-01 16:43:22 +00:00
Charles Kerr
2eb89eb2a7 (libT) fix some minor warnings foudn by clang's scan-build and reported by m1b 2008-07-17 20:33:34 +00:00
Charles Kerr
e3e3bee8b5 #800 initial support for GetRight-style fetching of data through http and ftp servers specified in the .torrent's "url-list" tag 2008-06-07 21:26:41 +00:00
Charles Kerr
2c79888a93 RPC/IPC redesign 2008-05-18 16:44:30 +00:00
Charles Kerr
8805366e28 if at first you don't succeed... 2008-04-20 22:06:05 +00:00
Charles Kerr
c4878448a9 clean up the file bsearch that caused the crash reported by John_Clay yesterday 2008-04-20 21:54:44 +00:00
Charles Kerr
30b444ab92 (gtk) #891: patch: add option to disable libnotify support at compile time 2008-04-20 13:30:44 +00:00
Charles Kerr
c28e59e8b2 add some debug messages for John_Clay 2008-04-19 15:59:31 +00:00
Charles Kerr
b483b30889 minor code cleanup: remove dead code, const-correctness, etc 2008-04-18 23:17:40 +00:00
Charles Kerr
322265f2ba use a binary search to slightly speed up finding the right location in a torrent when reading/writing a piece. 2008-04-18 20:56:20 +00:00
Charles Kerr
c63b548195 fix bug that caused very large torrents to crash Transmission 2008-03-22 18:10:59 +00:00
Charles Kerr
56364f2ae8 add a tr_errno specifically for failed checksums so they can be differentiated from "Generic error" 2008-03-18 17:02:08 +00:00
Mitchell Livingston
f03073e080 truncate torrent name in message window instead of removing words; rename "Activity" to "Process"; add the torrent name to a particularly common log message 2008-03-13 11:08:23 +00:00
Charles Kerr
e3c1d221fb #781: experimental commit on the "failed data" issue. 2008-03-13 00:38:16 +00:00
Charles Kerr
cfe068876e remove unnecessary #includes 2008-02-19 18:39:49 +00:00
Charles Kerr
deaeb24cb5 cleanup #includes for errno & strerror 2008-02-19 04:16:04 +00:00
Charles Kerr
c144470c70 make the code a little easier to read. make tr_ioFileTest()'s return value consistent with other inout funcs. 2008-02-15 18:25:42 +00:00
Charles Kerr
6fb57dcd59 modify "verify local data" to not lose the blocks in incomplete pieces 2008-02-15 16:00:46 +00:00
Charles Kerr
606d548514 clarity tweaks to variable & function names 2008-02-01 01:54:04 +00:00
Charles Kerr
b29ba709b3 tr_ioRecalculateHash(): use a static buffer instead of malloc/free. 2008-01-27 17:03:58 +00:00
Charles Kerr
1b7706e101 finish the trunk/1.0x libT merge: router death & portability 2008-01-21 02:11:57 +00:00
Charles Kerr
de515ee339 if the torrent's download path doesn't exist, don't create it -- it's might be a removeable disk that got unplugged. 2008-01-18 19:13:32 +00:00
Charles Kerr
549778dc7e #589 fix crash that occurred when the next-to-last file in a torrent ended on a piece boundary and the last file had a size of 0 bytes. 2008-01-08 03:08:36 +00:00
Charles Kerr
2b7a82b9a8 fix r4425 oops 2008-01-02 20:34:20 +00:00
Charles Kerr
0e56fa0baf test code for #575 (m1b's bug) 2008-01-02 18:05:05 +00:00
Charles Kerr
ce6c33b7bf set copyright info to 2008 2008-01-01 17:20:20 +00:00
Charles Kerr
473907d891 a little housekeeping: move tr_torrent stuff into its own header 2007-12-25 05:37:32 +00:00
Charles Kerr
20c5f2a77c fix off-by-one introduced in r4153 2007-12-15 05:05:23 +00:00
Charles Kerr
39773104be accept tiennou's file-checking tweak that clarifies the log messages 2007-12-13 17:28:13 +00:00
Charles Kerr
cf85da1759 plug in the stats.filesAdded field 2007-11-26 20:37:07 +00:00
Charles Kerr
260033847f fix ticket #451 (Files remain in use after removal) 2007-11-21 16:16:59 +00:00
Charles Kerr
e7e479d758 fix r3777 compiler warning reported by SoftwareElves 2007-11-10 05:01:13 +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
5da8a977c6 * add O_LARGEFILE support to fdlimit for the benefit of 32-bit posix machines
* minor tweaks
2007-11-09 04:32:19 +00:00
Charles Kerr
39f9f14751 minor tweaks. 2007-11-08 21:25:17 +00:00
Charles Kerr
60aab6c433 remove libtransmission code that duplicates functionality in libevent 2007-11-06 21:14:30 +00:00
Charles Kerr
3e0e462b10 finish cleaning up the code that was churned during the "corruption" fix. 2007-11-01 13:47:32 +00:00
Charles Kerr
e625b10d6d "corruption" fix part 3: cleanup. remove unneeded possible points of failure. 2007-10-31 18:10:55 +00:00