Charles Kerr
ad2cf3c394
(trunk libT) #3486 "add gzip compression support to RPC server" -- fixed.
2010-08-04 20:57:08 +00:00
Charles Kerr
5624840ac4
(trunk) #3478 "Display bug when magnet links without display names are added" -- fixed in trunk
2010-08-03 03:16:21 +00:00
Charles Kerr
a105132d11
(trunk libT) #3475 "'"stop seeding when inactive' doesn't appear to work" -- experimental fix
2010-08-03 01:25:23 +00:00
Daniel Lee
ff23406f38
(trunk) #3471:Add 'finished' to filterbar
2010-08-01 17:43:35 +00:00
Charles Kerr
6d445f29eb
(trunk libT) #3462 "minor json formatting optimization: omit unnecessary floating-point precision" -- done.
2010-07-31 14:45:07 +00:00
Charles Kerr
914af1c9f8
(trunk Qt) sync the "trackers" tab with the GTK+ client and more.
2010-07-27 19:43:32 +00:00
Charles Kerr
230193053e
(trunk libT) #3449 "overflow error in tr_truncd()" -- fixed.
2010-07-24 17:09:39 +00:00
Mitchell Livingston
8bee7fa23c
update Mac build for the change from inactive to idle
2010-07-24 03:19:41 +00:00
Charles Kerr
3655047e85
(trunk) #2560 : rename "inactive limit" to "idle limit". Add support in GTK+ client and preliminary support to Qt client
2010-07-24 02:57:39 +00:00
Charles Kerr
d369c36372
(trunk libT) fix unused varg warning in cache
2010-07-24 00:52:02 +00:00
Mitchell Livingston
496712a87d
fix typo
2010-07-23 23:37:03 +00:00
Mitchell Livingston
feb6e6b785
fix inactivity typo
2010-07-23 11:02:57 +00:00
Mitchell Livingston
6024ea7fa6
#3466 reconcile number/double for speeds in the rpc spec, and set "downloadLimit" in RPC as an int instead of real
2010-07-23 01:38:34 +00:00
Mitchell Livingston
89d36de917
clarify the inactivity key's string
2010-07-23 01:20:38 +00:00
Mitchell Livingston
9f65c0ef11
#3445 bump RPC version to 10
2010-07-23 00:48:45 +00:00
Charles Kerr
e7cf05a6ba
(trunk libT) #3427 "use shortest-job-first scheduling for verifying local data" -- patch from wateenellende and sadface
2010-07-19 14:44:24 +00:00
Charles Kerr
9ea1cff367
(trunk libT) disable some more unnecessary debug messages
2010-07-17 22:37:13 +00:00
Mitchell Livingston
72cf30db35
#3433 Fix alignment issue with #3433
2010-07-16 11:02:27 +00:00
Mitchell Livingston
fd0dd10419
First go at #2560 "inactive seeding time limit". libtransmission and Mac support are currently implemented.
2010-07-16 03:12:57 +00:00
Charles Kerr
5e2b41d868
(trunk) #3425 "transmission-remote is not able to get/set cache size" -- fixed
2010-07-15 01:03:56 +00:00
Charles Kerr
307147b838
(trunk libT) #3330 "checking message log causing hang" -- turn off the cache dbg messages since the cache has been running ok for awhile now
2010-07-13 20:12:54 +00:00
Charles Kerr
666f9258a8
(trunk libT) #3423 "crash when saving prefs" -- fixed
2010-07-13 13:36:00 +00:00
Charles Kerr
38c25a5890
(trunk libT) fix minor "comparison between signed and unsigned" warning in tr_moveFile()
2010-07-13 13:23:51 +00:00
Mitchell Livingston
235caa572b
Have libtransmission keep track of idle seconds. Use this value for determining the stalled minutes in the Mac code.
2010-07-11 21:02:30 +00:00
Charles Kerr
6f5c9dcafb
(trunk libt) rename tr_date() as tr_time_msec() for clarity
2010-07-11 20:49:19 +00:00
Charles Kerr
8d60d46538
(trunk libT) #3407 "stop ratio callback called twice in some situations" -- experimental fix in trunk
2010-07-11 18:36:18 +00:00
Charles Kerr
e3e7683077
(trunk libT) #3388 "file completion percentage never updates" -- fixed.
2010-07-10 21:30:37 +00:00
Charles Kerr
71cadc02b6
(trunk web) #3413 "download speed bad format in web interface" -- fixed.
2010-07-10 02:05:25 +00:00
Charles Kerr
52c04a0d06
(trunk) some units formatter cleanup.
2010-07-09 20:53:38 +00:00
Charles Kerr
649ebcd6c3
(trunk libT) #3411 "make https behave nicer when using stunnel" -- experimental fix
2010-07-09 14:11:58 +00:00
Charles Kerr
5e4f950358
(trunk libT) #1521 "memory cache to reduce disk IO" -- whoops, I missed these parts from Longinus' patch in r10978
2010-07-08 23:38:57 +00:00
Charles Kerr
95232dfe58
(trunk libT) fix bug between the new inout checksum code and the new cache code
2010-07-08 23:04:12 +00:00
Charles Kerr
db13ac63ff
(trunk libT) #1521 "memory cache to reduce disk IO" -- apply Longinus' libt_fixCache.patch version 3
2010-07-08 17:38:11 +00:00
Charles Kerr
098117c987
(trunk libT) use the Mac client's speed formatter
2010-07-08 03:20:07 +00:00
Charles Kerr
c993c1703a
(trunk libt) #3402 "cache-size parameter not retained in settings.json after a restart" -- fixed
2010-07-07 23:37:03 +00:00
Charles Kerr
b5e93da8f4
(trunk T) #3404 "crash when creating a .torrent containing empty content" -- fixed
2010-07-07 22:50:18 +00:00
Charles Kerr
082384fc81
(trunk libT) sync unit tests to iconv() usage
2010-07-07 17:08:38 +00:00
Charles Kerr
91d8cbc383
(2.0x trunk) #3397 "checksum errors when downloading files whose names are encoded in iso-8859-1" -- fixed
2010-07-07 16:48:23 +00:00
Charles Kerr
93bb7d6b3c
(trunk libT) #3399 "tr_ioTestPiece() can be faster" -- fixed
2010-07-07 16:31:07 +00:00
Charles Kerr
f88ce0a083
(trunk gtk) #3396 "Not UTF-8 aware string truncation" -- fixed
2010-07-07 00:44:52 +00:00
Charles Kerr
88c61f8cc2
(trunk) #3045 fix oops from last commit
2010-07-06 20:52:54 +00:00
Charles Kerr
610061f79a
(trunk T) #3045 "units" -- modify the formatter functions based on feedback from BMW
2010-07-06 20:25:54 +00:00
Mitchell Livingston
ed74e0009b
Mac build compiles again
2010-07-06 03:31:17 +00:00
Charles Kerr
d4816f7461
(trunk libT) remove some debugging printf()s that were accidentally committed in r10941
2010-07-05 22:49:07 +00:00
Charles Kerr
841be713d1
(trunk libT) #3383 "When port forwarding, check to see if the public port matches the private port" -- fixed
2010-07-05 21:04:17 +00:00
Charles Kerr
d088b289dd
(trunk libT) isPeerCandidate(): sort the filter tests in order of those that get the mosts hits
2010-07-04 20:40:34 +00:00
Charles Kerr
6e5af03d78
(trunk) #3045 "speed units" -- change the public API of libtransmission based on feedback from livings
2010-07-04 06:07:21 +00:00
Charles Kerr
1df54942dc
(trunk libT) fix overflow error in fileBytesCompleted()
2010-07-03 15:11:38 +00:00
Charles Kerr
178dd336fe
(trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- fix r10931 merge error
2010-07-03 00:33:30 +00:00
Charles Kerr
cdcc4705aa
(trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while.
2010-07-03 00:25:22 +00:00
Charles Kerr
fff1655fb6
(trunk libT) handle aria2 when determining a peer's software from its peer-id
2010-07-02 13:36:25 +00:00
Charles Kerr
8961d095d7
(trunk libT) #1521 "memory cache to reduce disk IO" -- improved revision from sadface
2010-07-01 17:09:13 +00:00
Charles Kerr
e6d136f724
(trunk libT) #1521 "memory cache to reduce disk IO" -- improve one of the debugging messages
2010-07-01 16:26:30 +00:00
Charles Kerr
5a8c94cfe4
(trunk libT) #3382 "2.01+ (10919) hangs after launch" -- fixed.
2010-07-01 16:09:47 +00:00
Charles Kerr
2c85178f9b
(trunk libT) fix a few -Wconversion warnings
2010-07-01 15:14:35 +00:00
Charles Kerr
4ad26f7910
(trunk libT) a couple more minor -Wconversion warnings
2010-07-01 05:39:54 +00:00
Charles Kerr
a5a1f38393
(trunk libT) fix more issues found by -Wconversion
2010-07-01 05:14:34 +00:00
Charles Kerr
8b386a63b1
(trunk libT) #3311 "MingW build of Transmission" -- added rb07's revisions to my revisions to his diff. :P
2010-07-01 04:00:41 +00:00
Charles Kerr
4a9e36e842
(trunk libT) #3381 "replace calls to usleep() with calls to nanosleep()" -- done.
2010-07-01 03:59:06 +00:00
Charles Kerr
954a309d8f
(trunk) #3311 "MingW build of Transmission" -- apply more of rb07's diffs, though edited to lessen the inevitable #ifdefs
2010-06-30 21:24:36 +00:00
Charles Kerr
254a1f15cb
(trunk libT) down the rabbit hole: various minor type correctness changes unearthed by -Wconversion
2010-06-30 16:40:19 +00:00
Charles Kerr
77a2cf02f1
(trunk libT) fix a couple of minor warnings found by -Wfloat-equal
2010-06-30 15:05:43 +00:00
Charles Kerr
d9e4ca49b5
(trunk) avoid a few unnecessary type conversions. remove a few unnecessary mutex locks.
2010-06-30 06:03:55 +00:00
Daniel Lee
b99a4a57af
(libT) #2581:RPC extended to manage tracker lists
2010-06-30 05:52:24 +00:00
Charles Kerr
8a835610c6
(trunk libT) remove unused code
2010-06-28 13:42:45 +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
77aaeb932b
(trunk libT) don't try to port forward through your cablebox just because it's hooked up to the local network...
2010-06-27 15:29:23 +00:00
Charles Kerr
77c43d3f66
(trunk libT) add randomness to the peer unchoking algorithm
2010-06-27 01:24:48 +00:00
Charles Kerr
acd0e77901
(trunk libT) #3329 "connection problems when downloading" -- when deciding which peer to connect to, take download/seed status into account
2010-06-26 18:49:31 +00:00
Charles Kerr
e70ed9a2e8
(trunk libT) #3329 "connection problems when downloading" -- raise MAX_CONNECTIONS_PER_SECOND up the higher value used in 1.93
2010-06-26 17:54:19 +00:00
Charles Kerr
62346fdac0
(trunk libT) #1521 "memory cache to reduce disk IO" -- improved average flush size thanks to efficiency patch from sadface
2010-06-26 16:21:50 +00:00
Charles Kerr
98cec85e46
(trunk libT) #3311 "MingW build of Transmission" -- apply further win32 diffs from rb07
2010-06-25 20:36:10 +00:00
Charles Kerr
7638e44724
(trunk libT) #3320 "If the seed ratio is already met" -- fix a bug in r10848 reported by BMW
2010-06-25 15:39:17 +00:00
Charles Kerr
7e239e932e
(trunk) #3320 : "If the seed ratio is already met when download completes, the Mac callback options do not occur" -- possible fix. needs confirmation from OP or BMW
2010-06-25 06:57:34 +00:00
Charles Kerr
d43e284961
(trunk libt) #3311 "MingW build of Transmission" -- possible win32 fix for the curl thread's select() call. probably broken... :)
2010-06-25 01:31:25 +00:00
Charles Kerr
1f3ead026d
(trunk) #3311 "MingW build of Transmission" -- modify tr_strip_positional_args() to strip out the ' printf flag. Platforms not supporting $ tend to not support ' either
2010-06-25 01:13:35 +00:00
Charles Kerr
41f9ae0500
(trunk) #3339 "crash when download some magnet links" -- fixed
2010-06-24 20:36:05 +00:00
Charles Kerr
5a0d9351d2
(trunk) #3341 "support alternate tracker syntax in magnet links" -- fixed
2010-06-24 18:25:21 +00:00
Charles Kerr
a54270a11a
(trunk libT) #3308 "Don't stop/restart torrents when setting the local data's location" -- fixed
2010-06-24 17:49:20 +00:00
Charles Kerr
bcb53a8937
(2.0x) #3340 "tr_moveFile() can be faster" -- fixed for 2.01
2010-06-24 17:34:56 +00:00
Charles Kerr
075169b409
(trunk libT) formatter_get_size_str() -- we don't need decimal places when displaying bytes :)
2010-06-23 20:14:30 +00:00
Charles Kerr
5e2a6f6c6a
(trunk libT) #2581 "RPC extended to manage tracker lists" -- add safeguards in tr_torrentSetAnnounceList() to handle the case of tracker arrays not being sorted by tier.
2010-06-23 16:06:15 +00:00
Charles Kerr
16f1ebefce
(trunk libT) when comparing peer speed to decide which peers to unchoke, use different criteria for seeding, downloading public, and downloading private. Loosely related to #3334 .
2010-06-23 04:36:16 +00:00
Daniel Lee
bbe9e9843a
#3298:Prettier formating of percentages
2010-06-22 22:30:58 +00:00
Charles Kerr
7e9ba59807
(trunk libT) minor procedural tweak to tr_peerMgrPeerStats() inspired by #3334
2010-06-22 20:39:19 +00:00
Charles Kerr
610c912c5a
(trunk libT) #3329 "connection problems when downloading" -- randomize the peer arrays so that all untested peers will have an equal chance of being used. Suggested by Longinus00
2010-06-22 16:31:38 +00:00
Charles Kerr
e6cf296a68
(trunk libT) add an accessor for the formatter unit strings
2010-06-22 13:34:46 +00:00
Charles Kerr
1d63aa4cda
(trunk) add tr_formatter_size() and tr_formatter_speed() so that all the client apps don't have to reinvent the wheel
2010-06-22 04:34:16 +00:00
Charles Kerr
5ad7ed550f
(trunk) more win32 fixes from rb07 in #3311
2010-06-22 00:12:52 +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
8d413e98fc
(trunk libT) silence a cache log message
2010-06-20 13:19:24 +00:00
Charles Kerr
db44d81b24
(trunk) #3256 "libtransmission/publish.[ch] should be replaced" -- apply publish.diff for 2.10
2010-06-19 14:33:10 +00:00
Charles Kerr
e70bebf930
(trunk) #1521 "memory cache to reduce disk IO" -- commit block-cache-rc1.diff to trunk for the nightlies.
2010-06-19 14:25:11 +00:00
Charles Kerr
eda211e5ce
(trunk) #2983 : add command-line utilities for creating .torrent files, for editing passkeys, for adding/removing trackers, etc.
2010-06-16 14:27:24 +00:00
Charles Kerr
71c1919cfc
(trunk) #3263 "cli-based utils' --help page should limit themselves to 80 columns"
2010-06-16 14:05:18 +00:00
Charles Kerr
82f0ec7413
(trunk libT) #3297 "tr_makemeta() should use tr_open_file_for_scanning()" -- implemented in trunk for 2.10
2010-06-16 14:01:03 +00:00
Charles Kerr
13b073fcdc
(libT) #3291 "tr_torrent.infoDictOffset should be lazily evaluated"
2010-06-16 03:05:23 +00:00
Charles Kerr
7dc9d4ac69
(trunk) fix minor memory leak in the bencode-test unit tests
2010-06-15 15:46:51 +00:00
Charles Kerr
3ae99f79ec
(trunk libT) #3293 "fggets() is overkill for parsing the blocklist" -- fixed in trunk for 2.00
2010-06-15 00:38:10 +00:00
Charles Kerr
3e7730e9b7
(trunk libT) remove a pair of unnecessary, but expensive, assert()s
2010-06-14 23:14:58 +00:00
Charles Kerr
a5e708c824
(trunk libT) rejigger the filter order again, based on profiling in cachegrind
2010-06-14 12:48:28 +00:00
Charles Kerr
38a254ba78
(trunk libT) as long as I'm committing these CPU tweaks, might as well throw in #3289 too. To undo all this, we can revert to r10745
2010-06-14 12:01:50 +00:00
Charles Kerr
89201ab829
(trunk libT) when filtering out peers that aren't candidates, use the fastest filter tests first, so that the more expensive tests will be applied to fewer peers. In particular, call peerIsInUse() last.
2010-06-14 11:57:46 +00:00
Charles Kerr
f0a70d77b6
(trunk libT) experimental commit
2010-06-14 03:42:54 +00:00
Charles Kerr
ec79257999
(trunk libT) add a much faster (but more complicated) implementation of comparePeerCandidates(). For testing in the nightlies, leave both and the new implementations in the code and run them both (which will make the nightlies slower for awhile) and crash if the results differ from each other. When it doesn't crash anymore I'll remove the old implementation. Happy testing! >:)
...
-place and compare them to make sure they both give the same results. If no testers can make it crash
2010-06-14 01:56:03 +00:00
Charles Kerr
48f9d61ba1
(trunk libT) small speed improvements to comparePeerCandidates()
2010-06-13 23:06:50 +00:00
Mitchell Livingston
493f5afa6a
trivial improvement to compareSeedProbabilities()
2010-06-13 20:54:03 +00:00
Charles Kerr
a33be6c4b8
(trunk libT) speedups to comparePeerCandidates()
2010-06-13 17:17:33 +00:00
Charles Kerr
462e473410
(trunk libT) when TR_CURL_VERBOSE is set, also log the benc announce response
2010-06-10 15:18:02 +00:00
Charles Kerr
bc71c7753b
(trunk libT) #3274 "When connecting with a DHT-enabled peer, we send our port message out-of-order" -- fixed in trunk for 2.00
2010-06-07 19:35:57 +00:00
Charles Kerr
0ad06c50e8
(trunk) #3262 "problems with '.' as the first character in a .torrent's filename" -- fixed in trunk for 2.00
2010-06-07 14:25:31 +00:00
Charles Kerr
cf3417b2cd
(trunk libT) lower the max # of outbound peer connections a little
2010-06-04 16:48:36 +00:00
Charles Kerr
60ce7e5263
(trunk libT) #3258 "Transmission 1.93 sends 'stopped'+'started' announce instead of 'completed' if the incomplete-dir is enabled" -- probable fix
2010-06-03 16:37:50 +00:00
Charles Kerr
59560eccf6
(trunk libT) #3249 "C99-ism in libtransmission/tr-lpd.c" -- fixed in trunk for 2.00
2010-05-31 17:03:51 +00:00
Mitchell Livingston
af2ae0eac4
reverting r9177: pow() is a basic math function and should be used instead of a hack
2010-05-31 13:43:33 +00:00
Charles Kerr
58b5ef9065
(trunk libT) #3247 "add blocklist support for pipfilter file format" -- implemented in trunk for 2.00
2010-05-31 11:38:36 +00:00
Charles Kerr
37f90426c1
(trunk libT) revert r10661 s.t. DHT peers are preferred slightly over PEX peers. This reversion comes after reading "Understanding the Properties of the BitTorrent Overlay" (2007, Al-Hamra) @ http://arxiv.org/pdf/0707.1820 at Juliusz's suggestion. Also tweak the announce's 'numwant' threshold based on findings from the same paper.
2010-05-28 01:41:30 +00:00
Charles Kerr
a1b85a633c
(trunk libT) #3234 "Checking existing data can show 100%" -- fixed in trunk for 2.00
2010-05-26 16:40:47 +00:00
Charles Kerr
b0b9e17032
(trunk libT) define MAX_BLOCK_SIZE once instead of in a handful of places
2010-05-26 15:23:21 +00:00
Charles Kerr
52d82cee33
(trunk libT) #3235 "Changeset 10293 broke the moving files fron complete to incomplete dir when both dirs have same inode on different devices" -- fixed in trunk for 2.00
2010-05-26 13:46:37 +00:00
Charles Kerr
035dea80df
(trunk libT) fix r10689 oops
2010-05-25 20:42:32 +00:00
Charles Kerr
25a5b2918a
(trunk libT) #3231 "Check existing data is extremely slow" -- increase the read buffer size as suggested by eridius
2010-05-25 20:19:34 +00:00
Charles Kerr
f3a5eed32b
(trunk libT) #3233 "torrent.c:1695: error: too few arguments to function `ctime_r'" on OpenSolaris
2010-05-25 15:23:16 +00:00
Charles Kerr
872291cd62
(trunk libT) make tr_pwrite()'s "buf" argument const
2010-05-22 00:09:36 +00:00
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
Charles Kerr
559af38e7b
(trunk libT) #3162 "allow optional end-user configuration of TCP_CONGESTION" -- minor tweak removing a little bit of code duplication in r10508
2010-04-22 02:04:43 +00:00
Charles Kerr
00f452d942
(trunk libT) #3162 "allow optional end-user configuration of TCP_CONGESTION" -- add jch's implementation of this to trunk for 2.00
2010-04-22 01:49:16 +00:00
Charles Kerr
25103d5198
(trunk libT) #3159 "better choosing of which peers to initiate new connections with" -- fix new bug in r10500 that was reported by Sharpshot in #3160
2010-04-21 04:44:35 +00:00
Charles Kerr
3682466488
(trunk libT) #3136 "slashes in magnet names" -- fixed in trunk for 2.00
2010-04-20 23:14:00 +00:00
Charles Kerr
546bca723b
(trunk libT) #3159 "better decision-making when choosing which peers to initiate new connections with" -- experimental commit
2010-04-20 21:54:03 +00:00
Charles Kerr
10fb49059f
(trunk libT) #3047 "Periodic disk access in idle state" -- added to trunk for 2.00 by committing a patch by klapaucjusz into this svn code repository
2010-04-20 03:44:45 +00:00
Charles Kerr
99a5412601
(trunk libT) #3105 "Torrentadd over rpc not files wanted/unwanted bug" -- fixed in trunk for 2.00
2010-04-19 23:10:30 +00:00
Charles Kerr
657a2a4588
(trunk libT) #3154 "crash when saving a blocklist to disk when the disk is full" -- fixed in trunk for 2.00
2010-04-19 16:18:12 +00:00
Charles Kerr
8a2c6c954d
(trunk libT) update our JSON_parser snapshot
2010-04-17 13:29:02 +00:00
Charles Kerr
997e747821
(trunk libT) #3145 "Log torrent deletion" -- Longinus00's patch applied to trunk for 2.00
2010-04-17 04:07:56 +00:00
Charles Kerr
c808cd624a
(trunk libT) #3134 "transmission-remote apparently can't handle apostrophes in errorStrings" -- I'm unable to reproduce the reported behavior, but that's no reason to let a new unit test go to waste... committing the unit test anyway
2010-04-15 19:27:47 +00:00
Charles Kerr
aae8a8d202
(trunk) #3141 "Web client should be disabled by default" -- implemented in trunk for 2.0
2010-04-15 18:57:26 +00:00
Charles Kerr
089f9c5f11
(trunk libT) #3140 "Transmission doesn't build with Curl 7.15.5" -- fixed in trunk for 2.00
2010-04-15 15:32:36 +00:00
Charles Kerr
b7827565ee
(trunk libT) #1869 "new status for torrents that reach seed ratio" -- possible fix for the bug reported by leena
2010-04-15 13:43:54 +00:00
Charles Kerr
1a7bcbbea2
(trunk) #1869 "new status for torrents that reached the seed ratio" -- add temporary debug messages to help track down the issue leena's reporting in that ticket
2010-04-14 13:36:43 +00:00
Charles Kerr
8f0487b9d3
(trunk libT) in seedRatio, handle the case where a file is downloaded more than once
2010-04-14 00:34:31 +00:00
Charles Kerr
0aa422e262
(trunk libT) #1869 "new status for torrents that reached the seed ratio" -- maybe fix the issue reported by leena
2010-04-14 00:03:23 +00:00
Mitchell Livingston
39515ea28b
use leftUntilDone instead of percentDone when determining finished status
2010-04-13 00:20:04 +00:00
Charles Kerr
a2d56b832d
(trunk libT) back out r10075, because r10336 addresses the same problem in a better way. r10075 changed the default preallocation to `full' if fallocate64() is present, and r10336 added fallocate64() as the first-attempt mechanism for `fast' preallocation
2010-04-11 13:32:41 +00:00
Mitchell Livingston
7a086ec6df
update miniupnp to 20100407
2010-04-07 22:45:35 +00:00
Mitchell Livingston
05cf5fccef
when the ratio is set to unlimited when resuming, reload the inspector
2010-04-02 18:05:39 +00:00
Mitchell Livingston
6a4954e867
#1869 Move the finished state to libtransmission. This setting is now remembered between launches. This also causes torrents that hit the seed ratio to not have this setting changed to unlimited until start.
2010-04-02 17:57:25 +00:00
Charles Kerr
5af66dffcd
(trunk libT) #3104 "tr-dht.c: signed port number" -- fixed in trunk for 2.00
2010-03-31 18:52:07 +00:00
Charles Kerr
a42b084924
(trunk libT) #3091 "tr_ctorSetDownloadDir() should check for empty string" -- fixed in trunk for 2.00
2010-03-28 12:07:04 +00:00
Mitchell Livingston
d1229a263c
#3072 Make Transmission look for the web ui folder in the Application Support folder first
2010-03-24 23:41:08 +00:00
Charles Kerr
0193a577b9
(trunk libT) increase request TTL to 120 seconds
2010-03-22 02:27:57 +00:00
Charles Kerr
83f97a35fe
(trunk libt) #3004 "Transmission doesn't report to the user errors when saving settings files" -- committed Longinus00's patch to trunk for 2.00
2010-03-22 00:55:43 +00:00
Charles Kerr
1357a75d40
(trunk libT) #2911 "requirement of javascript/transmission.js for webinterface unnecessary" -- implemented in trunk for 2.00
2010-03-19 18:48:37 +00:00
Charles Kerr
e1607c8354
(trunk) #2898 "add pausing and deletion to daemon" -- committed patch from Longinus00 to trunk for 2.00
2010-03-17 19:23:03 +00:00
Charles Kerr
fe3d9ed95a
(trunk) one of the least interesting commits ever: remove trailing spaces from source code lines...
2010-03-17 17:07:40 +00:00
Charles Kerr
4917cd119b
(trunk libT) #3051 "faster startup by adding 'have all' idiom to .resume files" -- implemented in trunk for 2.00
2010-03-15 23:29:56 +00:00
Charles Kerr
ddde05bff7
(trunk libT) #3026 "speed limit mode not honoring limits on other days" -- fixed regression caused by r10352 reported by m1b.
2010-03-12 19:35:28 +00:00
Charles Kerr
7d7529eb94
(trunk libT) make tr_updateTime() inlined
2010-03-12 19:24:45 +00:00
Charles Kerr
af3736dbd3
(trunk libT) #3026 "Recent T doesn't honor weekend speed limit setting" -- fixed in trunk for 2.00
2010-03-10 22:19:31 +00:00
Charles Kerr
64a847baf0
(trunk libT) #2958 "Minimize use of tr_ptrArray in critical parts of the code" -- accept patch from sadface to make tr_ptrArrayInsert() a little cleaner
2010-03-10 16:35:12 +00:00
Charles Kerr
1d8d9d8447
(trunk libT) code cleanup: after r10346, we don't need to keep the per-torrent cancel/block histories anymore
2010-03-10 15:55:00 +00:00
Charles Kerr
3aa3ec7d14
(trunk libT) #2993 "'Downloaded' much greater than 'Have' or 'Verified'" -- tweak the new throttle code based on slow download feedback from gn0s1s in irc, from Rascal @ http://trac.transmissionbt.com/ticket/2993#comment:29 , and from AGSystem @ http://forum.transmissionbt.com/viewtopic.php?p=45631&f=1#p45631
2010-03-10 15:34:27 +00:00
Charles Kerr
539f0edaba
(trunk libT) in tr_bencToFile(), call fsync() before close() for better ext4 safety
2010-03-09 22:59:14 +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
eab787ac7d
(trunk libT) add unit test for the new history module
2010-03-08 04:51:50 +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
b1a29969fe
(trunk libT) disable the comparePieceByWeight assertions in trunk too.
2010-03-07 22:56:14 +00:00
Charles Kerr
6b546e8b4b
(trunk libT) #1242 "don't accept duplicate blocks during endgame" -- fixed in trunk for 1.92
2010-03-07 17:38:34 +00:00
Charles Kerr
c55788acac
(trunk libT) add an fsync() before closing files
2010-03-07 06:14:04 +00:00
Charles Kerr
d83f8e09d3
(trunk libT) #2885 "'Move data file' does not change the location for data yet to be downloaded" -- fixed in trunk for 1.92
2010-03-06 22:33:45 +00:00
Charles Kerr
d54e894ccb
(trunk libT) #3015 : "Transmission announces badly when the port is changed" -- fixed in trunk for 1.92. Thanks to Rolcol for tracking down the cause of this bug.
2010-03-06 21:24:28 +00:00
Charles Kerr
ced3e2672f
(trunk libT) poke at the newfound 100% cpu bug
2010-03-06 20:15:23 +00:00
Charles Kerr
3e79f4b3fe
(trunk libT) fix BSD build issue
2010-03-06 19:33:04 +00:00
Charles Kerr
ee4a29d200
(trunk libT) #2987 minor correction to r10303 -- silence a compiler warning and turn off some debug messages that printed to stderr.
2010-03-06 15:27:18 +00:00
Charles Kerr
e8cb5367e1
(trunk libT) #2987 "push libcurl into its own worker thread" -- committed to trunk
2010-03-06 15:05:05 +00:00
Charles Kerr
095cc3e05f
(trunk libT) "don't cancel requests for blocks that we're downloading from slow peers" -- fixed in trunk for 1.92
2010-03-06 14:56:15 +00:00
Charles Kerr
2be28fe9dd
(trunk libT) #2993 "'Downloaded' much greater than 'Have' or 'Verified'" -- found a weighted piece sorting issue while trying to confirm or refute this issue.
2010-03-03 04:16:18 +00:00
Charles Kerr
22320d2356
(trunk libT) fix potential NULL pointer dereference in libtransmission
2010-03-02 04:51:40 +00:00
Charles Kerr
446379a464
(trunk libT) #2964 "Multiple simultaneous DNS resolve operations fail on some platforms causing unnecessary delays in successful announces" -- fixed in trunk for 1.92. Thanks to gongloo for the patch.
2010-03-01 15:29:28 +00:00
Charles Kerr
3e9d545713
(trunk libT) #2995 "Incompletely downloaded files not trashed" -- fixed in trunk for 1.92
2010-02-28 15:27:48 +00:00
Charles Kerr
54b394d160
(trunk libT) #2984 "Transmission 1.91/OSX deletes completed download" -- experimental commit, and more debug messages
2010-02-27 18:52:46 +00:00
Mitchell Livingston
bd635f22d0
for scrapes: add a new field to distinguish from error messages returned from the tracker, and scrape timeouts, so that they can be displayed differently
2010-02-25 23:06:05 +00:00
Charles Kerr
4401dcaa28
(trunk libT) #2965 : "buffer overflow if too many tr= args in a magnet link" -- fixed in trunk for 1.92. thanks to pjz for the patch.
2010-02-24 04:23:36 +00:00
Charles Kerr
6d639f354b
(trunk libT) use tr_valloc() in a couple of places where we allocate largish, short-term buffers
2010-02-23 07:29:21 +00:00
Charles Kerr
fad8f285a8
(trunk libT) use jch's suggestion of having a per-session page-aligned memory buffer for general reuse. ( http://trac.transmissionbt.com/ticket/2551#comment:5 )
2010-02-23 07:20:57 +00:00
Charles Kerr
5667b80ba6
(trunk libT) try to make the posix_memalign() #includes work right on Darwin too
2010-02-23 06:15:47 +00:00
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
Charles Kerr
f1221f958f
(trunk libT) dead code removal -- the buffer & buflen arguments to tr_ioTestPiece() were unused
2010-02-23 06:05:18 +00:00
Charles Kerr
1499f5c405
(trunk libT) #2906 "remove unused code: Torrent.requests array is never sorted by time" -- added to trunk for 1.92(trunk libT) #2906 "remove unused code: Torrent.requests array is never sorted by time" -- added to trunk for 1.92(trunk libT) #2906 "remove unused code: Torrent.requests array is never sorted by time" -- added to trunk for 1.92(trunk libT) #2906 "remove unused code: Torrent.requests array is never sorted by time" -- added to trunk for 1.92(trunk libT) #2906 "remove unused code: Torrent.requests array is never sorted by time" -- added to trunk for 1.92(trunk libT) #2906 "remove unused code: Torrent.requests array is never sorted by time" -- added to trunk for 1.92(trunk libT) #2906 "remove unused code: Torrent.requests array is never sorted by time" -- added to trunk for 1.92(trunk libT) #2906 "remove unused code: Torrent.requests array is never sorted by time" -- added to trunk for 1.92(trunk libT) #2906 "remove unused code: Torrent.requests array is never sorted by time" -- added to trunk for 1.92
2010-02-22 15:07:14 +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
Mitchell Livingston
db644587d0
update to 1.91+
2010-02-22 02:04:47 +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
Mitchell Livingston
f3b98a6c18
avoid unnecessary setting of id when calling tr_torrentSetAnnounceList
2010-02-22 00:15:27 +00:00
Charles Kerr
d0e5e68ac1
(trunk libT) when calling tr_torrentSetAnnounceList(), reset the tracker IDs to new, but unique, numbers synchronized between tr_info and the torrent stats
2010-02-22 00:11:19 +00:00
Charles Kerr
c23044ee86
(trunk libT) when an rpc message torrent-stop or torrent-start comes in, check the torrent's currnet run state first instead of unconditionally calling tr_torrentStart() and tr_torrentStop()
2010-02-21 23:03:29 +00:00
Charles Kerr
c1a6e7b5d9
(trunk libT) #2933 "looking up torrents by info hash should be case-insensitive" -- fixed in trunk for 1.91
2010-02-21 00:26:54 +00:00
Charles Kerr
71ed8193b8
(trunk libT) (1) reduce the default tracker announce timeout from 120 to 90 seconds. (2) for partial seeds, send an event=paused when we transition from being leeches to partial seeds, just as you would send an event=completed when becoming a seed
2010-02-20 21:03:49 +00:00
Charles Kerr
bf135da49a
(trunk libT) fix bug that prevented adding torrents by URL from an ftp source via http/rpc
2010-02-20 18:45:33 +00:00
Charles Kerr
7a33a9170e
(trunk libT) revise r10238 to be a little more readable
2010-02-20 17:17:57 +00:00
Charles Kerr
9b68c1ec97
(trunk libT) comment out a couple of console debug messages
2010-02-20 16:33:20 +00:00
Charles Kerr
5a9a07b71e
(trunk) #2938 "crash when adding a torrent by URL from an ftp source over RPC" -- fixed in trunk for 1.91
2010-02-20 15:57:05 +00:00
Charles Kerr
a973e38bb5
(trunk libT) #2922 "announce's 'download' field should follow the de facto standard" -- added to trunk for 1.91
2010-02-20 15:36:25 +00:00
Charles Kerr
069d092301
(trunk libT) #2924 "1.90 crashes on startup" -- more changes in the vein of r10233
2010-02-20 03:41:47 +00:00
Charles Kerr
483086ef3d
(trunk libT) #2924 "1.90 crashes on startup" -- fix typo from previous commit r10233 :/
2010-02-20 01:22:10 +00:00
Charles Kerr
2f86872b0f
(trunk libT) #2924 "1.90 crashes on startup" -- another experimental fix, inspired by the suggestion in http://forum.transmissionbt.com/viewtopic.php?p=45027&sid=9cfe1679bebdefb27dd288010cbff80d#p45027 that the bug may have been introduced in r10089.
2010-02-20 01:11:55 +00:00
Charles Kerr
1230a30991
(trunk libT) #2924 "1.90 crashes on startup" -- revert r10230's experimental code; it didn't work :(
2010-02-19 17:08:13 +00:00
Charles Kerr
761547d1d2
(trunk libT) #2924 "1.90 crashes on startup" -- experimental commit
2010-02-19 07:04:54 +00:00
Charles Kerr
3c936b2849
(trunk libT) #2907 "Speed Limit mode not retained after relaunch" -- fixed in trunk for 1.91
2010-02-19 06:19:47 +00:00
Charles Kerr
653537f8d7
(trunk libT) #2907 "speed limit mode not retained after relaunch" -- fixed in trunk for 1.90
2010-02-16 00:00:22 +00:00
Charles Kerr
bdae614636
(trunk libT) instead of growing the ptrArray by a constant fixed amount when it runs out of room, follow exponential growth to minimize the number of realloc()s needed. This speeds up populating large arrays in bencode.c
2010-02-15 16:44:02 +00:00
Mitchell Livingston
f239919443
ocd tweaks
2010-02-15 16:15:37 +00:00
Charles Kerr
6407e38df7
(trunk libT) fix a potential (but currently unused) code path in tr_torrentNew() that could cause a memory leak. Thanks to Elbandi for pointing this out.
2010-02-15 00:22:18 +00:00
Charles Kerr
e31b9d8fc5
(trunk libT) #2903 "Don't send DHT port messages to peers if we didn't advertise support for DHT in the handshake" -- fixed in trunk for 1.90
2010-02-14 19:35:09 +00:00
Charles Kerr
be80f3bbde
(trunk libT) more improvements to tr_announcerResetTorrent()
2010-02-14 05:34:03 +00:00
Charles Kerr
586602a13a
(trunk libT) annother announcer tweak, this time to resolve a problem reported by Longinus00 in #transmission on freenode that 404 responses incorrectly caused Transmission to announce again
2010-02-14 05:16:04 +00:00
Mitchell Livingston
26ccf12b3e
#2902 New tracker addition field obscured when trackers vertically fill inspector view
2010-02-14 04:48:12 +00:00
Charles Kerr
cf95714968
(trunk libT) handle 404 errors more gracefully. error reported by Longinus00 in #transmission on freenode
2010-02-14 03:54:35 +00:00
Charles Kerr
617e80d767
(trunk libT) #2850 "tr_torrentSetAnnounceList() should not trigger reannounces to trackers" -- further revision to get newly-added tiers to announce
2010-02-14 03:40:39 +00:00
Charles Kerr
2ad6e06ea6
(trunk libT) #2850 "tr_torrentSetAnnounceList() should not trigger reannounces to trackers" -- tweak to r10193
2010-02-14 03:28:54 +00:00
Charles Kerr
057b80a9f9
(trunk libT) "tr_torrentSetAnnounceList() should not trigger reannounces to trackers" -- implemented in trunk for 1.90
2010-02-13 21:58:38 +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
a694ac185c
(trunk libT) #2982 "changing port number doesn't actually change until program restart" -- fixed in trunk for 1.90
2010-02-12 04:57:40 +00:00
Charles Kerr
8aa62240f8
(trunk libT) fix memory leak when trying to add duplicate torrents. thanks valgrind!
2010-02-12 04:13:51 +00:00
Charles Kerr
b7b5a0e427
(trunk) #2894 "tr_torrentGetFileDL() and tr_torrentGetFilePriority() should go away" -- get rid of it in the mac client and libtransmission too
2010-02-11 15:05:07 +00:00
Charles Kerr
13b03ba195
(trunk libT) #2892 "changing port number doesn't actually change until program restart" -- possible fix
2010-02-11 14:28:40 +00:00
Charles Kerr
7c013c61c1
(trunk libT) tweak the shutdown code
2010-02-11 04:07:13 +00:00
Charles Kerr
5c9cd2c2db
(trunk libT) revert part of r10064 at livings' request
2010-02-11 03:12:03 +00:00
Mitchell Livingston
9407b5f0f0
chop off a bit of text in an announce error message
2010-02-11 02:52:54 +00:00
Charles Kerr
e03ad192c7
(trunk libT) demote the "Got N peers from tracker" and "Found N peers from DHT" messages from info to debug... there are just too many of them
2010-02-11 01:20:43 +00:00
Charles Kerr
7e28c375c9
(trunk libt) when generating json/benc strings, preallocate some space in the evbuffer to avoid excess realloc()s
2010-02-11 00:53:50 +00:00
Charles Kerr
c35d4696ee
(trunk libT) re-add the supportcrypto, requirecrypto announce arguments that were removed during announce testing in r10090
2010-02-11 00:43:47 +00:00
Charles Kerr
9fffb2be35
(trunk libT) Yippie, plug a small memory leak reported by valgrind!
2010-02-10 05:27:14 +00:00
Charles Kerr
a95aae5591
(trunk) as promised, remove the announce logging code. now safe for general-purpose nightly build testing again.
2010-02-10 04:50:21 +00:00
Charles Kerr
42fcfbe804
(trunk libT) try to fix the mac build. This commit still has the announce logging code.
2010-02-10 04:42:34 +00:00
Charles Kerr
acc8e64102
(trunk) another test build that logs tracker announces to a file in /tmp, so you probably shouldn't use it unless I've asked you to. After hudson-t is done building a debug dmg of this, I'll commit r10155 to remove the logging code
2010-02-10 04:35:59 +00:00
Charles Kerr
7efdd92f86
(trunk libT) oops, a couple of debugging printf()s snuck into the commit
2010-02-10 03:57:41 +00:00
Charles Kerr
2cbfe53717
(trunk libT) #2887 "dangling pointer in 1.81" -- fixed in trunk for 1.90 / 1.8x
2010-02-10 03:26:19 +00:00
Charles Kerr
2472970c53
(trunk libT) fix 1.82 memory corruption error reported by john doe
2010-02-10 02:59:15 +00:00
Charles Kerr
8ba3442408
(trunk libT) fix the &event= key when telling the tracker that a partial seed is being stopped
2010-02-09 21:51:11 +00:00
Charles Kerr
a8a5a6cae5
(trunk) revert that last commit, which was only intended for about a dozen people. Unless you're one of them (and you don't know, then you're not) DON'T USE r10145. r10145 -- **ONLY** r10145 -- stored user's tracker announces to a logfile in /tmp.
2010-02-09 02:46:40 +00:00
Charles Kerr
8e51476258
pulling my hair out.... gaaaah
2010-02-09 01:47:16 +00:00
Charles Kerr
5a3f55c7dc
(trunk libT) #2874 "Since 10094 The Schedule Speed Limit Not Working" -- fixed regression reported by bebbo
2010-02-08 19:21:07 +00:00
Charles Kerr
1724553212
(trunk) per-tier up/down/corrupt byte counts for announcing to trackers
2010-02-08 16:47:30 +00:00
Charles Kerr
d1b282b647
(trunk libT) remove dead code.
2010-02-08 13:59:13 +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
0ea501355e
(trunk daemon) #2877 "Don't let the daemon launch if settings.json is corrupt" -- implemented in trunk for 1.90
2010-02-07 22:17:42 +00:00
Charles Kerr
5134dd8966
(trunk libT) #2874 "Since 10094 The Schedule Speed Limit Not Working" -- fixed in trunk for 1.90
2010-02-07 17:13:38 +00:00