Charles Kerr
c615514944
(trunk libT) add a wrapper function tr_valloc() to try posix_memalign(), getpagesize(), valloc() etc
2010-02-23 06:06:45 +00:00
Mitchell Livingston
3ff11837d4
disable posix_memalign() on Mac - it requires 10.6
2010-02-22 02:36:17 +00:00
Mitchell Livingston
b562dc13ec
Mac has getpagesize() and posix_memalign()
2010-02-22 02:21:50 +00:00
Charles Kerr
204243c5bd
(trunk libT) #2952 : "When possible, use posix_memalign() instead of valloc()" -- fixed in trunk for 1.91
2010-02-22 01:01:59 +00:00
Charles Kerr
c0cf694b85
(trunk libT) optimize out some unnecessary cycles when there are missing files in a torrent being verified
2010-02-13 05:46:31 +00:00
Charles Kerr
adc7d6f8a4
(trunk libT) minor tweak to verify: use tr_pread() instead of lseek+read
2010-02-12 21:06:21 +00:00
Charles Kerr
d3ae2cf696
(trunk libT) use valloc() and st.st_blksize when verifying local data
2010-02-12 19:59:30 +00:00
Charles Kerr
5c26afdb52
happy new year!
2010-01-04 21:00:47 +00:00
Charles Kerr
283b6d6a36
(trunk libT) rename tr_wait() tr_wait_msec()
2010-01-01 22:30:36 +00:00
Mitchell Livingston
8dbfb708f5
#2696 posix_fadv_dontneed undeclared
2009-12-25 15:48:41 +00:00
Eric Petit
a91c5e44e3
build fix
2009-12-16 07:47:04 +00:00
Charles Kerr
122d69d013
(trunk libT) try not to cache file data read in during verification
2009-12-16 06:34:17 +00:00
Charles Kerr
78ead8c3dd
(trunk) update the copyright notices
2009-12-05 02:19:24 +00:00
Charles Kerr
e1c6b792aa
(trunk libT) #2610 "avoid unnecessary calls to time(NULL)"
2009-11-26 18:47:08 +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
504eaa6410
(trunk, libT) #2425 : New torrents are verified after pause.
2009-10-11 03:10:17 +00:00
Charles Kerr
fa1fa11fdb
(trunk, libT) #2390 : when you add a new torrent while one is verifying local data, the new torrent will be added on wait list, rather than download automatically. (Reported by Adys in irc)
2009-09-09 12:44:11 +00:00
Charles Kerr
c930f805cb
(trunk libT) #2383 : Faster verification for local data with small piece size
2009-09-06 14:05:06 +00:00
Charles Kerr
f7129f2f30
(trunk libT) #2335 : when verifying local data, pause a few msec between pieces to give the system some breathing room and other processes a shot at the disk IO
2009-08-14 20:55:22 +00:00
Charles Kerr
24bb159bfe
(trunk libT) #2137 : .resume file gets saved too frequently
2009-08-07 05:29:37 +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
1ae47c697d
(trunk) silence some minor gcc warnings
2009-06-23 14:15:23 +00:00
Charles Kerr
eb30e24be0
(trunk libT) #1916 : 'Phantom' Verifying appears if already another verify in progress
2009-05-13 18:37:56 +00:00
Charles Kerr
698aa192aa
(trunk libT) convert tr_open_file_for_scanning() and tr_close_file() to use file descriptors instead of file pointers so that we don't have to mix and match between them
2009-04-26 20:44:18 +00:00
Charles Kerr
a84a1720a7
(trunk libT) experimental commit for wereHamster
2009-04-26 16:14:47 +00:00
Charles Kerr
d99438bd1c
(trunk libT) need feedback from Mac users on this change. On Linux, it gets rid of the inactive-memory-grows-during-torrent-verification behavior that's often reported as a bug.
2009-04-26 00:51:51 +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
87e4c99fbb
(trunk libT) #1976 : build problem with r8173: "erreur: ‘POSIX_FADV_SEQUENTIAL’ undeclared"
2009-04-07 20:25:32 +00:00
Charles Kerr
30bb6b3ecf
(trunk libT) yet another fix found by RolCol
2009-04-07 04:23:04 +00:00
Charles Kerr
0746a8eafa
(trunk libT) posix_fadvise() tweak to the new verify code.
2009-04-06 23:51:55 +00:00
Charles Kerr
62395da3be
(trunk libT) faster code for verifying entire torrents. Timing tests @ http://transmission.pastebin.com/m4e1d6ee
2009-04-06 04:02:51 +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
6c7097d1f4
(trunk libT) more assertions
2009-01-30 00:41:08 +00:00
Charles Kerr
fe816d8135
(trunk) update the GPL code's copyright dates
2009-01-10 23:09:07 +00:00
Charles Kerr
199e38dd66
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_completion, contain the it directly rather than a pointer to one allocated elsewhere on the heap.
2009-01-02 17:01:55 +00:00
Charles Kerr
5381e20e9b
(trunk libT) improve piece verification speed by providing a larger buffer, and add a mechanism to reuse it when verifying an entire torrent at once.
2008-12-31 18:08:13 +00:00
Charles Kerr
9594112d27
updated email address
2008-12-16 00:20:44 +00:00
Charles Kerr
f2a933fb77
#1308 : Transmission forgets it's verifying data
2008-10-28 15:13:07 +00:00
Charles Kerr
59c2a61971
one more batch of changes from Spry
2008-10-14 20:31:16 +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
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
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
fb6db8d5ef
readability tweak: remove thread names. (muks)
2008-08-12 14:03:03 +00:00
Charles Kerr
b860119cd3
minor text cleanup
2008-08-01 16:43:22 +00:00
Charles Kerr
2c79888a93
RPC/IPC redesign
2008-05-18 16:44:30 +00:00
Charles Kerr
ed4e902482
#912 : Resume file parsed twice on startup
2008-05-06 01:43:24 +00:00
Charles Kerr
c8c84d6bd1
#872 : crash in bitfield code when loading resume files
2008-04-13 14:29:11 +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
54ad103053
minor `verify' cleanup
2008-03-19 14:56:47 +00:00
Charles Kerr
29f092197f
#138 : per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages#138: per-torrent messages
2008-03-13 03:53:18 +00:00