Charles Kerr
|
5c4f841c7e
|
added tr_torrentSetPeerLimits(), tr_torrentGetPeerLimits(), tr_setGlobalPeerLimit(), tr_getGlobalPeerLimit()
|
2007-12-20 21:44:16 +00:00 |
|
Charles Kerr
|
e9ca72237f
|
if tr_torrentStat() is called again in the same second for a torrent, return the cached value.
|
2007-12-19 02:44:21 +00:00 |
|
Charles Kerr
|
827dc86bb4
|
rewrite the tracker code. this should improve and/or fix a number of bugs, including "too many open files", "router death", "slow internet", and the mutex release crash.
|
2007-11-29 00:43:58 +00:00 |
|
Charles Kerr
|
3aae5534bd
|
work on the stats a little bit.
|
2007-11-26 18:55:36 +00:00 |
|
Charles Kerr
|
e354b82452
|
disable SWIFT on private trackers, because they are typically ratio-based sites where you *want* to upload as much as possible to deadbeats
|
2007-11-26 04:05:12 +00:00 |
|
Charles Kerr
|
91e672d428
|
some progress on the overall statistics, though probably not visible to end users yet
|
2007-11-21 20:03:53 +00:00 |
|
Charles Kerr
|
906c5d6f1f
|
dead code removal: azId
|
2007-11-07 01:27:32 +00:00 |
|
Charles Kerr
|
814a56046d
|
fix ul/dl speed wart reported by BentMyWookie
|
2007-10-21 15:47:26 +00:00 |
|
Charles Kerr
|
4acfe5e1b5
|
have gtk+ use the batch form of setFilePriorities(). remove saveFastResumeSoon().
|
2007-10-19 23:44:01 +00:00 |
|
Charles Kerr
|
25fa56d294
|
* don't fire the "status changed" event if the status changes while a torrent's being started for the first time.
* cleaner setting of the DND flags in the gtk+ client.
* cpStatus cleanup.
|
2007-10-19 23:23:21 +00:00 |
|
Mitchell Livingston
|
cc2db392f5
|
make libtransmission's pex accessor public, and eliminate a redundant variable in Torrent.[mh]
|
2007-10-14 22:01:55 +00:00 |
|
Charles Kerr
|
57eaa27970
|
Fix bug that could initiate pex in private torrents.
|
2007-10-14 17:21:24 +00:00 |
|
Charles Kerr
|
53aef0a48c
|
Simplify the tracker/pause/close/recheck/start code.
|
2007-10-04 19:58:30 +00:00 |
|
Charles Kerr
|
5c11c58113
|
simplify libT locks now that it's (more-or-less) single-threaded. fix deadlocks. make tr_locks nestable.
|
2007-10-01 15:17:15 +00:00 |
|
Charles Kerr
|
92923a0236
|
remove obsolete MAX_PEERS in internal.h
|
2007-09-28 16:00:43 +00:00 |
|
Charles Kerr
|
f0c9f9a99a
|
add a callback to notify clients when a torrent's state changes
|
2007-09-28 14:51:34 +00:00 |
|
Charles Kerr
|
904359a049
|
* fix oops from last checkin
* remove some unused fields from internal structures
|
2007-09-25 22:37:23 +00:00 |
|
Charles Kerr
|
b402687c93
|
* add sanity checks to incoming piece data requests. This may solve the inout.c:99 assertion failure.
* rename the gtk client from `transmission-gtk' to `transmission' for parity with the mac client.
|
2007-09-23 23:38:39 +00:00 |
|
Charles Kerr
|
89da2294b1
|
* when a torrent's done downloading, have it switch to seeding mode.
* tweak the gtk+ client's torrent inspector's display of transfer rates
|
2007-09-23 13:53:44 +00:00 |
|
Charles Kerr
|
e9ed5e28d9
|
* accept tiennou's partial patch for `fast peers' extension
* fix growl problem I introduced in the last checkin, reported by chrissturm
|
2007-09-21 14:50:29 +00:00 |
|
Charles Kerr
|
9248143ce8
|
fix recursive crash when stopping a torrent, reported by plantain. silence a few more console messages.
|
2007-09-21 14:20:55 +00:00 |
|
Charles Kerr
|
4d15bbdc2a
|
slightly less broken handling of cases where we can't bind to our listening port.
|
2007-09-21 05:31:29 +00:00 |
|
Mitchell Livingston
|
76da1185ca
|
merge encryption branch to trunk (xcode project is still out of date)
|
2007-09-20 16:32:01 +00:00 |
|
Charles Kerr
|
bae07d471e
|
added support for `corrupt' announce tag s.t. corrupted bytes don't count towards your download ratio
|
2007-08-21 15:17:02 +00:00 |
|
Charles Kerr
|
64faed5c47
|
better saving of run/stopped state.
|
2007-08-20 23:36:18 +00:00 |
|
Charles Kerr
|
35b727788e
|
do all the libevent enqueuing from a single thread.
|
2007-08-18 03:02:32 +00:00 |
|
Charles Kerr
|
5f5a743790
|
the new tracker code seems to be working, so now it's time for me to learn yet again how much better users are at noticing bugs than I am. :)
|
2007-08-16 20:00:06 +00:00 |
|
Charles Kerr
|
02606d6675
|
add populate and cleanup utils for tr_tracker_info_t, since bencode and the new tracker code will both use it
|
2007-08-14 15:24:48 +00:00 |
|
Charles Kerr
|
c51007f916
|
BeOS portability fixes from ModeenF
|
2007-08-03 16:28:32 +00:00 |
|
Charles Kerr
|
ba3dc008fc
|
get the socket/net code working on win32 too
|
2007-07-31 16:55:47 +00:00 |
|
Charles Kerr
|
0f85cc3297
|
continue whittling away at internal.h to reduce the global #include dependencies
|
2007-07-31 14:26:44 +00:00 |
|
Charles Kerr
|
11752dae78
|
remove unused macros
|
2007-07-31 01:21:10 +00:00 |
|
Charles Kerr
|
88fe038e6e
|
(libT) not all libT source files need to #include sha1/openssl, just three of them. Also, no need to compile a local sha1 implementation if we're using openssl's.
|
2007-07-30 19:55:10 +00:00 |
|
Charles Kerr
|
d209052051
|
add portability wrapper for in_port_t...
|
2007-07-30 18:04:10 +00:00 |
|
Charles Kerr
|
ebb141b232
|
better encapsulation of platform-specific constructs: tr_thread_t, tr_cond_t, tr_lock_t
|
2007-07-30 15:27:52 +00:00 |
|
Charles Kerr
|
d8f8f9f922
|
Get BeOS client building on Zeta 1.21 thanks to patches by Fredrik Modéen
|
2007-07-30 13:59:23 +00:00 |
|
Josh Elsasser
|
e429ebcb1b
|
Add a couple headers needed to build on openbsd.
|
2007-07-29 18:31:25 +00:00 |
|
Charles Kerr
|
e07d0220a9
|
this looks bug but it's not: just janitorial cleanup, moving #includes from headers into source file
|
2007-07-29 18:11:21 +00:00 |
|
Charles Kerr
|
79a0081092
|
a nice patch that makes the three most CPU-hogging functions (as reported by Shark) essentially free and reduces memory overhead by 8 bytes per piece per torrent. Lots of asserts for extra testing fun.
|
2007-07-28 15:43:34 +00:00 |
|
Charles Kerr
|
9542f7fe9e
|
* better `info' icon for torrent inspector.
* fix internal.h ifdefs s.t. we can use openssl for SHA1 when using configure.ac
|
2007-07-28 02:17:15 +00:00 |
|
Charles Kerr
|
730d6df742
|
* fix overflow error from earlier today. (this was the crash talked about in IRC)
* fix long-standing error that occurred when pieceSize isn't evenly divisible by blockSize
* speed up and macro-ize piece-to-block conversions
|
2007-07-25 01:59:46 +00:00 |
|
Charles Kerr
|
e1c18610be
|
remove unused function _tr_blockPosInPiece()
|
2007-07-24 16:04:43 +00:00 |
|
Charles Kerr
|
eaca893b4c
|
set default torrent ul/dl speed limits from global ul/dl speed. as a side effect, totally decouples fastresume from inout.
|
2007-07-23 03:00:20 +00:00 |
|
Charles Kerr
|
bbac082af5
|
finish splitting the rate control from one state into two states as requested by BMW
|
2007-07-20 08:33:59 +00:00 |
|
Charles Kerr
|
4ef1592e6b
|
more work on the speed limits as hammered out w/BentMyWookie
|
2007-07-20 03:24:04 +00:00 |
|
Charles Kerr
|
459b8958cb
|
simplify xml.c and utils.c's dependencies
|
2007-07-19 11:54:37 +00:00 |
|
Charles Kerr
|
05d88f2c48
|
remove the TR_HTONL macro
|
2007-07-19 10:49:44 +00:00 |
|
Charles Kerr
|
6d21f2fb16
|
remove TR_NTOHL macro
|
2007-07-19 10:37:30 +00:00 |
|
Charles Kerr
|
2f173fd4d4
|
fix overlap bug in file-selection where files adjacent to a "do not download" file could end up missing a few bytes.
|
2007-07-16 19:57:34 +00:00 |
|
Charles Kerr
|
1d95bcc689
|
re-randomize peer_id each time we start a torrent. (ticket #257)
|
2007-07-16 11:19:44 +00:00 |
|