Charles Kerr
eff510da18
(trunk libT) simplify web.c's remove_finished_tasks() a bit
2008-12-29 19:02:12 +00:00
Charles Kerr
798bac0fcb
(trunk libT) omit unnecessary malloc/free calls in peer-io
2008-12-29 19:01:47 +00:00
Charles Kerr
9ea0489471
this should've been in r7529
2008-12-29 18:12:25 +00:00
Charles Kerr
415f04059f
(trunk libT) wrap tr_inf(), tr_msg(), tr_dbg() calls inside a check to see if that debugging level is active. That way that function calls in the vararg list won't be invoked unless that level of verbosity is actually turned on.
2008-12-29 18:11:56 +00:00
Charles Kerr
c52d9fedab
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_publisher, contain the it directly rather than a pointer to one allocated elsewhere on the heap.
2008-12-29 18:10:07 +00:00
Charles Kerr
3a01d2e619
(trunk libT) recycle the tr_list nodes when possible
2008-12-29 17:28:14 +00:00
Charles Kerr
e7ffb4da03
Add "SD" to the clients list as Xunlei as reported by malucas72 in the forums.
2008-12-29 16:34:59 +00:00
Charles Kerr
7a4002dd3a
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_bitfield, contain it directly rather than a pointer to one allocated elsewhere on the heap.
2008-12-29 09:51:54 +00:00
Charles Kerr
427f639664
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_ptrArray, contain the tr_ptrArray directly rather than a pointer to one allocated elsewhere on the heap.
2008-12-29 08:54:36 +00:00
Charles Kerr
db381a5e40
(trunk libT) revert #7517 since it didn't do any good. disable http connection reuse.
2008-12-29 07:51:09 +00:00
Charles Kerr
1582135e3c
(trunk libT) experimental test for #1631 in web.c::setsock()
2008-12-26 20:14:47 +00:00
Charles Kerr
f0efd7fea8
(trunk libT) #1627 : OSX mutex lockup in 141 and up to 7490
2008-12-24 17:45:27 +00:00
Charles Kerr
6f8e5352ab
(trunk libT) fix connectivity error reported by Stargazer. Also, add more debug statements to track down errors like this in the future
2008-12-24 02:50:08 +00:00
Charles Kerr
460f862dbc
(trunk libT) add yet another ACL diagnostic message
2008-12-23 21:34:07 +00:00
Charles Kerr
dfcc9173e5
(trunk libT) #include "session.h" cleanup from wereHamster
2008-12-23 17:27:15 +00:00
Charles Kerr
82d349d221
(trunk libT) fix minor r7474 issue
2008-12-23 17:23:07 +00:00
Charles Kerr
c4e11a12e3
(trunk libT) socket performance tweak by wereHamster
2008-12-23 17:11:31 +00:00
Charles Kerr
303356d110
(trunk) #1029 : When removing local data only remove data from the torrent
2008-12-23 16:04:11 +00:00
Charles Kerr
5d1c109fc4
(trunk libT) speed improvments from wereHamster
2008-12-22 19:16:06 +00:00
Charles Kerr
55f263312f
(trunk) patch from wereHamster to finish off tr_handle
2008-12-22 19:14:43 +00:00
Charles Kerr
94a491aefb
(trunk libT) remove unused functions tr_list_insert_sorted(), tr_list_foreach(). make tr_list_find_data() private.
2008-12-22 17:35:10 +00:00
Charles Kerr
d142a075c4
(trunk libT) fix a Windows portability bug reported by Alexey
2008-12-22 05:19:52 +00:00
Charles Kerr
1310fea91e
(trunk libT) peer-io.c: remove dead code and get rid of a couple of GOTOs
2008-12-22 04:55:07 +00:00
Charles Kerr
acdd8c860c
(trunk libT) minor cleanups found while diffing for backport to 1.4x in r7455
2008-12-22 00:52:44 +00:00
Charles Kerr
32ebb868e7
(trunk libT) one more ACL warning
2008-12-21 19:35:38 +00:00
Charles Kerr
d39354c306
(trunk libT) add html and console hints about whitelist status & configuration
2008-12-21 19:23:41 +00:00
Erick Turnquist
38efb62100
add some debugging stuff to track down where some bogus addresses are coming from
2008-12-21 19:13:52 +00:00
Charles Kerr
2b0ece7614
(trunk libT) remove tr_peermsgs.minActiveRequests based on wereHamster's feedback
2008-12-21 18:31:28 +00:00
Charles Kerr
8556ce653f
(trunk libT) comments, tr_bool correctness, better runtime tests.
2008-12-21 18:15:00 +00:00
Charles Kerr
fefa352b11
(trunk libT) remove unused PEER_PULSE_INTERVAL
2008-12-21 17:51:46 +00:00
Charles Kerr
f77ae353bb
(trunk) configure.ac portability tweak suggested by fulgas
2008-12-21 00:22:41 +00:00
Charles Kerr
cb5d259f21
(trunk libT) fix an r7441 function pointer error reported by fulgas in #transmission
2008-12-21 00:05:54 +00:00
Charles Kerr
72ded3b272
try to rework the bandwidth code yet again s.t. it satisfies all three: (1) fairly distributes bandwidth across all peers, (2) scales well in high-bandwidth situations, (3) is good at hitting and staying at bandwidth limits/goals
2008-12-20 22:19:34 +00:00
Erick Turnquist
a68764fcba
(trunk libT) Don't log two "errors" we expect to see from time-to-time.
...
EAFNOSUPPORT: On OS X, socket() incorrectly throws EAFNOSUPPORT for certain
IP/Port combinations. There is nothing we can do about this.
ENETUNREACH: #1606 is evidence that some trackers return IPv6 peers when
contacted over IPv4. This code will silently ignore "network unreachable"
errors for IPv6 connections.
2008-12-20 08:51:32 +00:00
Erick Turnquist
49b84fb805
(trunk libT) make sure we don't block IPv6 peers, which aren't included in bluetack bocklists
2008-12-20 02:56:44 +00:00
Erick Turnquist
72ee19dcca
(trunk libT) Refactor ipv6 bind socket check
...
This will let the RPC server use the same test mechanism eventually. Networking code belongs in net.c anyway.
2008-12-18 05:55:22 +00:00
Charles Kerr
53b730420f
another test commit for vraa.. this is just an experiment; probably eats a lot of memory
2008-12-18 03:27:07 +00:00
Charles Kerr
d4b4f39754
test commit for vraa
2008-12-18 03:22:08 +00:00
Charles Kerr
d125ebd86a
(trunk libT) turn off some testing log messages
2008-12-17 14:15:19 +00:00
Charles Kerr
3a61b0c6eb
(trunk libT) tweak the new peer IO code a bit to handle EINPROGRESS
2008-12-17 13:29:03 +00:00
Charles Kerr
de24179d05
(trunk libT) fix assertion error reported by Rolcol earlier today in #transmission
2008-12-17 03:38:02 +00:00
Erick Turnquist
be4dc0d674
(trunk libT) use an enum tr_address_type instead of uint8_t for tr_address.type
2008-12-17 01:39:24 +00:00
Charles Kerr
1a7ab297ea
(trunk libT) more runtime safety checks
2008-12-16 23:31:05 +00:00
Charles Kerr
69b8caa93b
(trunk libT) yet another assertion commit
2008-12-16 22:52:04 +00:00
Charles Kerr
15ecde281b
(trunk libT) fix jhujhiti's pex crash
2008-12-16 22:28:19 +00:00
Charles Kerr
a94e104040
(trunk libT) really fuck up the peer i/o code. also this breaks the mac build until someone removes iobuf.c from libtransmission's list of files.
2008-12-16 22:08:17 +00:00
Erick Turnquist
2d427751d6
fix another bad assert *eyes charles*
2008-12-16 21:44:53 +00:00
Erick Turnquist
0a2c5efb65
Fix "ISO C90 forbids mixed declarations and code"
2008-12-16 21:35:14 +00:00
Erick Turnquist
86257e03f1
Fix tr_isAddress()
2008-12-16 21:28:06 +00:00
Charles Kerr
31e49df302
(trunk libT) add a similar check to the peer->addr in the place where crash is occurring
2008-12-16 21:12:14 +00:00
Charles Kerr
de5228c415
(trunk libT) more runtime safety checks
2008-12-16 21:06:47 +00:00
Charles Kerr
56663b860b
(trunk libT) add more startup debug messages in the RPC server
2008-12-16 16:13:21 +00:00
Charles Kerr
748a9f1c92
(trunk libT) add some assertions to tr_compareAddresses()
2008-12-16 06:46:27 +00:00
Charles Kerr
3739f5c72c
(trunk libT) fix oops: accidentally committed an fprintf() debug message. hi, titer.
2008-12-16 06:35:51 +00:00
Charles Kerr
07f0efe8e1
maybe make hudson-t's trunk linux builds happy
2008-12-16 01:11:54 +00:00
Charles Kerr
48c7c65f1b
(trunk libT) fix build error reported by KyleK and hudson-t
2008-12-16 00:57:24 +00:00
Charles Kerr
9594112d27
updated email address
2008-12-16 00:20:44 +00:00
Charles Kerr
e813ea69ab
(trunk libT) probable fix for the "greedy peer" bug
2008-12-15 21:22:08 +00:00
Charles Kerr
4e33fd5467
try to make hudson-t happy
2008-12-15 20:26:26 +00:00
Charles Kerr
41ea885946
put the consts back in to make jhjhiti happy
2008-12-15 04:37:44 +00:00
Charles Kerr
2e8d3a6b61
15:11 < jhujhiti> charles_: there are no bugs
2008-12-15 04:34:06 +00:00
Charles Kerr
54be88dec3
(trunk libT) add ipv6 support by jhujhiti. I think this is the largest user-contributed patch we've ever used... thanks jhujhiti :)
2008-12-15 00:17:08 +00:00
Charles Kerr
a9f8c517a0
(trunk) fix gtk bug of not remembering users' settings for per-torrent peer limits
2008-12-14 22:57:08 +00:00
Charles Kerr
4f9ae41046
(trunk libT) fix type error reported by JhuJhiti
2008-12-14 22:48:11 +00:00
Charles Kerr
788b397ecc
(trunk libT) more semantic cleanup: tr_handle->tr_session, int->tr_bool, int->tr_port
2008-12-14 11:21:11 +00:00
Charles Kerr
e56643d7e7
(trunk daemon) added --dump option to dump the settings to stderr and exit.
2008-12-14 01:22:06 +00:00
Charles Kerr
d52631cb67
(trunk libT) #1595 : Always search in PACKAGE_DATA_DIR when serving Web files
2008-12-14 01:19:50 +00:00
Mitchell Livingston
02521f4bf8
simplify the "randomize port" text
2008-12-14 00:50:41 +00:00
Mitchell Livingston
2707962707
#1559 Simplify tr_sessionInitFull - Mac client
2008-12-14 00:31:33 +00:00
Charles Kerr
78a68337fd
(trunk libT) remove unneeded key
2008-12-14 00:23:00 +00:00
Charles Kerr
f1419a95c0
(trunk libT) semantic cleanup: int -> tr_bool
2008-12-13 23:39:12 +00:00
Charles Kerr
6b0d98a695
(trunk) #1559 : Simplify tr_sessionInitFull
2008-12-13 23:17:36 +00:00
Charles Kerr
35f40bdfa6
(trunk libT) #1593 : Setting upload to 0 kills all download
2008-12-13 22:52:15 +00:00
Charles Kerr
0272708d32
(trunk libT) remove a couple of redundant and/or unused fields from struct peer_atom and tr_peermsgs.
2008-12-12 02:44:21 +00:00
Charles Kerr
0471e6d765
(trunk libT) make tr_bencDictMerge() support limited nested merges
2008-12-12 02:26:33 +00:00
Charles Kerr
72b9845a5e
(trunk libT) #1559 (partial): add tr_bencDictMerge() + unit tests. patch by KyleK and charles_
2008-12-12 02:12:17 +00:00
Charles Kerr
451058d5cd
(libT) add some documentation about the three separate peer structs and how they are related.
2008-12-11 17:02:34 +00:00
Charles Kerr
65fe66c470
(trunk libT) fix bug which caused libtransmission to hold onto nonproductive peers for longer than it should've
2008-12-11 07:04:46 +00:00
Mitchell Livingston
7b17087c70
#1157 ability to pick a random port in libtransmission; mac preference to pick a random port on launch and on button click
2008-12-11 04:41:23 +00:00
Charles Kerr
23b8321463
(trunk libT) back out the changes for #1580 ; closing that ticket as invalid
2008-12-11 00:39:47 +00:00
Charles Kerr
4ad84bb275
(rpc) #1584 : include version in session-get response
2008-12-10 21:46:24 +00:00
Charles Kerr
7403048738
(trunk libT) #1580 : use a 65K read buffer for the hash check, even for embedded systems.
2008-12-10 13:57:21 +00:00
Charles Kerr
9f1709352b
(trunk libT) make the upnp description a little easier to differentiate between separate instances of Transmission
2008-12-10 06:12:04 +00:00
Charles Kerr
6e66d09fbf
(trunk libT) fix minor r7266 oops that could keep us from disconnecting if we made a peer connection to ourself
2008-12-10 05:20:28 +00:00
Charles Kerr
8eecf37a54
(trunk libT) #1580 : increase the read buffer for the "verify local data" reader to make it a little faster
2008-12-10 03:45:57 +00:00
Charles Kerr
0a63e94096
(trunk libT) fix r7336 oops reported by RolCol, m1b, and KyleK
2008-12-10 03:44:20 +00:00
Charles Kerr
7eee937c56
(trunk libT) experimental code to try & fix the "one torrent / one peer eats all my bandwidth" issue reported in the forums & irc
2008-12-09 22:05:45 +00:00
Charles Kerr
2efe49c2eb
(trunk libT) better fix for the previous commit
2008-12-09 21:39:05 +00:00
Charles Kerr
b4470fff72
(trunk libT) fix blocklist.c build error on cygwin by adding #include <errno.h>. reported by stdisease
2008-12-09 21:31:03 +00:00
Charles Kerr
3a970c9fd9
(trunk libT) fix INET6_ADDRSTRLEN build error on cygwin, reported by stdisease in #transmission
2008-12-09 20:56:24 +00:00
Charles Kerr
a33b78fc53
(daemon) #1510 : kysucix's patch to give an option to delete local data via RPC when removing a torrent.
2008-12-09 17:01:49 +00:00
Charles Kerr
519b4d3f5e
(trunk libT) if an individual torrent's speed limit is set, don't pay attention to the global speed limit
2008-12-09 15:09:26 +00:00
Charles Kerr
718c1caa96
(trunk libT) #1565 : give the peer requests a higher send priority. thanks to jusid for testing and sleuthing above & beyond the call of duty
2008-12-08 20:36:36 +00:00
Charles Kerr
81e636ad89
(libT) #1577 : honor the peer's BEP 10 reqq key, if they provide it.
2008-12-08 20:23:10 +00:00
Charles Kerr
5999fef70a
(trunk libT) #1569 : tr_sessionIsSpeedLimitEnabled() returns wrong value
2008-12-06 17:01:18 +00:00
Charles Kerr
76ce949419
(libT) fix a minor memory leak.
2008-12-06 02:21:50 +00:00
Charles Kerr
11cda23c81
#1566 : dpkg-buildpackage fails if make has not been run
2008-12-06 02:13:49 +00:00
Charles Kerr
9e98dcd248
(libT) minor cleanup: using tr_bool, fixing up bad code indentation, using %zu on size_t instead of casting to int...
2008-12-05 22:56:19 +00:00
Charles Kerr
eb90a55608
(libT) #1562 : 1.40 sends unnecessary `cancel' messages when choked
2008-12-05 01:12:55 +00:00
Charles Kerr
5d36543c40
(libT) #1557 : handshake peer-id doesn't match the peer-id sent in the tracker announce
2008-12-04 05:27:59 +00:00
Charles Kerr
223deaf2b6
(libT) #1545 : 1.41b1: speed temporarily jumps to 2x the upload limit
2008-12-04 03:31:14 +00:00
Charles Kerr
81c9bc0371
(libt) #1554 : EPROTO (in peer-msgs.c) not defined on Windows
2008-12-03 13:21:41 +00:00
Charles Kerr
92dff35710
(libT) more tr_bool, tr_port junk
2008-12-03 07:10:09 +00:00
Charles Kerr
3bc08c53f0
(libT) #1552 : Blocklists fail when Windows newlines are present
2008-12-03 05:28:09 +00:00
Charles Kerr
aa9b1d2b8e
(libT) misc cleanup: use tr_bool and tr_port where appropriate
2008-12-03 04:55:10 +00:00
Charles Kerr
181b9ed905
(libT) extra assertions and safeguards for #1523 : crash in tr_fdFileCheckout() when starting daemon
2008-12-03 01:25:45 +00:00
Charles Kerr
761d7dba8e
(libT) when picking peers to connect to, all other things being equal, pick peers from more reliable sources
2008-12-03 01:22:24 +00:00
Charles Kerr
b9b67ee2c2
(libT) libcurl configuration tweaks
2008-12-02 23:54:26 +00:00
Charles Kerr
bdffa5ce20
(libT) #1454 : List of files selection/priority resetting
2008-12-02 23:27:45 +00:00
Charles Kerr
166c6e5f3c
(libT) add tr_peer_stat.isSeed
2008-12-02 23:16:01 +00:00
Charles Kerr
6615e162c6
(libT) that last commit should be a tr_bool, not an int. (BentMyWookie)
2008-12-02 22:51:44 +00:00
Charles Kerr
b8e6d5fbdc
(libT) #1398 : don't accept incoming peer connections when all torrents are paused
2008-12-02 22:25:51 +00:00
Charles Kerr
d4ee0d714a
(libT) #1379 : support "partial seeds" BEP 22
2008-12-02 19:46:51 +00:00
Charles Kerr
341b40f192
libT) fix another r7234 bug reported by John_Clay
2008-12-02 19:38:46 +00:00
Charles Kerr
c414377c1a
(libT) fix r7234 bug reported by John_Clay
2008-12-02 19:06:08 +00:00
Charles Kerr
9d39ed2540
(libT) misc cleanup
2008-12-02 18:24:26 +00:00
Charles Kerr
f927ea5d63
(libT) #1549 : support fast exensions' "reject" and "have all/none" messages
2008-12-02 17:10:54 +00:00
Mitchell Livingston
31482813b9
BeOS and Amiga support is, at least for now, a lost cause and hasn't worked for long over a year - removing from the source (if you for whatever unknown reason still need this, get it through SVN)
2008-12-02 03:57:01 +00:00
Charles Kerr
0d5fed6442
(libT) re-apply jhujhiti's IPv6 patch. This merges in my tr_port cleanup, so any new bugs are mine :/
2008-12-02 03:41:58 +00:00
Mitchell Livingston
c2b6fde6dd
#1548 Peers rapidly connect and reconnect after removing fast support.
2008-12-02 00:37:10 +00:00
Charles Kerr
a14621c363
(libT) janitorial: use the tr_port type whenever we have a `port' as a function argument or as a field in a struct.
2008-12-01 20:51:01 +00:00
Charles Kerr
7fa9813955
(libT) #252 : revert r7195 (jhujhiti's IPv6 test patch). It seems to be the culprit in a `thrashing' issue reported by Waldorf and m1b in irc -- the behavior appeared between r7183 and r7187 -- so this commit is to trigger off a nightly build w/o the patch to test with in irc.
2008-12-01 20:21:06 +00:00
Charles Kerr
a588eaddc8
(libT) fix a small pex memory leak
2008-12-01 05:57:59 +00:00
Charles Kerr
37414ea274
(libT) fix memory leak introduced in r7186
2008-12-01 05:56:39 +00:00
Charles Kerr
f4f908be92
(libT) #1542 : SIGSEGV in tr_publisherPublish
2008-11-30 21:36:49 +00:00
Charles Kerr
f0571fe25d
(libT) #1537 : uTorrent Mac Beta Peer ID
2008-11-30 17:10:43 +00:00
Charles Kerr
c910993b68
#1379 lay some very early groundwork for "partial seeds" -- change tr_completion's enum to use the partial seed terminology
2008-11-30 01:52:45 +00:00
Charles Kerr
66beb8db29
(libT) add the #include guards to "private" third party header files.
2008-11-30 01:43:18 +00:00
Charles Kerr
a2ad4f6543
(libT) patch from jhujhiti to add ipv6 support.
2008-11-30 00:47:18 +00:00
Charles Kerr
40299a2284
(libT) silence the net.c warnings I introduced yesterday :/
2008-11-29 21:34:06 +00:00
Mitchell Livingston
69877384f1
remove unused GroupsWindow.xib; don't allow group rows to be renamed from the group list
2008-11-29 21:03:47 +00:00
Charles Kerr
40b5fc5351
(libT) #1532 : patch from jhujhiti to remove (unused) fast extensions
2008-11-29 20:37:34 +00:00
Charles Kerr
7fee78a697
(libT) re-enable lazy bitfields
2008-11-29 19:16:31 +00:00
Charles Kerr
d12af295c1
use tr_bool instead of C bitfields. ( http://blogs.msdn.com/oldnewthing/archive/2008/11/26/9143050.aspx )
2008-11-28 22:11:41 +00:00
Charles Kerr
b3c4061b1c
(libT) fix potential underflow in bandwidth allocation code
2008-11-28 21:35:01 +00:00
Charles Kerr
ca433d44ae
(libT) make peer-io's output buffer size more flexible based on the peer's speed
2008-11-28 16:00:29 +00:00
Charles Kerr
516ba0564a
(libT) disable the so_sndbuf / so_rcvbuf code for now
2008-11-28 07:42:08 +00:00
Charles Kerr
b46375fd8c
(libT) #1527 : don't send pex messages if we don't have any new information to send
2008-11-28 05:48:17 +00:00
Charles Kerr
dc72deac34
(libT) tweak the speed allocation a little more.
2008-11-27 18:56:58 +00:00
Charles Kerr
bc51d19c0d
(libT) #1491 : json floats decimal separator depends on language settings
2008-11-27 18:35:26 +00:00
Charles Kerr
924b9230f8
(libT) fix typo that prevented bandwidth.h from being included in the tarball
2008-11-27 10:23:54 +00:00
Charles Kerr
2e27756016
(libT) fix a compiler warning.
2008-11-26 18:54:35 +00:00
Charles Kerr
2690766076
(libT) make the the speed measurements a little more accurate
2008-11-26 18:00:37 +00:00
Charles Kerr
9de7ccf7da
(libT) slightly more accurate reporting of piece data vs. raw data
2008-11-26 15:58:26 +00:00
Charles Kerr
ff651209c8
(libT) remove debugging statement that got checked in by accident
2008-11-26 05:58:10 +00:00
Charles Kerr
628c574c07
(libT) performance tweaks
2008-11-26 02:57:32 +00:00
Charles Kerr
645610f995
(libT) fix cut and paste bug. I think this is the crash everyone in #transmission is chiming in about.
2008-11-26 02:56:04 +00:00
Charles Kerr
f44248a7d7
(libT) yet another stab at getting bandwidth management under control. this version may suck less than previous attempts. It also breaks the mac build until someone adds iobuf.[ch] to xcode...
2008-11-25 21:35:17 +00:00
Charles Kerr
8e6529ad8f
(libT) I wonder if this will have any affect on the bug reported by Wizardling.
2008-11-24 21:59:00 +00:00
Charles Kerr
a1cd6d85dc
(libT) add #ifdefs to ensure that client apps don't #include private libtransmission headers.
2008-11-24 20:17:36 +00:00
Charles Kerr
24deca88e4
oops, turn off a debugging message
2008-11-24 04:35:34 +00:00
Charles Kerr
be5e6774ad
(libT) #1468 : another stab at getting the peer transfer speeds both fast and a little more consistent.
2008-11-24 04:21:23 +00:00
Charles Kerr
aee1a0b9a0
(libT) revert r7099 based on forum feedback @ < http://forum.transmissionbt.com/viewtopic.php?f=4&t=6485 >
2008-11-23 17:05:44 +00:00
Charles Kerr
9571f3b714
(libT) #1468 : speed display is very jumpy
2008-11-23 16:31:28 +00:00
Charles Kerr
0bcff74d52
minor code cleanup
2008-11-23 16:30:09 +00:00
Charles Kerr
06b80ebc0e
(libT) silence a compiler warning
2008-11-21 16:53:58 +00:00
Charles Kerr
853a67fbfc
(libT) define peer connections' sockets' so_sndbuf size in the tr_session struct.
2008-11-21 16:32:55 +00:00
Charles Kerr
d7b3024dbc
(libT) #1488 : peer port missing in json rpc interface
2008-11-20 20:39:19 +00:00
Charles Kerr
17f5503998
(libT) #1486 : Large file support broken on Windows
2008-11-20 17:19:59 +00:00
Charles Kerr
f172e8f96e
(libT) another possible fix for #1468 : Speed display is very jumpy
2008-11-20 03:07:26 +00:00
Charles Kerr
6116a00c0b
(libT) #1482 : fix another win32-related preallocate bug. Thanks to Spry and Lubomir for fixing my bugs. ;)
2008-11-19 17:48:24 +00:00
Charles Kerr
ed95969380
(libT) #1480 : RPC Server Deflated response
2008-11-19 16:12:00 +00:00
Charles Kerr
65ec586835
(libt) #1482 : libtransmission/fdlimit.c preallocateFile uses undeclared desiredFileSize on WIN32
2008-11-19 16:06:31 +00:00
Charles Kerr
fa54f390ae
#1476 : crash on exit when stats window is open
2008-11-17 05:05:11 +00:00
Charles Kerr
a0fd42c5c3
(libT) better possible fix for #1468 : Speed display is very jumpy
2008-11-17 04:00:57 +00:00
Charles Kerr
93b3dc5617
increase the socket's SNDBUF size
2008-11-16 21:16:14 +00:00
Charles Kerr
1619652997
revert 7120; it was not a fix
2008-11-16 21:15:37 +00:00
Charles Kerr
f385cd4e02
(libT) possible fix for #1468 : Speed display is very jumpy
2008-11-16 17:47:42 +00:00
Charles Kerr
97e4efaa4d
(libT) #1474 : lazy bitfields don't work quite right in 1.40
2008-11-16 08:56:18 +00:00
Charles Kerr
10714dc224
(libT) get file preallocation working on Windows by copying how fsutil does it. (source: http://social.msdn.microsoft.com/forums/en-US/vclanguage/thread/4dabec8e-2909-40b3-b398-66bd4c587b9b/ )
2008-11-15 19:59:18 +00:00
Charles Kerr
f8a7c4b347
#1406 : need tr_getDefaultDownloadDir() for consistency between apps
2008-11-15 17:39:54 +00:00
Charles Kerr
d42fae7dce
(libT) fix r7109 oops spotted by BentMyWookie
2008-11-15 01:07:08 +00:00
Charles Kerr
930b94a4de
(libT) some people have complained that Transmission doesn't upload enough until after downloading is complete. This commit ought to fix that.
2008-11-15 00:46:51 +00:00
Charles Kerr
25c33e7bb2
(libT) #1447 : Tracker request failed. Got HTTP Status Code: 0 (No Response)
2008-11-12 04:27:02 +00:00
Charles Kerr
d157577a74
(libT) #1450 : warnings from build
2008-11-12 04:25:38 +00:00
Charles Kerr
36019841b8
(libT) don't use getrlimit() / setrlimit() anymore. this doesn't do much good and could possibly do harm wrt fighting with libcurl for available sockets.
2008-11-12 04:05:27 +00:00
Charles Kerr
0e79d23b2c
(libT) better testing for fallocate() on linux
2008-11-12 03:59:30 +00:00
Charles Kerr
a4472fc529
#1443 : check for zlib fails when providing a specific path
2008-11-09 15:43:31 +00:00
Charles Kerr
9693451402
(libT) #1442 : removing a webseed torrent while it's running causes it to crash
2008-11-08 22:24:07 +00:00
Charles Kerr
73197c53f3
tweak the bandwidth manager code a little more to try & prevent oscillation
2008-11-08 15:39:48 +00:00
Charles Kerr
9e6b768f3d
(libT) fix minor r7069 oops: remove a console debug message
2008-11-08 02:54:17 +00:00
Charles Kerr
42fe27c067
more fucking around with the speed measurements.
2008-11-08 02:49:04 +00:00
Charles Kerr
58ea9e4be8
(libT) revise r7065
2008-11-07 05:37:59 +00:00
Charles Kerr
c8b51fb734
#1429 (libT) cleaner handling of the special case where the upload or download speed limit is zero
2008-11-07 04:10:27 +00:00
Charles Kerr
9ae5d7f41e
(libT) #1424 : one-liner to fix win32 breakage
2008-11-06 04:25:29 +00:00
Charles Kerr
c8a07d7ca6
(libT) fix r7055 bug reported by BentMyWookie. Also, narrow the bandwidth allocator's `clamp' range to lessen oscillation
2008-11-06 04:16:53 +00:00
Charles Kerr
04d10183e1
(libT) fix r7055 oops. Also, the comment on that last commit should read "in the values returned by the public API's speed functions, only give the piece data transfer speeds -- don't include the protocol overheads"
2008-11-06 03:04:21 +00:00
Charles Kerr
8e4fa83c77
update NEWS
2008-11-06 02:56:51 +00:00
Charles Kerr
10566eece9
(libT) #849 : preallocate files when possible to prevent disk fragmentation
2008-11-05 05:56:06 +00:00
Charles Kerr
194833dfec
(libT) optimize tr_cpHaveValid(), which according to cachegrind is the biggest remaining hotspot function
2008-11-05 04:50:03 +00:00
Charles Kerr
66db7d7b3f
(libT) remove another dead store reported by m1b & clang
2008-11-05 00:21:30 +00:00
Charles Kerr
17b8624ca7
(libT) #1417 : revert r7039
2008-11-04 21:33:24 +00:00
Charles Kerr
f336aff2e7
(libT) fix a pair of dead store warnings from m1b & clang
2008-11-04 19:40:18 +00:00
Charles Kerr
9859578a7d
(libT) #1417 : overhead should be counted in the global stats
2008-11-04 17:37:51 +00:00
Charles Kerr
8fa0863467
(libT) change the bandwidth pulse from 8x per second to 4x per second... 8x is overkill
2008-11-04 01:24:03 +00:00
Charles Kerr
5d35dfaeca
(libT) micro-optimizations suggested by cachegrind
2008-11-03 17:01:08 +00:00
Charles Kerr
b263a5f0e2
(libT) tr_handle --> tr_session
2008-11-02 22:21:59 +00:00
Charles Kerr
dc761dbc81
(libT) fix bug in getting win32 home directory
2008-11-02 15:58:30 +00:00
Charles Kerr
80f7b7cfef
(daemon) when serving deflated output, strip off the first 2 and last 4 bytes from deflate()'s output, for reasons described at http://carsten.codimi.de/gzip.yaws/
2008-11-01 22:09:16 +00:00
Charles Kerr
d207fff71f
(libT) #1402 : T constantly maps and unmaps the NAT-PMP port
2008-11-01 16:39:57 +00:00