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
Josh Elsasser
f80ab0832f
Fix a double-free bug that was causing preference corruption and crashes.
2006-05-07 20:35:50 +00:00
Josh Elsasser
0a77d36380
Trying to free nonexistent memory is bad, mmkay?
...
(refs http://transmission.m0k.org/forum/viewtopic.php?t=302 )
2006-05-05 20:57:42 +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
Josh Elsasser
49fccfd96e
Some minor code cleanups.
...
Handle things a little better when quitting.
2006-05-03 10:09:11 +00:00
Josh Elsasser
229d9c84dc
Major internal restructuring for the GTK GUI,
...
GObject-derived wrappers are used for tr_handle_t and tr_torrent_t.
Use bencoding to store prefs and state file.
Make sure to always group error messages when adding multiple torrents at once.
Remove some unused code.
Many miscellaneous cleanups.
2006-05-03 06:58:16 +00:00
Eric Petit
796e2b868e
Adds Action button that allows quick setting of upload and download limits,
...
Makes the bottom bar look like Mail's,
Moves stats to a top, hideable bar.
2006-05-01 00:15:18 +00:00
Josh Elsasser
844d0e3520
Make padding of dialogs look a little better.
...
Respect GNOME's toolbar settings.
Patch from forum user /dev/urandom.
2006-04-29 16:29:04 +00:00
Eric Petit
1ec413ea5c
Fixes warnings
2006-04-26 10:59:09 +00:00
Eric Petit
734845196a
Saves in history the date at which the torrent was loaded
2006-04-25 16:31:19 +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
1cfe027fdb
Add IPC code for another process to communicate with a running
...
transmission-gtk instance.
Try to add any filenames found on the command-line, using IPC if
transmission-gtk is already running.
Some minor code cleanups.
Remove lockfile on a normal exit, justfor the sake of being tidy.
2006-04-25 07:26:27 +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
Josh Elsasser
b5fa42ff8f
Show subversion revision number in version string.
2006-04-25 05:10:08 +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
de6cc777cc
Cosmetic
2006-04-22 16:54:20 +00:00
Eric Petit
229d60507b
Use NSLog on Mac OS X for errors, cosmetic changes
2006-04-22 16:44:56 +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
Josh Elsasser
0cc1576999
Turn the download limit off by default.
2006-04-15 03:22:04 +00:00
Eric Petit
2396691d0d
The CFLAGS/LDFLAGS passed to configure are now put at the end at the
...
compile line, so our default settings (esp for -O) can be overridden
2006-04-12 22:09:54 +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
3bce21ad7c
Re-link transmissioncli and transmission-gtk when libtransmission.a
...
has changed
2006-04-10 09:13:15 +00:00
Eric Petit
bf8ddbe4ec
"make package" now doesn't strip debug symbols anymore, so bug reports
...
on the nightlies should be more useful. Use "make package-release" to
build a stripped package.
2006-04-09 14:02:54 +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
b8fc3f76c9
Corrected keys for rate limits
...
Always set limit, even if value entered is wrong
2006-04-07 17:10:27 +00:00
Josh Elsasser
6e9f6ec11e
Instead of storing files specific to the gtk frontend directly
...
in ~/.transmission/, store them in a gtk subdirectory.
2006-04-07 15:41:28 +00:00
Eric Petit
c6afb1c534
Adds download rate limit to OS X interface
2006-04-07 14:22:27 +00:00
Josh Elsasser
ca267ac99a
Add download rate limit to GTK interface.
2006-04-07 14:14:40 +00:00
Eric Petit
55295baf13
Multiple selection
2006-04-07 13:09:19 +00:00
Eric Petit
b9a53769f9
Adds download rate limit
2006-04-07 12:09:08 +00:00
Eric Petit
0563eaf19c
Cosmetic
2006-04-05 13:52:00 +00:00
Eric Petit
ca82942852
Got rid of a class variable, makes performSelectorOnMainThread retain
...
and release it instead
2006-04-05 13:39:30 +00:00
Eric Petit
b7a28dd9a1
Cleaning, also fixes disabling idle sleep when torrents are active
2006-04-05 12:21:16 +00:00
Eric Petit
94fd8c9cf6
Fixed lrintf check when lrintf is in libm
2006-04-05 10:12:23 +00:00
Josh Elsasser
759a1cf6e1
Have make print a helpful error message if configure has not been run.
2006-04-05 09:58:35 +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
c5e94126f2
Removed rests from a kludge I had locally
2006-04-05 09:14:40 +00:00
Josh Elsasser
ff977b74c5
Add check for a working compiler and print a helpful error if one is not found.
2006-04-05 00:41:47 +00:00
Eric Petit
7a5c149504
Fixes OS X build
2006-04-04 20:39:21 +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
18a81ad4b2
Removed duplicate AS
2006-04-04 12:16:33 +00:00