Charles Kerr
7e09d157cd
Thread safety improvements. Also, stopping/starting/rechecking/etc. torrents no longer blocks the calling thread. Since this a big commit, it will probably create some short-term pain via new bugs.
2007-06-26 18:45:03 +00:00
Mitchell Livingston
0256f4616d
Merge file selection and torrent creation into the main branch.
...
The new code for these features is under a new license.
2007-06-18 03:40:41 +00:00
Mitchell Livingston
b4d71e2e9a
store date of last activity
2007-05-25 19:14:42 +00:00
Mitchell Livingston
13ab13d0d0
fix bug where when a file location was changed the valid download amount would double
2007-05-24 15:57:04 +00:00
Mitchell Livingston
3f2861f0c7
determine upload/download rates the old way, which is not the most accurate way at a few points, but should have a positive overall impact
2007-05-16 02:03:18 +00:00
Josh Elsasser
132e4f5c8c
Merge daemon branch to trunk.
2007-04-18 16:39:10 +00:00
Josh Elsasser
aeb6efb6dd
Refactor multitracker code a bit.
2007-04-08 05:41:44 +00:00
Josh Elsasser
58333068e8
Cache peer client name.
...
Don't create an 'unknown client' name with nonprintable characters.
2007-04-03 18:22:58 +00:00
Josh Elsasser
b8d03e5958
Add API function to disable PEX for a torrent.
2007-03-31 19:19:09 +00:00
Josh Elsasser
367426b51b
Show peers found and used when adding new peers.
...
Accept --without-foo in addition to --disable-foo in the configure script.
2007-03-29 00:19:09 +00:00
Josh Elsasser
40397dd9f2
Unbreak azureus peer protocol.
...
Add more peer debug messages.
Fix pex interval.
2007-03-28 06:28:34 +00:00
Josh Elsasser
3394f8d2a4
Revert unintended changes.
2007-03-26 19:21:25 +00:00
Josh Elsasser
d390c4c871
Don't save or load cached peers for private torrents.
2007-03-26 19:19:33 +00:00
Josh Elsasser
09c87aad84
Merge PEX branch, I hope this works.
2007-03-23 08:28:01 +00:00
Josh Elsasser
494ca91fd6
Append a frontend-specific tag to saved torrents.
...
This prevents one frontend from deleting a saved torrent used by another.
2007-03-13 06:56:50 +00:00
Josh Elsasser
e9b4fd8aff
Do bounds checking on bitfields.
2007-03-05 23:03:38 +00:00
Josh Elsasser
f67ad8cf47
Add a new interface to make the public port available to the frontend.
2007-02-06 04:26:40 +00:00
Mitchell Livingston
5d2ae4eb61
simplify options for download limits in inspector with 3 check states: mixed for system defaults, checked for override with limit, and no check for no limit
2007-02-02 17:33:32 +00:00
Josh Elsasser
adfd4e7ca7
Rework the port handling a bit to allow different bound and advertised ports.
2007-01-27 21:17:10 +00:00
Eric Petit
7d6d317ed1
Fixes BeOS warnings
2007-01-21 08:43:58 +00:00
Eric Petit
14aa4e5ab0
Officially give up on making libT reentrant, and simplify our code instead
2007-01-21 07:16:18 +00:00
Eric Petit
e63e4ab38f
Reorganizes a few things, don't accept two connections from the same IP
2007-01-21 06:42:05 +00:00
Eric Petit
da84461d9c
Don't let tr_torrentStop return until files are closed, so that the UI can trash them safely if requested ( fixes #186 )
2007-01-19 15:24:20 +00:00
Eric Petit
7a6401c7b4
Split transmission.c: everything related to the accept/upnp/choking
...
thread was moved to shared.c
2007-01-19 04:42:31 +00:00
Eric Petit
e5e6a8b5df
Merge io branch into trunk
2007-01-14 12:00:21 +00:00
Mitchell Livingston
becb19f763
global bandwidth limits only apply to transfers that are not set to overide them
2007-01-08 21:53:55 +00:00
Mitchell Livingston
3374ce9a32
merge multitracker branch:
...
Adds announce list, support for code 301/302 redirect, improvements to mac inspector, better queueing with errors, random extra wait of up to a minute between announces, and other changes.
2006-12-17 16:36:27 +00:00
Josh Elsasser
44f8325312
Merge scrape branch:
...
Automatically scrape trackers as needed.
If tracker supplies a trackerid then use it (untested).
Use tracker's min interval, clamped to the same range as interval.
Show total completed downloads in the MacOS X frontend.
2006-12-02 01:46:54 +00:00
Eric Petit
773a0ff0b6
BeOS/BONE compile fix
2006-10-17 18:48:04 +00:00
Josh Elsasser
f7c3910a79
Fix possible uint64_t underflow which could cause insanely huge (16,000,000 TB)
...
upload and/or download totals to be reported to the tracker.
2006-09-26 22:36:04 +00:00
Josh Elsasser
0257761670
Merge nat-traversal branch to trunk.
2006-09-25 18:37:45 +00:00
Josh Elsasser
86d9310274
Try to keep track of the overall speed of the swarm.
...
Patch by Denis Ahrens.
2006-08-16 19:21:09 +00:00
Eric Petit
67cbcb68b1
AmigaOS4 patch by Andrea Palmate
2006-07-23 19:39:02 +00:00
Eric Petit
f199e0a9d9
Revert [619]
2006-07-16 19:39:23 +00:00
Mitchell Livingston
5d36721a15
Remove old Sparkle...
2006-07-16 19:28:19 +00:00
Josh Elsasser
0600f3d4aa
Add support to libtransmission and the MacOS X GUI for saving private copies of
...
torrent files.
2006-06-09 19:53:35 +00:00
Eric Petit
f98fe6a1b0
Added $Id$ keywords and updated a few headers
2006-05-29 21:21:23 +00:00
Eric Petit
1ec413ea5c
Fixes warnings
2006-04-26 10:59:09 +00:00
Eric Petit
d598822024
Portability fix (platforms such as sparc64 need uint32_t pointers to be
...
32-bits aligned)
Patch by Christian Weisgerber
2006-04-22 14:27:09 +00:00
Eric Petit
a1830a25bf
Merge from branches/new_api:r161
2006-03-23 12:39:39 +00:00
Eric Petit
cf392ea2c6
New choking algorithm (still needs work, it's inefficient, untested and
...
misses optimistic choking)
2006-01-30 06:54:31 +00:00
Eric Petit
8c733df6a6
Added a rate calculator for each peer
...
Set up files for the choking algorithm (does nothing yet)
2006-01-30 04:42:43 +00:00
Eric Petit
28d43da1d1
Removed now unused tables and some now unused code
2006-01-30 02:13:40 +00:00
Eric Petit
58ec7a7e97
Rewrote rate control, background work for the download limit, the dl/ul
...
limits per torrent and for the choking algorithm
2006-01-30 01:58:27 +00:00
Eric Petit
07b9da73fc
Update 2006-01-11
2006-01-12 19:12:58 +00:00
Eric Petit
6c0a54caa5
Update 2005-12-25
2006-01-12 18:58:57 +00:00
Eric Petit
23ef3653e3
Update 2005-11-21
2006-01-12 18:33:20 +00:00
Eric Petit
d2cc6ce7c6
Update 2005-11-17
2006-01-12 18:29:20 +00:00
Eric Petit
8adc2d7338
Update 2005-11-01
2006-01-12 18:20:48 +00:00
Eric Petit
a6aa884776
Import from 2005-10-26
2006-01-12 17:43:21 +00:00