1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 17:17:31 +00:00
Commit graph

71 commits

Author SHA1 Message Date
Eric Petit
e72c5580c6 Split and moved makefiles into a seperate folder, fixes and speed-up to
the retrieving of the SVN revision, OS X packages now show the revision
if this isn't a release build
2006-05-31 12:54:53 +00:00
Eric Petit
a3d3d1f33d Splits VERSION_STRING and VERSION_REVISION, removes duplication of flags
in the Xcode project file
2006-05-29 22:44:21 +00:00
Eric Petit
f98fe6a1b0 Added $Id$ keywords and updated a few headers 2006-05-29 21:21:23 +00:00
Eric Petit
aeb4c6e208 Toughens the criteria for banning, tries to make guesses about the peers two got banned for a few pieces because of someone else 2006-05-13 17:28:54 +00:00
Eric Petit
a006c25025 Adds automatic peer banning.
At first, peers get only banned for the bad pieces they've contributed to, i.e. we continue to ask them for other parts of the torrent. If more bad data keeps coming, the peer gets completely banned.
Based on Jeremiah Morris' patch.
2006-05-13 06:48:37 +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
cf56d58f06 A couple minor i18n cleanups.
Add italian translation.
Add an install make target for transmissioncli and transmission-gtk.
2006-04-25 08:14:37 +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
fa3b018e1f Ooops 2006-04-24 16:42:38 +00:00
Eric Petit
94b14b6271 Use file descriptors instead of streams (preliminary cleanup for fixes
to come in fdlimit*)
2006-04-23 17:03:12 +00:00
Eric Petit
3db5194740 Clean up, perform all DNS resolutions in a common thread. This should
fix the remaining issues with many open torrents
2006-04-22 21:39:17 +00:00
Eric Petit
766e834cde Code cleanup 2006-04-22 17:12:59 +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
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
58ec8a3b19 Show tracker errors again 2006-04-08 15:56:26 +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
b9a53769f9 Adds download rate limit 2006-04-07 12:09:08 +00:00
Josh Elsasser
8cb58aa4ee Don't print an error if the .depend files don't exist. 2006-04-05 09:45:09 +00:00
Josh Elsasser
794bd1a801 I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
I will not commit without compiling first.
2006-04-05 09:37:18 +00:00
Josh Elsasser
3ea2daa3bc Bind the default port when starting the first torrent
if it hasn't been done already.
2006-04-05 09:27:10 +00:00
Eric Petit
fde1bf8876 Nicer make output. Also moved the CLI client to its own folder like
other interfaces.
2006-04-04 20:23:19 +00:00
Eric Petit
235255b8f0 Merge compat-10.2 branch. This adds Jaguar compatibility on OS X, and
completes the Jam -> Make/XCode switch. Hope it doesn't break too much.
2006-04-03 19:29:09 +00:00
Eric Petit
dfaa09ce40 Adds a real test for lrintf because some Linux systems, like BeOS, seem
to provide a non-working lrintf implementation
(Patch from Henner Sudek, modified)
2006-04-03 09:05:47 +00:00
Josh Elsasser
ee1428db43 Patch from Jeremy Messenger to build on FreeBSD 4. 2006-03-31 17:52:07 +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
9321447c68 Fix for non-Darwin systems 2006-03-07 20:27:16 +00:00
Eric Petit
bf7ce0a305 Started to switch to a Makefile-based build system (still very incomplete,
so the Jamfile are still there).
Set a few svn:ignore properties.
2006-03-07 20:23:40 +00:00
Eric Petit
eba49d3d2a Quick fix for the 'getting unconnectable' problem (adds a timeout on
incoming connections)
2006-03-03 12:53:55 +00:00
Josh Elsasser
a2066e56bf libtransmission:
Lazily bind the listening port to avoid spurious
 'Could not bind port 9090' error on startup.
2006-02-24 14:10:15 +00:00
Eric Petit
6197b6665c Added optimistic choking 2006-02-08 22:21:58 +00:00
Eric Petit
c2fc72b477 Randomly choke and unchoke peers who upload less than 0.1KB/s to us,
instead of trying to compare their upload rates
2006-02-08 21:26:27 +00:00
Josh Elsasser
a72881fdda Save resume information when a torrent finishes downloading. 2006-02-08 17:48:18 +00:00
Eric Petit
d8bdcea349 Fixed fastResumeLoadOld 2006-02-08 16:49:00 +00:00
Josh Elsasser
9911026409 Merge the version 1 extensible resume file format,
as well as compatability code to read the existing version 0 files.
Note that older versions of transmission won't understand the version 1 format
and a hash check will be done on all the files.

Save uploaded and downloaded totals in the resume file.
2006-02-08 16:31:49 +00:00
Eric Petit
9b2e8566dd BeOS fixes 2006-02-07 09:34:30 +00:00
Eric Petit
f1b113ec5b Cleaning and minor optims 2006-02-07 03:10:42 +00:00
Eric Petit
fcd1c9a1a8 Force rates to 0 when paused, and download rate to 0 when seeding.
Increased OS X UI update interval to 1 second.
2006-02-07 02:32:50 +00:00
Eric Petit
355fe1273f Comments 2006-02-05 21:10:20 +00:00
Eric Petit
74b6e3f3ab Fixed no-limit upload 2006-02-05 09:42:38 +00:00
Eric Petit
77dc2be62a Fixed memleak
Don't count small messages in the download rate
2006-02-02 01:59:02 +00:00
Eric Petit
1d7f99b164 Workarounded a race condition 2006-02-01 14:05:48 +00:00
Eric Petit
00ef8642bf Fixes a crash (quite amazing that it didn't crash more often, actually...) 2006-01-31 07:11:28 +00:00
Eric Petit
aa6c52ef46 Fixed a lame typo so the algorithm may actually work 2006-01-31 04:58:28 +00:00
Eric Petit
ae8ef0dc83 Fixes a little memleak 2006-01-30 07:01:35 +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