Charles Kerr
8433e0dd3b
(trunk libT) make tr_peerIoEnable*() inline functions
2010-05-20 15:30:18 +00:00
Charles Kerr
40a9133ced
(trunk libT) remove dead code
2010-05-20 14:05:27 +00:00
Charles Kerr
5ca8d41816
(trunk libT) #2929 "persistent tracker error messages in main window" -- experimental fix
2010-05-19 19:02:25 +00:00
Charles Kerr
8a83a4bf79
(trunk libT) remove dead function tr_torrentPromoteTracker()
2010-05-19 18:23:47 +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
fcda98c86f
(trunk libT) promote PEX peers up the food chain a little bit
2010-05-19 15:53:09 +00:00
Charles Kerr
fcc56ddcd5
(trunkn libT) #3192 "crash in most recent nightlies" -- fixed in trunk for 2.00
2010-05-18 15:14:54 +00:00
Charles Kerr
1aef6e1a03
(trunk libT) code tweak
2010-05-18 13:07:37 +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
1b44fecec9
(trunk libT) #1869 "new status for torrents that reached the seed ratio" -- use suggestion from Longinus00 to ensure torrents don't get flagged as finished if the user hits "download none" in the "add torrent" dialog
2010-05-15 22:26:25 +00:00
Charles Kerr
f7d4377fa1
(trunk libT) minor API cleanup: constify array arguments in tr_torrentSetFilePriorities(), tr_torrentInitFileDLs(), and tr_torrentSetFileDLs()
2010-05-12 03:03:29 +00:00
Charles Kerr
6d9ac874d8
(trunk libT) #3204 "crash in tr_torrentGetMagnetLink() when the torrent doesn't have a display name yet" -- fixed in trunk for 2.00
2010-05-11 15:30:30 +00:00
Charles Kerr
ad27c9d58e
(trunk libT) #3203 "torrents halted after 'Tracker returned a 4xx message'" -- fixed in trunk for 2.00
2010-05-11 13:32:29 +00:00
Charles Kerr
da2ef53eeb
(trunk) #1796 "run script after torrent completion" -- implemented for libT, RPC, and the GTK+ and Qt clients
2010-05-08 22:42:28 +00:00
Charles Kerr
2b9ab542cb
(trunk) #3060 "Local Peer Discovery" -- in the code, rename LDS as LPD for Local Peer Discovery
2010-05-08 08:42:45 +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
5d272161ed
(trunk libT) fix bencode.c cross-compile error on arm-based NAS reported by nahkiss. This bug was introduced in a patch to fix #3172 and was added to trunk with r10549 and 1.9x/ with r10549
2010-05-05 16:03:33 +00:00
Mitchell Livingston
7949e4df47
more logging to try to smoke out #3041
2010-05-02 18:03:49 +00:00
Mitchell Livingston
ec687f14ad
#2738 Fix the IPv6 DHT broken by r10616
2010-05-02 12:48:33 +00:00
Charles Kerr
94a2ffac2b
(trunk libT) commit jch's patch for #2738 : "fix rebinding of the IPv DHT socket"
2010-05-01 19:55:45 +00:00
Mitchell Livingston
423c3eab84
#3060 prefer peers from local discovery over those from a tracker
2010-05-01 19:16:52 +00:00
Charles Kerr
5a34347f4f
(trunk) #3060 -- Local Peer Discovery patch from Eszet
2010-05-01 16:04:00 +00:00
Mitchell Livingston
c006457d26
whoops
2010-04-30 23:00:16 +00:00
Mitchell Livingston
12275ccc10
#3041 remove the code to skip lines with unreadable characters (this was skipping valid lines); add temporary extra debugging
2010-04-30 22:58:03 +00:00
Charles Kerr
5eab3318ff
(trunk libT) #3117 "Tracker queries to not honor bind-address-ipv4" -- fix a crash-on-shutdown reported by Waldorf in #3181 . The crash was introduced by r10535 for #3117
2010-04-30 17:38:40 +00:00
Charles Kerr
24129b9bf5
(trunk libT) #2551 : "when uploading to peers, prefetch local data from disk" -- commit jch patch #1 , to prefetch when a block is requested. I was surprised, but when measuring io time with and without this patch, it *is* an improvement...
2010-04-30 00:27:15 +00:00
Charles Kerr
7da3b81cda
(trunk libT) #2551 "when uploading to peers, prefetch local data from disk" -- commit jch patch #2 , which prefetches before checksumming an individual piece
2010-04-30 00:04:15 +00:00
Charles Kerr
6643f98346
(trunk libT) #1869 "New status for torrents that reached the seed ratio" -- maybe fix the bug where the incomplete-dir and seed-ratio features conflicted with each other as reported by leena in http://trac.transmissionbt.com/ticket/1869#comment:45
2010-04-29 23:35:44 +00:00
Charles Kerr
d384b38f07
(trunk) minor transmission.h API cleanup.
...
1. remove tr_sessionGetActiveTorrentCount()
2. make tr_sessionCountTorrents() package-visible instead of public.
3. make tr_torrentGetActivity() private instead of public.
2010-04-29 23:08:11 +00:00
Charles Kerr
31f4d24004
(trunk libT) #3172 "transmission overwrites settings.json" -- fixed with kklimonda's patch for 2.00
2010-04-29 18:56:34 +00:00
Charles Kerr
0fc7e232a4
(trunk libT) bump MAX_PATH_LENGTH from 2048 to 4096 based on report from kklimonda that the latter number is correct on Ubuntu
2010-04-29 13:57:58 +00:00
Charles Kerr
97affa46a9
(trunk libT) #2609 "Leave 5% of connection slots for incoming connections" -- implemented in trunk for 2.00
2010-04-29 03:21:54 +00:00
Charles Kerr
d0873d8369
(trunk libT) reduce the period to sleep per second during verification from 200 msec to 100 msec
2010-04-28 19:04:09 +00:00
Charles Kerr
37663cf9e3
(trunk libT) #3041 "Blocklist - bad peers decreases after update; corrupt error messages" -- fix r10533 oops. fggets() doesn't strip linefeeds, so when filtering out lines with nonprintable characters, a line shouldn't fail the test just because or \r or \n. :)
2010-04-28 14:51:38 +00:00
Charles Kerr
ef2fd245cf
(trunk libT) #3078 "Transmission closes socket after SIGHUP" -- experimental fix
2010-04-28 04:57:21 +00:00
Charles Kerr
4b5044ad28
(trunk libT) #3117 "Tracker queries do not honor bind-address-ipv4" -- possible fix
2010-04-28 00:32:43 +00:00
Charles Kerr
efe648e2d7
(trunk libT) fix a new assertion error from the nightlies reported by Ryoujin
2010-04-27 13:43:03 +00:00
Charles Kerr
3845a60c2f
(trunk libT) #3041 "Blocklist - bad peers decreases after update; corrupt error messages" -- better error messages when fed unprintable characters
2010-04-27 03:58:25 +00:00
Charles Kerr
04272a6c30
(trunk libT) remove debugging fprintf()
2010-04-26 22:00:34 +00:00
Charles Kerr
9c94512672
(trunk libT) don't escape the '/' character in json strings
2010-04-25 15:30:50 +00:00
Charles Kerr
c4d76cd8d0
(trunk libT) slightly better comment i tr_torrentFileCompleted()
2010-04-25 15:19:08 +00:00
Charles Kerr
52bad7b8a0
(trunk libT) #3164 "crash in tr_peerIoReconnect()" -- after attempting to reconnect, re-enable the libevent monitoring if the socket can't be created.
2010-04-23 23:48:52 +00:00
Charles Kerr
4f5670f9c0
(trunk libT) #2842 "Transmission crashes randomly on ARM-based Synology NAS" -- experimental commit based on giovannibajo's suggestion in comment:39 about the list struct's alignment
2010-04-23 23:45:44 +00:00
Charles Kerr
74216be9df
(trunk libT) "transmission.h" should *always* be #included before any other libtransmission header
2010-04-23 16:36:16 +00:00
Charles Kerr
75d92bfb33
(trunk libT) remove obsolete #include -- clients.c doesn't need to #include <event.h>
2010-04-23 16:35:11 +00:00
Charles Kerr
75663defbc
(trunk libT) fix error in tr_ctorNew() when initializing the default/fallback ctor values
2010-04-23 14:13:18 +00:00
Charles Kerr
19d261fc40
(trunk libT) fix JSON_parser.c build failure when compiled against some versions of libevent 1.4.x. Reported by Lacrocivious in #transmission. This probably was introduced in r10492 when I updated the JSON_parser.c snapshot.
2010-04-23 14:10:39 +00:00
Charles Kerr
921bb00d7c
(trunk libT) #3126 "Incomplete Dir. doesn't need to be auto created" -- have the default incomplete dir be the same as the default download dir. The Mac client already does it this way.
2010-04-22 04:15:49 +00:00
Charles Kerr
9d3e02ce5c
(trunk libT) #2993 '"Downloaded" much greater than "Have" or "verified"' -- tweak the download throttle algorithm a bit to try & address the slowness reported by Rolcol @ http://trac.transmissionbt.com/ticket/2993#comment:42
2010-04-22 03:12:31 +00:00