Jordan Lee
75ffe999d4
(trunk libT) #3933 "announcer.c peer parsing could be simpler" -- fixed.
...
Remove redundant code by using tr_peerMgrCompactToPex() and tr_peerMgrCompact6ToPex() to parse compact ipv4 and ipv6 peer lists. Simplify the old-style benc peer list parsing and fix a bug that returned too few bytes in the old-style peer array.
2011-01-22 17:45:54 +00:00
Jordan Lee
68130d9c4e
(trunk libT) #3906 "DHT ignores bind-address-ipv6" -- test fix.
...
Add code to honor the ipv6 bind address. Thanks to jch for saving me a little work by confirming the bug and pointing out where in the code the change needed to be made.
2011-01-22 13:49:15 +00:00
Jordan Lee
53f7fbb039
(trunk libT) #3927 "Use of libevent2 evbuffer_write on files..."
...
evbuffer_write() is intended for sockets. It works for files on Unix, but not on Windows, so we can't portably use it on files. Instead, use evbuffer_pullup() + write().
2011-01-22 13:33:05 +00:00
Jordan Lee
9220ad2300
(trunk libT) #3932 "Assertion failed: (tab != NULL), function tr_torrentAvailability"
...
Looks like tab can be NULL from the Mac client when magnet links are involved and the Mac client doesn't know how many pieces are available, so that assertion's not appropriate.
2011-01-22 13:21:20 +00:00
Jordan Lee
5b382d203e
(trunk libT) #3870 "transmission doesn't recheck after getting initial 404" -- fixed.
...
The exponentially-growing interval between retries had a bug that caused intervals to be too long if no successful announce had ever been made. This commit fixes the code that calculates the interval.
2011-01-20 22:51:05 +00:00
Jordan Lee
bca543dc8e
(trunk libT) #3923 "remove redundant announcer.c debug message" -- done.
2011-01-20 20:49:09 +00:00
Jordan Lee
bcb83b4577
(trunk libT) #3921 "no overhead for reads" -- fixed. thanks to jch for reporting this.
2011-01-20 00:31:46 +00:00
Jordan Lee
4f6d46cf99
(trunk libT) minor code tweak to crypto.c's tr_sha1() function
2011-01-19 21:50:51 +00:00
Jordan Lee
6ae426696f
tr_sha1(): remove unnecessary casts from va_arg
2011-01-19 21:43:43 +00:00
Jordan Lee
06884387da
(trunk) #3914 "strlsize() passes variable of incompatible type to the tr_formatter_size_B()" -- fixed.
2011-01-19 18:14:01 +00:00
Jordan Lee
879a2afcbd
Update the copyright year in the source code comments.
...
The Berne Convention says that the copyright year is moot, so instead of adding another year to each file as in previous years, I've removed the year altogether from the source code comments in libtransmission, gtk, qt, utils, daemon, and cli.
Juliusz's copyright notice in tr-dht and Johannes' copyright notice in tr-lpd have been left alone; it didn't seem appropriate to modify them.
2011-01-19 13:48:47 +00:00
Jordan Lee
ba5172150a
(trunk libT) #3912 "tr_torrentGetMetadataPercent() may return NaN" -- fixed.
2011-01-19 00:20:26 +00:00
Jordan Lee
8aa0f36a37
cleanup of who calls the libtransmission thread locking functions.
...
In some cases we were calling them from deep inside libtransmission, when they should have been called directly from the public-visible API functions: tr_torrentWebSpeeds_KBps(), tr_torrentPeers(), tr_torrentTrackers().
2011-01-18 23:44:36 +00:00
Jordan Lee
7ce0cf2322
code cleanup for tr_peerMgrTorrentAvailability().
...
1. move responsibility for getting a thread lock back to the public API fucntion, tr_torrentAvailability().
2. if the torrent doesn't have metadata, stop after zeroing out the table
3. minor code formatting cleanup
2011-01-18 22:51:29 +00:00
Jordan Lee
7f01f0c3ee
#3911 : tr_peerMgrTorrentAvailability() doesn't sample across the entire torrent' -- fixed.
2011-01-18 22:21:09 +00:00
Jordan Lee
dd77485d83
(trunk libT) demote the remaining lazy-verify debug messages from the debug window to deep logging
2011-01-18 02:17:47 +00:00
Juliusz Chroboczek
5ac1cba6ed
Make ensureAtomExists add to the flags of an existing atom.
...
Flags are cumulative -- if we learn that a given peer groks encryption
from one source, and that it accepts incoming connections from another,
then the relevant atom should have both flags.
2011-01-16 15:51:48 +00:00
Juliusz Chroboczek
96141bdbff
Consolidate both versions of tr_isPex into a single function.
...
There used to be two versions of tr_isPex; one correct in peer-mgr.c,
and one buggy in resume.c. The buggy version caused us to reject all
peers with non-trivial flags when resuming.
2011-01-16 15:47:09 +00:00
Jordan Lee
a433b0c4cc
#3686 "add rpc command to cleanly shutdown daemon" -- added for libT, tr-daemon, tr-gtk, tr-remote, and the rpc spec
2011-01-15 18:12:45 +00:00
Juliusz Chroboczek
6f5ecd2ab8
Make the peer-socket-tos preference more user-friendly.
...
Possible values are now the strings default, lowcost, throughput etc.
Numeric values are used for non-standard values.
2011-01-15 17:10:54 +00:00
Jordan Lee
b2d0b673c2
(trunk libT) #2191 "NAT-PMP and UPnP should also map UDP port" -- committed patch by starix.
2011-01-15 17:06:11 +00:00
Juliusz Chroboczek
8ea2c0daa1
Make the peer-congestion-algorithm preference visible.
...
When I first implemented this code, I made the preference hidden --
unless you set it yourself, it will not appear in the sttings file.
Now that it's been documented and advertised, make it visible.
2011-01-15 16:25:24 +00:00
Jordan Lee
5c96f9ebd8
(trunk libT) fix a minor error in the log message for prefetch errors. thanks to Chinstrap for spotting this.
2011-01-15 05:34:47 +00:00
Jordan Lee
007b96a62f
(trunk libT) #3894 "tr_peerIo.hasFinishedConnecting should be removed" -- committed.
2011-01-13 01:58:57 +00:00
Jordan Lee
e12788c626
(trunk libT) fix formatting error in a couple of old calls to dbgmsg()
2011-01-12 05:05:48 +00:00
Juliusz Chroboczek
62cb43a173
Don't complain about unexpected DHT packets.
2011-01-09 23:54:54 +00:00
Juliusz Chroboczek
cc44725949
#3634 Use dht-0.17
2011-01-09 23:45:04 +00:00
Juliusz Chroboczek
1ef888f9f1
Fix incorrect usage of event_new in UDP code.
...
Apparently you need to pass session->event_base as the first argument.
2011-01-09 23:14:17 +00:00
Juliusz Chroboczek
ff0393acbc
Fix UDP error handling.
2011-01-09 23:04:56 +00:00
Juliusz Chroboczek
7af100fa7e
Update tr-{dht,udp} to libevent2.
2011-01-09 21:48:51 +00:00
Juliusz Chroboczek
6ba4ab0b21
Fix tr-udp for the no IPv6 case.
2011-01-09 21:48:48 +00:00
Juliusz Chroboczek
aa3868df06
Move handling of UDP I/O to tr-udp.c.
2011-01-09 21:48:46 +00:00
Juliusz Chroboczek
0d8c10716c
Use the dht-0.16 API in tr-dht.c.
...
Recvfrom is now done outside the dht code, which makes it possible to share
the socket with UTP.
2011-01-09 21:48:43 +00:00
Juliusz Chroboczek
abcd56c034
Move creation of the UDP sockets to tr-udp.c.
2011-01-09 21:48:36 +00:00
Juliusz Chroboczek
89aa3bb58e
Implement tr_dhtInit and Uninit, use it in session.c.
2011-01-09 21:48:33 +00:00
Juliusz Chroboczek
95f038521c
Update copyright notices.
2011-01-09 21:48:24 +00:00
Juliusz Chroboczek
8c02d6ce1f
Add files tr-udp.[ch] to the build.
2011-01-09 21:48:06 +00:00
Juliusz Chroboczek
5b2948cd17
Improve error messages in tr-dht.c.
2011-01-08 02:12:23 +00:00
Juliusz Chroboczek
fe2fd2efcf
Avoid a descriptor leak when binding the IPv6 DHT socket fails.
2011-01-08 01:09:12 +00:00
Jordan Lee
1cd74312ba
(trunk libT) minor code cleanup in fdlimit.c
2011-01-07 00:17:13 +00:00
Jordan Lee
92d1dfcfbf
(trunk libT) very minor code cleanup -- use an enum instead of magic numbers, etc.
2011-01-06 15:12:12 +00:00
Jordan Lee
cc428376e9
(trunk libT) in deep logging, use evbuffer_write() instead of fwrite()
2011-01-06 02:33:39 +00:00
Jordan Lee
177d60ddf2
(trunk libT) revert previous commit. that new patch generates a warning if _FILE_OFFSET_BITS isn't defined.
2011-01-06 02:31:11 +00:00
Jordan Lee
2cba0d5822
(trunk libT) Fix gzopen64 implicit declaration warning on some systems. (ijuxda ba5f6a66ad949b410464)
2011-01-06 02:27:22 +00:00
Jordan Lee
35cf5e4a32
(trunk libT) Fix posix_memalign() unused result warning. inspired by ijuxda's 08b0c5b
2011-01-06 02:17:22 +00:00
Jordan Lee
d18b1bda05
(trunk) #3875 "Typo: missing gettext macro _ in recent commit" -- fix r11602 regression discovered by ijuxda
2011-01-06 01:05:13 +00:00
Jordan Lee
6dc03f471e
(trunk libT) #3519 "webseeds don't work" -- fixed.
2011-01-06 01:00:21 +00:00
Mitchell Livingston
5a8800fda1
remove a LAZY debug message
2011-01-06 00:54:37 +00:00
Jordan Lee
fde6b36e57
(trunk libT) prevent crash on shutdown when bindinfo ptr can be NULL
2011-01-05 08:07:04 +00:00
Jordan Lee
69a3b8bbab
(trunk, daemon) #3833 "'freespace' argument for 'session-get' RPC method" -- committing patch from taem, reardon, and rb07
2011-01-05 04:41:19 +00:00
Charles Kerr
b223a33b73
(trunk libT) fix crash reported by KyleK
2011-01-03 03:01:12 +00:00
Charles Kerr
36c8843ba5
(trunk libT) #3867 "memmem(3) in Solaris 11 doesn't work as expected" -- fixed.
2011-01-02 07:56:20 +00:00
Charles Kerr
3192dae8c0
(trunk libT) #3868 "util tests fail on Solaris 11 because sqrt(-1) is '-nan'" -- fixed.
2011-01-02 07:49:30 +00:00
Mitchell Livingston
60c5ebb4be
#3853 fix adding torrents in the web ui
2010-12-31 14:07:27 +00:00
Charles Kerr
21ca9e7770
(trunk libT) since messageLevel is a global variable, giving it a unique "tr_" prefix is a nice safeguard
2010-12-31 01:30:35 +00:00
Charles Kerr
a17962d5fc
(trunk libT) #3528 "TR_PREFS_KEY_BIND_ADDRESS_IPV4 breaks IPv6-only trackers" -- Implement suggestion #2 from Harry
2010-12-30 19:15:47 +00:00
Charles Kerr
1f0c916469
(trunk libT) #2955 "jit verify" -- undo r11606. the old error message was longer, but more helpful
2010-12-30 18:35:18 +00:00
Charles Kerr
efcbab893f
(trunk, libT) #2955 "jit verify" -- shorten the error message for torrents whose files disappeared.
2010-12-30 07:42:14 +00:00
Charles Kerr
123ad33ce4
(trunk libT) #3860 "memory leak in torrentCallScript" -- patched.
2010-12-29 21:00:07 +00:00
Charles Kerr
770ab426f6
(trunk libt) #3859 "Transmission unnecessarily writes .resume messages to Console Logs" -- fixed.
2010-12-29 04:54:06 +00:00
Charles Kerr
d16a424f76
(trunk libT) more fdlimit futzing
2010-12-28 08:38:55 +00:00
Charles Kerr
a04f92729e
(trunk libT) refactor libtransmission's file cache
2010-12-28 07:24:10 +00:00
Charles Kerr
c011fe527b
(trunk libT) #3852 "Removing data from an active torrent doesn't stop activity" -- possible fix.
2010-12-27 21:34:12 +00:00
Charles Kerr
e5bb3205a1
(trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :)
2010-12-27 19:18:17 +00:00
Charles Kerr
ae84dc70dd
(trunk libT) #3836 "libevent2 support" -- finish moving to the libevent2 API mode. don't include the backwards-compatable API headers.
2010-12-24 08:58:41 +00:00
Charles Kerr
16a5fa4073
(trunk) #1408 "total downloading and seeding time per torrent" -- add patch to track how long a torrent has been seeding or downloading
2010-12-23 19:32:59 +00:00
Mitchell Livingston
cf6866b7e8
follow the convention ftw
2010-12-23 02:39:03 +00:00
Mitchell Livingston
8c4f3549c7
#3595 Allow promotion of the "from" value in peer_atom (and still show where it was first discovered)
2010-12-23 02:35:21 +00:00
Charles Kerr
81cb2276c8
(trunk gtk) #3844 "error popup when adding a relative path" -- fixed. initial patch by ijuxda.
2010-12-22 07:04:11 +00:00
Charles Kerr
28ec370476
(trunk libt) experimental fix for the updated torrent issue reported by Lacrocivious
2010-12-22 04:29:41 +00:00
Charles Kerr
6b7babde5c
(trunk libT) remove some of the lazy-verify debug messages.
2010-12-21 23:09:26 +00:00
Charles Kerr
e8c2f6cf15
(trunk libT) #3836 "libevent2 support" -- optimize serialization of json strings for libevent2's new evbuffer API. This also fixes #3843
2010-12-21 22:07:15 +00:00
Charles Kerr
dc5a61be49
(trunk libT) #3836 "libevent2 support" -- silence a pair of 'unused variable' compiler warnings
2010-12-20 12:49:12 +00:00
Charles Kerr
dc4880a477
(trunk libT) revert experimental patch r11527 from #3658
2010-12-20 12:44:16 +00:00
Charles Kerr
345b14adbc
(trunk) #3836 "libevent2 support" -- bump libevent2 requirement to 2.0.10. This will break the Mac build for a minute intil BMW applies his Mac patch
2010-12-20 02:07:51 +00:00
Charles Kerr
f713451647
(trunk libT) #3531 "Pausing 500 torrents uses 650 MB of memory" -- on OS X, when saving a benc/json file, send a hint to the OS to not cache the file.
2010-12-17 15:36:31 +00:00
Charles Kerr
47a60e005e
(trunk libT) #2955 "lazy torrent verification" -- speed up setLocalErrorIfFilesDisappeared(). this makes a big difference when loading a lot of torrents on startup.
2010-12-17 14:57:19 +00:00
Charles Kerr
ffa977b25a
fix minor signed/unsigned warning
2010-12-16 16:43:15 +00:00
Charles Kerr
3e848396bb
(trunk libT) make tr_torrentDeleteLocalData() a private function
2010-12-16 03:41:46 +00:00
Charles Kerr
821d315453
(trunk) #3675 "Not all .part files are removed" -- added patch for libtransmission and GTK+ client
2010-12-16 03:38:07 +00:00
Charles Kerr
d40a60bd02
(trunk libT) #3675 "Not all .part files are removed" -- flush the cache before removing local data.
2010-12-15 20:28:49 +00:00
Charles Kerr
f1e236693d
(trunk libT) #3764 "script-torrent-done shouldn't block libtransmission" -- handle zombie processes.
2010-12-15 15:35:06 +00:00
Charles Kerr
9a5a429761
(trunk libT) #3764 "script-torrent-done shouldn't block libtransmission" -- add the "calling script ..." line back into the logfile.
2010-12-15 14:55:20 +00:00
Charles Kerr
082475e43b
(trunk libT) #3764 "script-torrent-done shouldn't block libtransmission" -- fixed.
2010-12-15 04:35:41 +00:00
Charles Kerr
4ca695c090
(trunk libT) #3656 "endgame could be faster" -- revert the test code from r11528
2010-12-14 18:36:31 +00:00
Charles Kerr
f8355d654f
(trunk libT) #3242 "use added.f's 'connectable' flag" -- added.
2010-12-14 18:33:48 +00:00
Charles Kerr
a9d0190a0e
(trunk libT) #3826 "all data fails its checksum test in uClibc 0.9.27" -- refinement of r11530 based on research by iz0bbz to find which version of uClibc added a fix.
2010-12-14 14:41:23 +00:00
Charles Kerr
6e52ccb239
(trunk libT) #3826 "don't use pread() or pwrite() on uclibc" -- fixed.
2010-12-14 05:07:06 +00:00
Charles Kerr
a31e23f094
(trunk libt) #2955 "lazy torrent verification" -- don't force a reverify after moving a torrent's contents to a new direction
2010-12-13 20:01:38 +00:00
Charles Kerr
79d4967ee6
(trunk libT) #3656 "endgame could be faster" -- another experimental patch, added to trunk for reality testing in the nightly builds.
2010-12-12 23:29:52 +00:00
Charles Kerr
492c4bbe0b
(trunk libT) #3658 "don't initiate new peer connections if our bandwidth is maxed out" -- added to trunk for nightly build users to kick around a bit. this is an experimental patch and I'm not sure how I feel about it.
2010-12-12 23:27:30 +00:00
Charles Kerr
3a5d17cfde
(trunk) #1538 "Make Web UI URL configurable" -- added to trunk. Patch by wereHamster
2010-12-12 18:22:11 +00:00
Charles Kerr
27a1b2dc33
(trunk) one of the periodic, banal "remove-trailing-spaces from lines of source code" cleanup commits
2010-12-12 16:43:19 +00:00
Charles Kerr
ec18abf0a9
(trunk libT) raise the default cache size from 2 MB to 4 MB
2010-12-12 05:59:19 +00:00
Charles Kerr
006014edab
(trunk) #3817 "Use the OS' proxy support" -- implemented for Qt
2010-12-11 21:27:15 +00:00
Charles Kerr
0e9247b84a
(trunk) #3817 "use the OS' proxy support" -- implemented for libtransmission, transmission-gtk
2010-12-10 18:51:05 +00:00
Charles Kerr
f4ee84069e
(trunk libT) fix typo in error message reported by Rolcol
2010-12-10 03:28:27 +00:00
Charles Kerr
43ed57b278
(trunk libT) #2955 "Lazy Verification (aka Just-in-Time Verification)" -- implemented.
2010-12-09 20:43:23 +00:00
Charles Kerr
df26058ee8
#3677 (libT) "Save .resume files less frequently to avoid excessive disk IO" -- fixed.
2010-12-09 16:54:14 +00:00
Charles Kerr
b87826333c
(trunk libT) #3806 "logging error in net.c" -- fixed.
2010-12-08 17:22:00 +00:00
Charles Kerr
a16fb94756
(trunk libT) #3813 "libtransmission doesn't build on Solaris 10 because of strsep call()" -- fixed.
2010-12-08 14:57:34 +00:00
Charles Kerr
aa79cbcbf2
(trunk libT) #3600 "Improve rechokeDownloads' peer limiter" -- fixed with patch from Longinus00
2010-12-04 17:17:44 +00:00
Charles Kerr
8ba76790e2
#3781 : remove redundant debug messages
2010-12-04 14:53:53 +00:00
Charles Kerr
e8ba22fc11
fix irrelevant text formatting error. :/
2010-12-03 23:14:04 +00:00
Charles Kerr
e957353a85
(trunk libT) r11448 seems to have been a red herring, so undo that commit.
2010-12-03 23:10:24 +00:00
Charles Kerr
cef4c4da88
(trunk libT) possibly fix the "no announce scheduled" issue reported in the forums
2010-12-03 22:56:17 +00:00
Charles Kerr
11b34daea2
(trunk libT) possibly fix the "no announce scheduled" issue reported in the forums
2010-12-03 21:53:37 +00:00
Charles Kerr
2ce03097ee
(trunk libT) #3781 -- remove excessive bencode debug messages.
2010-12-01 04:54:18 +00:00
Charles Kerr
c064ef3c79
(trunk libT) #3682 "reduce memory footprint caused by tr_history" -- done. Patch by Longinus00
2010-11-16 15:17:34 +00:00
Mitchell Livingston
904f09a076
#3741 Session-get reports rpc-version 10 instead of 11
2010-11-14 18:17:52 +00:00
Charles Kerr
9335e02e6d
(trunk libT) add some new bugs to the code so that it will crash when vraa tries to use it
2010-11-11 15:31:11 +00:00
Charles Kerr
5bc663be6c
(trunk libT) #3727 "Fix NAT-PMP race between renewal and expiry" -- committed patch from bodgit
2010-11-07 21:33:01 +00:00
Charles Kerr
d2837efc71
(trunk libT) anal correctness fix in the blocklist comments
2010-11-07 02:53:50 +00:00
Charles Kerr
6e29ad9459
(trunk libT) #3716 "take torrent priority into account when choosing which torrent to verify next" -- done.
2010-11-06 15:59:51 +00:00
Charles Kerr
b1a7b981a2
(trunk) #3697 " https://trac.transmissionbt.com/ticket/3697 " -- make "blocklist.bin" visible in transmission.h
2010-11-01 00:12:30 +00:00
Charles Kerr
92620b72b0
(trunk) #3697 "make blocklist URL configurable" -- implemented in GTK+, Qt, and RPC
2010-10-31 17:16:12 +00:00
Charles Kerr
22c622a92f
(trunk) #3688 "remove proxy support" -- remove from libtransmission
2010-10-31 17:05:31 +00:00
Charles Kerr
498452fba4
(trunk libT) #3689 "libtransmission/announcer.c's announceURLIsSupported() function is redundant" -- removed.
2010-10-30 16:19:27 +00:00
Charles Kerr
e8503b9d84
(trunk libT) testing over; reverting r11360
2010-10-30 05:24:50 +00:00
Charles Kerr
9a6f76d77a
(trunk libT) experimentally disable DHT by default
2010-10-30 02:49:36 +00:00
Charles Kerr
8e548aafcb
(trunk libT) #3687 "The V=XXXX key/val pair in our DHT messages seems to have no purpose" -- removed.
2010-10-30 01:48:45 +00:00
Charles Kerr
417f3fd3b0
(trunk libT) #3681 "tr-lpd.c's lpd_configureSocket() function is redundant" -- fixed.
2010-10-28 23:19:53 +00:00
Charles Kerr
a9e740cb2c
(trunk libT) #3678 "benc walking could be more efficient" -- fixed.
2010-10-26 19:30:35 +00:00
Charles Kerr
82781cf2a7
(trunk libT) #3666 "byteCount stored on a 32bits integer" -- fixed.
2010-10-24 21:35:23 +00:00
Charles Kerr
5725b7c922
(trunk) #3663 "clang warnings in 2.11" -- fixed.
2010-10-24 05:52:38 +00:00
Charles Kerr
01ab067e9c
(trunk libT) #3662 "libtransmission cpu optimization: fewer calls to tr_time_msec()" -- fixed.
2010-10-24 01:08:08 +00:00
Charles Kerr
2ee5b08e94
(trunk libT) #3521 "rounding issue in tr_truncd()" -- try yet again to work out all the fringe cases :)
2010-10-21 23:47:23 +00:00
Charles Kerr
851ed9f929
(trunk libT) #3622 "verification ignores return value of pread" -- commit fixVerify.patch
2010-10-19 13:56:58 +00:00
Charles Kerr
0a323ac019
(trunk libT) #3584 "minor valgrind warning in makemeta.c" -- fixed.
2010-10-17 22:28:28 +00:00
Charles Kerr
ad613b05f7
(trunk libT) #3638 "fewer crypto calls when creating peer-ids, session ids, announcer keys, etc" -- fixed.
2010-10-17 18:32:55 +00:00
Charles Kerr
97d992bba0
(trunk libT) add a new unit test for tr_truncd(2.05)
2010-10-17 18:29:36 +00:00
Charles Kerr
f3460eaea0
(trunk libT) #3521 "rounding issue in tr_truncd()" -- this time for sure...
2010-10-17 18:27:42 +00:00
Charles Kerr
47fac6bc97
(trunk libT) #3631 "crash in tr_ioFindFileLocation" -- possible fix
2010-10-14 19:43:18 +00:00
Charles Kerr
b51b6b14ae
(trunk libT) #3631 "crash in tr_ioFindFileLocation" -- more tracer messages for the testers @ https://forum.transmissionbt.com/viewtopic.php?p=49625#p49625
2010-10-14 17:12:12 +00:00
Charles Kerr
74cff042ea
(trunk libT) silence minor compiler warning
2010-10-14 17:03:04 +00:00
Charles Kerr
dbed40ff5a
(trunk libT) #3631 "crash in tr_ioFindFileLocation" -- add tracer messages to try & smoke out the error
2010-10-14 04:21:14 +00:00
Daniel Lee
3f8748edfc
change 'v' field in dht to use major/minor version instead of svn revision
2010-10-13 17:09:05 +00:00
Charles Kerr
1f9e305e30
(trunk libT) #3596 "optimistic unchoke timer is too short" -- fixed.
2010-10-13 03:56:25 +00:00
Charles Kerr
5c46cdb161
(trunk libT) remove dead variable pieceBytesRead from verify.c. Reported by Longinus00
2010-10-12 15:52:20 +00:00
Charles Kerr
6c3d651ffe
(trunk) #3618 "FreeBSD 8.1 & GCC 4.2.1 compiler warnings" -- fix some compiler warnings.
2010-10-11 21:44:46 +00:00
Charles Kerr
0cf643f8c3
(trunk libT) #3614 "Can't save benc files under uClibc 0.9.31" -- on some systems, calling unlink() on a file that doesn't exist returns 0 instead of -1 + ENOENT... so don't rely on that test. Instead, call stat() before unlink()ing the file.
2010-10-11 21:27:31 +00:00
Charles Kerr
8d15c48a3f
(trunk libT) #3617 "1000+ warnings of 'inlining failed' in libtransmission when compiled with gcc 4.4.4" -- fixed.
2010-10-11 15:41:27 +00:00
Charles Kerr
de4ab85030
(trunk libT) #3521 "rounding issue in tr_truncd()" -- fixed.
2010-10-11 15:05:24 +00:00
Charles Kerr
f29cda25bc
(trunk libT) remove unnecessary calls to time(NULL)
2010-10-08 13:36:33 +00:00
Charles Kerr
1eb2b44b75
(trunk libT) remove 120 unused ints and 2 unused time_t fields per-peer, whoo
2010-10-08 13:33:50 +00:00
Charles Kerr
56e90f1457
(trunk) more "svn propset" tweaks for $Id$
2010-10-01 20:22:51 +00:00
Charles Kerr
91cc3f4a2d
(trunk libT) #3329 "connection problems when downloading" -- apply Longinus00's fixSlowStart.diff
2010-10-01 18:16:01 +00:00
Charles Kerr
80f69ee7d3
(trunk) fix svn properties on several files. Thanks ot Elbandi for suggesting this
2010-10-01 13:33:39 +00:00
Daniel Lee
04a9add256
(libt) #3588:Torrents with non power 2 pieceSizes fail hashchecks
2010-09-30 17:59:30 +00:00
Daniel Lee
9cc56f3c7c
(libt) r11244 introduced a regression when making single file torrents
2010-09-30 05:22:33 +00:00
Charles Kerr
865d9d7a34
(trukn libT) call tr_close_file() instead of close() after saving a benc file to disk
2010-09-29 02:38:14 +00:00
Daniel Lee
04aee3c49b
(libt) remove jump discontinuities in getMaxAtomCount
2010-09-25 00:38:49 +00:00
Daniel Lee
afc7c5355e
(libT) #3453:Torrent does not stop when set per torrent seed ratio is reached before torrent is completed
...
(libT) #3578:Interested flag isn't cleared when transitioning from leeching to seeding
2010-09-25 00:34:15 +00:00
Charles Kerr
80582f8ccc
add an #include guard to keep tr-lpd.h package-visible
2010-09-23 13:29:41 +00:00
Charles Kerr
b63d64e0e3
(trunk libT) #3521 "rounding issue in tr_truncd()" -- fixed.
2010-09-22 16:09:36 +00:00
Charles Kerr
599c5a8cc4
(trunk daemon) #3511 , part 2 of 2: get rid of the TR_DEBUG environment variable
2010-09-22 15:17:16 +00:00
Charles Kerr
a6c4cc2987
remove a harmless, but accidental, paste error
2010-09-22 14:20:42 +00:00
Charles Kerr
51a61bc1da
(trunk libT) #3562 ".torrent files are created incorrectly when the content is a single file inside a subdirectory" -- fixed.
2010-09-21 16:58:15 +00:00
Charles Kerr
65b4e28c60
(trunk libT) #3571 "Torrent done script clears important env vars" -- fixed.
2010-09-21 16:26:48 +00:00
Charles Kerr
bbd0391f01
(trunk libT) fix unchoke regression
2010-09-20 20:32:40 +00:00
Charles Kerr
0c6657d64d
(trunk libT) #3539 "Transmission sending corrupt data in metadata exchange" -- fixed. Thanks to The_8472 of Vuze fame for reporting this. :)
2010-09-19 21:07:57 +00:00
Daniel Lee
3ebe5d8f27
(trunk) bounds check trackerIds passed over rpc
2010-09-19 20:36:31 +00:00
Charles Kerr
9772cdb14d
(trunk libT) #3568 "don't optimistically unchoke torrents when our bandwidth is maxed out" -- fixed.
2010-09-19 01:04:49 +00:00
Charles Kerr
4d7046fd67
(trunk) #3547 "Wrong speed display in web UI" -- fixed
2010-09-18 23:06:03 +00:00
Charles Kerr
bf3dec4299
(trunk libT) #3567 "Minor memory leak in pthread_create()" -- fixed
2010-09-18 22:13:46 +00:00
Charles Kerr
c7ebb37876
(trunk libT) #3566 "Memory leak in libtransmission/torrent.c: refreshCurrentDir()" -- fixed.
2010-09-18 21:57:22 +00:00
Daniel Lee
acfec1c76f
(trunk) revert downloadSpeed and uploadSpeed in session stats to Bps
2010-09-16 02:01:49 +00:00
Daniel Lee
09df34e4c4
(trunk) check for duplicate ids when removing trackers
2010-09-14 18:07:42 +00:00
Daniel Lee
ac53f4792f
switch trackerRemove and trackerReplace rpc calls to use tracker id instead of announce urls as identifiers
2010-09-14 06:23:48 +00:00
Mitchell Livingston
9135d5e061
fix a display issue with the idle time for a split second after the transfer starts, since the transfer would be marked as downloading but would not yet have a start time
2010-09-12 19:49:06 +00:00
Mitchell Livingston
b3c8ca4604
#3513 inactive limit should set torrent state as finished, not stopped
2010-09-12 18:58:49 +00:00
Charles Kerr
18498e9c41
(trunk libT) #3077 "add support for cookies files"
2010-09-09 18:28:20 +00:00
Charles Kerr
c86b87a511
(trunk) revert the RPC behavior of rateUpload, rateDownload, rateToClient, and rateToPeer as discussed with Longinus00
2010-09-03 04:30:43 +00:00
Charles Kerr
92e06acf74
(trunk) RPC: add "scrape" to the trackerStats array, making it a proper superset of the "trackers" array. Also, very minor tweaks to the RPC spec
2010-09-01 20:54:04 +00:00
Mitchell Livingston
05fabc6255
#3535 remove unnecessary escape characters and use lowercase in escaped letters in info_hash
2010-08-31 11:49:09 +00:00
Charles Kerr
6df6fd929b
(trunk libT) #3519 "webseeds don't work" -- patch from gostrc to add support for a single string in the url-list
2010-08-22 18:40:18 +00:00
Daniel Lee
a42c86a701
(libt) Fix tr_cacheFlushDone overrunning run_info
2010-08-22 09:49:10 +00:00
Charles Kerr
07e37057f2
(trunk libT) handle URLs, as well as filenames, via the rpc server's /transmission/upload mechanism
2010-08-21 12:50:13 +00:00
Charles Kerr
2d5ac5b150
(trunk libT) add a string length argument to tr_urlIsValid()
2010-08-21 12:47:28 +00:00
Mitchell Livingston
94ea77a014
#3517 Only apply the idle seed limit when the transfer is comple
2010-08-19 22:14:59 +00:00
Charles Kerr
deef425a14
(trunk libT) peer-port-random-on-start was being returned as an int(0,1) instead of a bool(true,false)
2010-08-16 02:11:10 +00:00
Charles Kerr
4e0f5f5d35
(trunk libT) if we compile with TR_EMBEDDED, use Z_DEFAULT_COMPRESSION. otherwise, use Z_BEST_COMPRESSION
2010-08-15 23:45:58 +00:00
Mitchell Livingston
7e52a2e8bb
don't set an idle eta if the transfer is currently uploading
2010-08-14 19:44:43 +00:00
Mitchell Livingston
ef3865ec45
only show the eta string for idle seeding time remaining if the time is less than 2 minutes
2010-08-14 17:32:52 +00:00
Mitchell Livingston
c3715ca6ce
add a stat for the eta of the seeding idle limit, and use it in the Mac eta display
2010-08-14 15:30:43 +00:00
Charles Kerr
75b07909b7
(trunk libT) hm, this debugging line wasn't supposed to get checked in...
2010-08-10 11:43:29 +00:00
Charles Kerr
30b254eebf
(trunk libT) #3493 "transmission doesn't exit cleanly if LPD is disabled during the session" -- fixed.
2010-08-07 03:29:47 +00:00
Charles Kerr
99bb470658
(trunk libT) when shutting down, use a shorter timeout interval for tracker announces
2010-08-07 02:17:29 +00:00
Charles Kerr
7b3757f6ad
(trunk libT) fix compiler warnings on non-glibc systems
2010-08-06 23:28:30 +00:00
Charles Kerr
922b47c652
(trunk libT) #3490 "Ambiguous use of directory separators" -- fixed.
2010-08-05 19:54:44 +00:00
Charles Kerr
6fa12d599a
(trunk libT) #3486 "Add gzip compression support to RPC server" -- minor tweaks to the compression settings.
2010-08-04 23:19:38 +00:00
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