Commit Graph

1892 Commits

Author SHA1 Message Date
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
Charles Kerr d0ade0358f (libT) #1399: No tracker response result in error: 0 in the log 2008-10-31 19:01:27 +00:00
Charles Kerr e7461eb684 (libT) fix a tr_buildPath() bug reported by pea_ 2008-10-30 19:47:00 +00:00
Charles Kerr e04ea4062d (rpc) fix r6861 regression: if libt can't find the Clutch files, give a helpful 404 message for end-users and binary packagers about how to use CLUTCH_HOME and PACKAGE_DATA_DIR. 2008-10-30 14:01:52 +00:00
Charles Kerr c0192934b8 (libT) fix unlimited-upload-speed bug reported by Gimp_ and Lacrocivious 2008-10-30 03:41:45 +00:00
Charles Kerr 6a954ef95c (libT) oops, fix a couple of new gcc "unused variable" warnings. Hi, titer. 2008-10-29 20:51:57 +00:00
Charles Kerr 2666807291 #1389 test #3 2008-10-29 20:18:56 +00:00
Charles Kerr 8518da7193 #1389 test #2 2008-10-29 20:06:44 +00:00
Charles Kerr 4a8e34a35d (libT) possible fix for #1389: bitcomet handshake with TransmissionBT failed 2008-10-29 19:30:17 +00:00
Charles Kerr 4480da5403 (libT) #1359: Transmission shows no tracker error when unable to contact the tracker 2008-10-29 16:06:14 +00:00
Charles Kerr 717cd562e6 (libT) fix r6981 signed/unsigned compiler warning 2008-10-29 12:08:26 +00:00
Charles Kerr 29f93e3147 (libT) one more low-hanging fruit from softwareelves' Shark reports: simplify tr_buildPath() to shave off another few % 2008-10-29 11:56:55 +00:00
Charles Kerr f2a933fb77 #1308: Transmission forgets it's verifying data 2008-10-28 15:13:07 +00:00
Charles Kerr 9fe6f403eb janitorial.
(1) re-enable `deflate' in transmission-remote iff libz is installed
(2) change c++-style comments to c-style comments
(3) add positional arguments to a couple of libT strings marked for translation
2008-10-27 18:09:15 +00:00
Charles Kerr 98168cb605 (libT) #1359: Transmission shows no tracker error when unable to contact the tracker 2008-10-27 18:00:03 +00:00
Charles Kerr 11f240365e fix tab damage 2008-10-27 17:35:22 +00:00
Charles Kerr 5ad58ea83e fix r6965 oops 2008-10-27 04:39:30 +00:00
Charles Kerr 631d9d9a8f (libT) fold together some redundant sanity tests that were taking up 6.6% in softwareelves' profile 2008-10-27 04:27:55 +00:00
Charles Kerr a4bee061be (libT) eliminate some duplicate calls to time(NULL) that showed a spike on vraa & softwareelves' shark profiles 2008-10-27 04:12:42 +00:00
Charles Kerr 06939cafa6 (libT) low-hanging fruit discovered from softwareelves' shark profile. 2008-10-26 15:39:04 +00:00
Charles Kerr d03f0283dd (libT) minor code cleanup for r6954 2008-10-25 15:19:46 +00:00
Charles Kerr b4d3fc6f56 Added clients: BitTorrent Pro, LeechCraft, QVOD, BitWombat, OmegaTorrent, BT Next Evolution 2008-10-25 15:08:29 +00:00
Charles Kerr e15114e2aa new & improved fix for #617: Transmission goes above the set bandwidth limits 2008-10-25 02:20:16 +00:00
Charles Kerr 9cb73f8335 (libT) a small, simple memory optimization 2008-10-25 02:15:37 +00:00
Charles Kerr 92f37ed3ca remove tr-gnuc.h 2008-10-23 02:52:31 +00:00
Charles Kerr 188adb1d6a reverse patch #6948. one of the new gcc attributes seems to be causing trouble. 2008-10-23 02:37:21 +00:00
Charles Kerr f0eddb5c20 (libT) move the TR_GNUC macros from utils.h to a standalone header file so other libT headers can use them without getting an extra dependency tree. 2008-10-22 18:42:37 +00:00
Charles Kerr ee5797caa3 fix mac build? 2008-10-22 17:19:22 +00:00
Charles Kerr 674307add7 Add a new token, TR_DEFAULT_ENCRYPTION, and use it as the default in the various clients.
Add a new #define, TR_EMBEDDED.  When it's set, gettext is disabled and non-encrypted connections are the default.
2008-10-22 17:16:12 +00:00