Charles Kerr
|
6f5c9dcafb
|
(trunk libt) rename tr_date() as tr_time_msec() for clarity
|
2010-07-11 20:49:19 +00:00 |
|
Charles Kerr
|
acd27a8c3b
|
(trunk libT) #3371 "experimental use of F_NOCACHE to ameliorate inactive memory on OS X"
|
2010-06-27 17:44:34 +00:00 |
|
Charles Kerr
|
08628333d1
|
(trunk libT) part of rb07's win32 portability patches from ticket #3311
|
2010-06-21 16:44:35 +00:00 |
|
Charles Kerr
|
99318552eb
|
call fcntl(F_NOCACHE,1) right before closing a local datafile. Does it have any effect? Who knows.
|
2010-06-21 13:08:04 +00:00 |
|
Charles Kerr
|
872291cd62
|
(trunk libT) make tr_pwrite()'s "buf" argument const
|
2010-05-22 00:09:36 +00:00 |
|
Charles Kerr
|
40a9133ced
|
(trunk libT) remove dead code
|
2010-05-20 14:05:27 +00:00 |
|
Charles Kerr
|
7936f0d5d1
|
(trunk libT) clean up #includes for event.h and evutil.h
|
2010-05-19 16:17:51 +00:00 |
|
Charles Kerr
|
8e85b1c6e5
|
(trunk libT) fdlimit.[ch] MIT -> GPL. There's not any MIT code left there.
|
2010-05-17 16:41:59 +00:00 |
|
Charles Kerr
|
0051b8a110
|
re-tweak the previous commit based on feedback from kklimonda
|
2010-05-06 17:02:31 +00:00 |
|
Charles Kerr
|
2ea9f78eff
|
(trunk libT) tweak MAX_PATH_LENGTH a little for better portability -- defer to limits.h's definition when present
|
2010-05-06 15:07:18 +00:00 |
|
Charles Kerr
|
99d53d7ef7
|
(trunk libT) #2849 "when possible, use fallocate64() for file preallocation" -- do this even when sparse preallocation mode is selected.
|
2010-03-09 16:19:59 +00:00 |
|
Charles Kerr
|
b850349479
|
(trunk) #2993 "'Downloaded' much greater than 'Have' or 'verified'" -- add new congestion-based throttle for 2.0
|
2010-03-08 04:29:58 +00:00 |
|
Charles Kerr
|
c55788acac
|
(trunk libT) add an fsync() before closing files
|
2010-03-07 06:14:04 +00:00 |
|
Charles Kerr
|
9194325c95
|
(trunk libT) messages about SO_SNDBUF size and file preallocation should probably be debug messages rather than visible-by-default info messages...
|
2010-02-08 04:43:56 +00:00 |
|
Charles Kerr
|
de2d0154e7
|
(trunk libT) #2849 "When possible, use fallocate64() for file preallocation" -- implemented for 1.90
|
2010-02-02 03:01:25 +00:00 |
|
Charles Kerr
|
a334b422c3
|
(trunk) remove unnecessary #includes
|
2010-01-28 13:33:40 +00:00 |
|
Charles Kerr
|
6ce8085243
|
(trunk) housekeeping: (1) add standard svn properties for $Id$ substitution in some files (2) add #include guards in a couple of libtransmission headers (3) refresh build instructions in README
|
2010-01-14 14:20:49 +00:00 |
|
Charles Kerr
|
86a5e6be8a
|
(trunk libT) fix assertion-on-shutdown failure reported by livings
|
2010-01-13 01:21:26 +00:00 |
|
Charles Kerr
|
6076d7c6bd
|
(trunk libT) add <stdarg.h> call before <evutil.h> to get 1.80 building on Fedora 11
|
2010-01-09 07:24:47 +00:00 |
|
Charles Kerr
|
182cbb8b90
|
(trunk) one of the less-interesting commits in a while: remove trailing spaces from lines
|
2010-01-05 23:47:50 +00:00 |
|
Charles Kerr
|
6b8fb48d64
|
(trunk libT) replace the TR_INLINE macro with the standard "inline" keyword, since we require inline functions anyway
|
2010-01-01 22:26:35 +00:00 |
|
Charles Kerr
|
8bc90ca644
|
(trunk libT) fix crash in tr_fdSocketClose() reported by agsystem in the forums @ http://forum.transmissionbt.com/viewtopic.php?p=42993&f=1#p42993
|
2009-12-26 23:52:59 +00:00 |
|
Mitchell Livingston
|
a7245651f2
|
avoid an extra comparison caused by macro expansion
|
2009-12-21 22:03:19 +00:00 |
|
Mitchell Livingston
|
25a023023f
|
eliminate the clamp function for now, allow peer connections once again
|
2009-12-21 14:30:43 +00:00 |
|
Charles Kerr
|
a653d37225
|
(trunk libT) possibly reduce the frequency of the "too many open files" errors
|
2009-12-18 07:05:36 +00:00 |
|
Charles Kerr
|
da7ab27ae2
|
(trunk libT) add SO_SNDBUF, SO_RCVBUF logging messages
|
2009-11-29 08:53:14 +00:00 |
|
Mitchell Livingston
|
185728c66c
|
remove unused variable
|
2009-11-09 13:29:02 +00:00 |
|
Charles Kerr
|
3759c98d76
|
(trunk libT) #2551 "better buffer cache management": apply jch's prefetch-base.patch
|
2009-11-08 23:43:38 +00:00 |
|
Charles Kerr
|
858e691381
|
(trunk libT) add a wrapper function, tr_netCloseSocket(), around EVUTIL_CLOSESOCKET() so that not all of our code has to #include evutil
|
2009-10-27 20:27:27 +00:00 |
|
Charles Kerr
|
c85ee09fef
|
(trunk) trunk's just been too stable lately. #2119: reload settings.json on SIGHUP
|
2009-10-23 03:41:36 +00:00 |
|
Charles Kerr
|
c59ae60488
|
libT doesn't need to create the Incomplete directory until it's needed
|
2009-10-21 19:33:37 +00:00 |
|
Charles Kerr
|
eef6177f0a
|
(trunk libT) #1483: fix bug introduced in r9328
|
2009-10-20 20:19:41 +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
|
c7e2a29f57
|
add better logging to track down tr_ioRead() error messages reported by Rabbitbunny
|
2009-09-08 06:25:40 +00:00 |
|
Erick Turnquist
|
fbfaeda8df
|
(trunk libT): do EAFNOSUPPORT check on socket() errno on all platforms
|
2009-08-17 18:49:21 +00:00 |
|
Charles Kerr
|
1c5b344c85
|
(trunk libT) remove dead code noticed by geirha
|
2009-08-15 15:52:10 +00:00 |
|
Charles Kerr
|
cb79214854
|
(trunk) remove trailing spaces
|
2009-08-10 20:04:08 +00:00 |
|
Charles Kerr
|
12f8339406
|
(trunk libT) remove dead code
|
2009-07-17 17:23:03 +00:00 |
|
Eric Petit
|
67440b9286
|
Don't assume that errnos are positive (they are not on Haiku), and
pass them on through an additional parameter if needed
|
2009-07-09 18:14:33 +00:00 |
|
Charles Kerr
|
5917436e60
|
(trunk libT) remove dead code
|
2009-07-04 04:33:23 +00:00 |
|
Charles Kerr
|
1104a4bf4d
|
(trunk libT) dead code removal
|
2009-07-03 19:45:29 +00:00 |
|
Charles Kerr
|
587ddb48f0
|
(trunk libT) #2228: transmission should learn to truncate files on updating torrents
|
2009-06-21 07:53:51 +00:00 |
|
Charles Kerr
|
ef9896e223
|
(trunk libT) more efficient closing of a torrent's open files
|
2009-06-21 07:36:51 +00:00 |
|
Charles Kerr
|
45f1316bce
|
(trunk libT) #2196: add a fallback implementation of preallocateFileFull() in case the os-specific and fs-specific approaches don't work.
|
2009-06-16 17:10:47 +00:00 |
|
Erick Turnquist
|
1c7ac5bea0
|
(trunk libT) fix "dereferencing pointer does brea strict-aliasing rules" warning
|
2009-06-15 05:16:36 +00:00 |
|
Charles Kerr
|
e082548030
|
(trunk) remove the test for fallocate(), since we used posix_fallocate() as a fallback anyway. <http://www.lucas-nussbaum.net/blog/?p=332> says: "Glibc does have posix_fallocate(), which implements the POSIX interface. posix_fallocate() is wired to use the fallocate system call, for sufficiently modern versions of glibc."
|
2009-06-14 18:32:09 +00:00 |
|
Charles Kerr
|
dfc6e904d0
|
(trunk libT) fix copy/paste error in tr_fdAccept()
|
2009-06-08 14:50:56 +00:00 |
|
Charles Kerr
|
3f03f2e0c3
|
(trunk libT) #2151: possible fix for "Unusually high CPU usage in latest builds" issue
|
2009-06-06 16:19:34 +00:00 |
|
Charles Kerr
|
ea93eab02d
|
(trunk libT) on platforms that support it, use POSIX_FADV_SEQUENTIAL instead of POSIX_FADV_RANDOM. (http://trac.transmissionbt.com/ticket/1521#comment:25)
|
2009-05-31 21:20:49 +00:00 |
|
Charles Kerr
|
29b1d3e2cc
|
(trunk) #920: add "move data" to libT so all clients can use it
|
2009-05-13 15:54:04 +00:00 |
|