1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 14:10:34 +00:00
Commit graph

3335 commits

Author SHA1 Message Date
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