Charles Kerr
b79beeff66
clean up #includes a bit.
2007-07-09 20:10:42 +00:00
Charles Kerr
37234a3e34
Make tr_trackerAnnouncePulse() just return safely if there's no tracker initialized.
2007-06-28 04:28:23 +00:00
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
Charles Kerr
3b8d1e13c4
uninteresting minor stuff like adding const. this commit is just to reduce the shear between trunk and what lands in the file-selection branch.
2007-06-09 15:36:46 +00:00
Mitchell Livingston
91e4607c64
remove inaccurate comments about announce interval
2007-05-04 17:44:31 +00:00
Mitchell Livingston
7100463899
ensure the download/upload rates that are sent to the tracker are reset when sending "started"
2007-04-29 15:28:56 +00:00
Josh Elsasser
aeb6efb6dd
Refactor multitracker code a bit.
2007-04-08 05:41:44 +00:00
Josh Elsasser
ebcc73121b
Remove tr_bencListIter(), it was a stupid idea.
2007-03-31 17:40:28 +00:00
Josh Elsasser
978b5cec11
Add iterator function for bencoded lists.
2007-03-30 00:12:39 +00:00
Mitchell Livingston
84fad8a25f
slightly updated help
2007-03-28 01:23:21 +00:00
Josh Elsasser
09c87aad84
Merge PEX branch, I hope this works.
2007-03-23 08:28:01 +00:00
Josh Elsasser
67826df085
Use a tr_tracker_info_t * directly in tr_info_t and tr_tracker_t.
2007-02-27 04:00:38 +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
1eb3cf2a8e
Should fix #193
2007-01-23 20:54:54 +00:00
Eric Petit
40d8abb68f
More simplifications
2007-01-21 19:42:11 +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
15fdfda60f
small memleaks
2007-01-20 05:07:00 +00:00
Eric Petit
4a567871bb
clean up
2007-01-19 11:19:20 +00:00
Mitchell Livingston
2fa4abe63f
change to scrape frequency
2007-01-17 01:06:52 +00:00
Mitchell Livingston
20eebf6092
remove unneeded function/warning
2007-01-16 04:20:45 +00:00
Eric Petit
cc3bf0cab9
Fixes redirecting (announce has '%'s in it)
2007-01-15 09:00:47 +00:00
Eric Petit
e5e6a8b5df
Merge io branch into trunk
2007-01-14 12:00:21 +00:00
Eric Petit
58a8bdedf0
BeOS fix
2007-01-14 08:51:15 +00:00
Mitchell Livingston
3cbb5fa681
correctly get the scrape interval
2007-01-12 05:05:11 +00:00
Mitchell Livingston
de82956141
define variables at top
2006-12-26 18:43:46 +00:00
Mitchell Livingston
776153c126
better placement of manual announce
2006-12-26 18:40:51 +00:00
Mitchell Livingston
f57626a6b1
support manual announcing to tracker (as in user forces an announce) in libT...when implemented in a front end it should limit the use of this
2006-12-26 04:17:37 +00:00
Mitchell Livingston
0aa4d36809
divide error logic in tracker code into multiple variables, allowing to determine if all errors in connecting were from unreachable trackers
2006-12-23 21:18:58 +00:00
Eric Petit
34fbe3a79a
When httpPulse gives us TR_ERROR, don't forget to mark the attempt as NOREACH - otherwise if the previous query was successful, we'd try to connect again and again as fast as we could
2006-12-21 12:59:40 +00:00
Josh Elsasser
058b31aaf7
Silence warning.
2006-12-18 03:49:15 +00:00
Mitchell Livingston
38b97ccf13
don't scrape if stopping
2006-12-17 17:35:39 +00:00
Mitchell Livingston
d31bd138fb
english grammar
2006-12-17 17:09:00 +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
Mitchell Livingston
52e66c96f8
Don't request more peers if stopping (or changing ports).
2006-11-09 04:38:32 +00:00
Josh Elsasser
631df817ae
Fix for trackers that include parameters in announce URL.
2006-10-13 07:42:55 +00:00
Josh Elsasser
9d17424799
Fix extra space in tracker HTTP request line.
2006-09-27 22:23:42 +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
ff8cef150c
Add an assertion.
2006-09-08 23:19:15 +00:00
Josh Elsasser
555f12b64a
Allow frontend to supply a custom function for displaying libtransmission errors.
2006-07-16 23:40:22 +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
23965844d9
Don't try to free memory that we never allocated.
2006-07-04 23:59:51 +00:00
Eric Petit
f366b9819c
Fixes scraping with transmissioncli ( #79 )
2006-06-20 00:28:16 +00:00
Eric Petit
f98fe6a1b0
Added $Id$ keywords and updated a few headers
2006-05-29 21:21:23 +00:00
Eric Petit
9235d148b0
Be more flexible in case the dictionary isn't at the beginning of the
...
body (refs http://transmission.m0k.org/forum/viewtopic.php?t=298 )
2006-05-03 17:41:51 +00:00
Eric Petit
1ec413ea5c
Fixes warnings
2006-04-26 10:59:09 +00:00
Josh Elsasser
9120989a88
Make sure not to go past the end of the buffer when loading bencoded data.
...
Add code to encode using bencoding.
2006-04-25 07:00:18 +00:00
Eric Petit
dfe3bc870a
Merged simple_http_parsing branch
2006-04-11 22:37:43 +00:00
Josh Elsasser
b35737f024
Add missing tracker stats reset when changing our listening port.
...
This should have been included in rev 216.
2006-04-11 02:22:44 +00:00
Eric Petit
62bcf17b22
Fixed a couple of bugs introduced in [164]
2006-04-08 15:10:52 +00:00
Eric Petit
7449c80d67
Should fix a race condition
2006-04-07 20:17:40 +00:00
Josh Elsasser
f256fa2cce
Fixed bug where incorrect stats were being reported to the tracker.
...
This was introduced when download and upload totals became persistent.
2006-04-07 17:30:30 +00:00
Eric Petit
256bda38ce
Adds non-blocking (threaded) DNS resolution
2006-03-24 12:18:38 +00:00
Eric Petit
a1830a25bf
Merge from branches/new_api:r161
2006-03-23 12:39:39 +00:00
Eric Petit
28d43da1d1
Removed now unused tables and some now unused code
2006-01-30 02:13:40 +00:00
Josh Elsasser
9809dcb05d
Send stopped and started events to trackers when the listening port is changed,
...
but without disrupting existing peer connections.
In the GTK prefs dialog, change the port immediately instead of on next invocation.
2006-01-25 17:20:21 +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
5b06d13781
Update 2005-11-26
2006-01-12 18:43:18 +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
a6aa884776
Import from 2005-10-26
2006-01-12 17:43:21 +00:00