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
88fe038e6e
(libT) not all libT source files need to #include sha1/openssl, just three of them. Also, no need to compile a local sha1 implementation if we're using openssl's.
2007-07-30 19:55:10 +00:00
Charles Kerr
d209052051
add portability wrapper for in_port_t...
2007-07-30 18:04:10 +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
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
79b85b36ab
add some assertion tests for #transmission
2007-07-24 20:49:47 +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
1c7c8072b4
fix crash on zero-byte torrents
2007-07-15 03:52:51 +00:00
Charles Kerr
790476ac23
clean up #includes a bit.
2007-07-12 17:51:45 +00:00
Charles Kerr
8d37a2601e
remove unused functions tr_ioRemoveResume() and fastResumeRemove()
2007-07-10 00:33:48 +00:00
Charles Kerr
b79beeff66
clean up #includes a bit.
2007-07-09 20:10:42 +00:00
Charles Kerr
d8a6dd1e28
fix inout.c read/write mode bug.
2007-07-06 17:19:34 +00:00
Charles Kerr
3b1597789e
fix r2252 copy-and-paste bug. Thanks BentMyWookie
2007-06-30 21:39:03 +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
Charles Kerr
ab85deaf51
add color-coded lines to the gtk debug window -- info is black, debug is grey, errors are red...
2007-06-22 20:59:23 +00:00
Charles Kerr
06e761d950
* fix error checking large files reported by Gimp_
...
* portability changes to pathname/filename building
* small gratuitous changes
2007-06-18 19:39:52 +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
Eric Petit
1636fc70d2
BeOS fixes
2007-06-14 11:41:09 +00:00
Mitchell Livingston
f7501a0dd6
attempt to kill an io bug
2007-05-31 23:40:56 +00:00
Mitchell Livingston
16627cc209
patch to avoid unneeded io checking when starting
2007-05-30 05:16:43 +00:00
Mitchell Livingston
3852bbb6e6
some rewriting of the filter bar so it can dynamically place the buttons, and some extra, yet-to-be-used code
2007-05-29 02:00:23 +00:00
Mitchell Livingston
73c6c3324e
when pausing and then resuming a checking transfer, recheck from the start
2007-05-28 22:32:39 +00:00
Mitchell Livingston
78afc2f205
swap a condition in the io code
2007-05-28 16:51:18 +00:00
Mitchell Livingston
0f9766145b
patch from Charles Kerr: perform file checking one at a time ( fixes #124 )
2007-05-28 15:23:28 +00:00
Mitchell Livingston
422fff124c
remove double malloc
2007-05-27 23:35:59 +00:00
Mitchell Livingston
0eca8679f8
patch to speed up io from denisx
2007-05-27 23:32:26 +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
8345d49e29
add an option to reverse the sort order
2007-05-02 19:35:34 +00:00
Mitchell Livingston
a8a2e03d13
use malloc instead of calloc
2007-04-28 03:44:09 +00:00
Mitchell Livingston
305ccf1cd5
add ability to remove torrent cache
2007-04-28 01:34:39 +00:00
Josh Elsasser
63bb617fa4
Add more I/O error codes.
2007-04-20 02:05:07 +00:00
Josh Elsasser
5a59d210c4
Truncate files that are too large during initial hash check.
2007-03-30 17:35:23 +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
a768ecf0d2
Stupid bug that causes us to never check the hash and never send HAVE messages
2007-01-15 18:18:06 +00:00
Eric Petit
e5e6a8b5df
Merge io branch into trunk
2007-01-14 12:00:21 +00:00
Eric Petit
ad0b19375f
Handle torrents with empty folders ( fixes #12 )
2006-11-10 21:30:32 +00:00
Josh Elsasser
0257761670
Merge nat-traversal branch to trunk.
2006-09-25 18:37:45 +00:00
Eric Petit
beebc5bbfa
Typo
2006-08-06 17:16: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
Eric Petit
cca3cab9fc
Fixes #22 (all torrents apparently at 0 % when T restarts)
2006-06-13 00:28:03 +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
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
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