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
|
d3077bbce1
|
round 2 of minor revisions to tr_stat
|
2007-09-27 03:30:22 +00:00 |
Charles Kerr
|
439c1f38c1
|
some experimental code. (1) try to improve throughput to peers. (2) add first draft of new tr_stat fields requested by BentMyWookie (3) raise the per-torrent peer limit to 100 to match LibTorrent's defaults
|
2007-09-27 03:03:38 +00:00 |
Charles Kerr
|
ee6a0b8945
|
modify the tr_stat struct as hashed out by charles_ and BentMyWookie. sync gtk, ipc, and wx clients.
|
2007-09-26 01:55:04 +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
|
7a15abaf7a
|
better handling of tracker error messages.
|
2007-09-25 18:39:58 +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
|
4834dc4b13
|
fix crash-on-shutdown
|
2007-09-23 19:24:06 +00:00 |
Charles Kerr
|
b3fde0b43b
|
tweak responsivenes on switching between `uploading' and `downloading' when a user changes a file's do-not-download state
|
2007-09-23 14:17: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
|
56b0e5d1ac
|
* remove some console messages.
* scrape sooner when peers are added.
* added stub code for the connection manager code
|
2007-09-22 00:22:10 +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 |
Charles Kerr
|
fb70a9cca0
|
remove the backwards compatability typedefs at BentMyWookie's suggestion. update libT, gtk, daemon, and cli accordingly...
|
2007-09-20 20:14:13 +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
|
4e82903313
|
better fix for the leak in r2870
|
2007-08-19 04:03:06 +00:00 |
Charles Kerr
|
b0919dca34
|
...and, yet another memory leak, this time when trying to add a torrent that can't be added
|
2007-08-19 03:42:58 +00:00 |
Charles Kerr
|
43bfc5cd7f
|
update version.sh to exclude third-party. add $Id:$ to the new files s.t. version.sh will find them.
|
2007-08-18 17:05:51 +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
|
7254a96ce8
|
let fastresume remember which torrents are stopped and which are running.
|
2007-08-13 16:43:33 +00:00 |
Charles Kerr
|
f2daeb242d
|
(trunk) add tweak to boost the priority of the first and last piece of a file so that early previewing is possible. Suggested by mtolman in http://transmission.m0k.org/forum/viewtopic.php?t=2110
|
2007-08-08 15:07:06 +00:00 |
Charles Kerr
|
82311abfbe
|
(trunk) fix assertion bug in torrent.c::fileByteCompleted()
|
2007-08-07 14:17:37 +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
|
d209052051
|
add portability wrapper for in_port_t...
|
2007-07-30 18:04:10 +00:00 |
Charles Kerr
|
1be185aacd
|
(libT) get "update tracker" working again.
(gtk) add "update tracker" button.
|
2007-07-30 17:11:00 +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
|
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
|
530507760b
|
fix r2531 bug reported by Lacrocivious
|
2007-07-28 16:31:08 +00:00 |
Charles Kerr
|
29367fda62
|
add a temporary debugging statement for Lacrocivious
|
2007-07-28 15:58:59 +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
|
a180698e8a
|
save a little bit of memory per-torrent.
|
2007-07-27 23:07:26 +00:00 |
Charles Kerr
|
8f4fb4efbe
|
speed improvements to tr_torrentStat() by folding two expensive & redundant functions together.
|
2007-07-27 01:22:49 +00:00 |
Charles Kerr
|
3e40e06938
|
avoid null pointer dereferencing in tr_torrentInit*() as reported by wereHamster
|
2007-07-25 18:43:21 +00:00 |
Charles Kerr
|
e8fb29ea44
|
fix compiler warnings reported by wereHamster
|
2007-07-25 17:27:19 +00:00 |
Charles Kerr
|
66883e72a9
|
fix double-free crash on opening a corrupt torrent file. reported by wereHamster
|
2007-07-25 17:19:29 +00:00 |
Charles Kerr
|
95313e077a
|
fix off-by-one in r2488 reported by BentMyWookie. Hooray for assert()!
|
2007-07-25 02:28:25 +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
|
339005346c
|
remove unused function tr_cpMostMissingBlockInPiece()
|
2007-07-24 17:08:45 +00:00 |
Charles Kerr
|
e1c18610be
|
remove unused function _tr_blockPosInPiece()
|
2007-07-24 16:04:43 +00:00 |
Charles Kerr
|
dd55805012
|
much faster rechecking of incomplete torrents. added tr_stat_t.recheckProgress field.
|
2007-07-24 01:33:59 +00:00 |
Charles Kerr
|
c7d97e5f0a
|
get "recheck files" working properly again.
|
2007-07-24 00:09:23 +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
|
a9526adbdd
|
put information messages in tr_inf(), not fprintf()
|
2007-07-21 18:31:08 +00:00 |
Charles Kerr
|
50f407933b
|
when closing torrents, don't try to re-stop torrents that are already stopped.
|
2007-07-21 18:03:24 +00:00 |
Charles Kerr
|
1d932b07c7
|
fix looooong-standing bug that choked tracker connections
|
2007-07-21 17:35:47 +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
|
615afaa445
|
add extra state change checks
|
2007-07-19 03:48:27 +00:00 |