1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-23 22:50:41 +00:00
Commit graph

2057 commits

Author SHA1 Message Date
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
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
Charles Kerr
fc99ff6881 (libT) add some extra gcc safeguards. fix a couple of compiler warnings in makemeta 2008-10-22 17:14:50 +00:00
Charles Kerr
84dcaab5f4 remove dead code 2008-10-22 13:57:30 +00:00
Charles Kerr
6c96058d32 (libT) add tr_getMessageQueuing() for Spry 2008-10-21 19:40:12 +00:00
Charles Kerr
aba2849375 #1302: possible fix 2008-10-21 19:27:57 +00:00
Charles Kerr
7f9d71e6ff silence a couple of minor warnings from sparse/cgcc 2008-10-21 03:57:56 +00:00
Charles Kerr
7ec84486ee (libT) more win32 portability fixes from Spry 2008-10-20 19:34:19 +00:00
Charles Kerr
0c4f300f1b #1369: clarify the different torrent status & callbacks' APIs and typenames 2008-10-20 17:54:56 +00:00
Charles Kerr
9d7ef3bf38 #1366: annotated the tr_info.torrent field to reflect its deprecated nature 2008-10-20 16:04:26 +00:00
Charles Kerr
2adcf84784 #1366: move tr_ctor{Set,Get}Save() to a package-private header. 2008-10-20 16:00:14 +00:00
Charles Kerr
ea668ca9ff (libT) possible fix for the up/down display inconsistency reported by BentMyWookie. 2008-10-20 03:47:48 +00:00
Charles Kerr
4ba7a222ab add some assertions to smoke out persept's crash too. 2008-10-19 22:04:47 +00:00
Charles Kerr
7d6f7b5b28 add some more assertions to try & smoke out Biiaru's crash 2008-10-19 20:10:29 +00:00
Charles Kerr
b1defc7c88 (libT) make a few changes to try & smoke out the crash reported by Biiaru 2008-10-19 19:54:53 +00:00
Charles Kerr
67282cb794 further win32 portability fixes from Spry 2008-10-19 17:43:04 +00:00
Charles Kerr
071c6733e5 this seems to work pretty well. maybe it's done now? 2008-10-18 15:45:12 +00:00
Charles Kerr
00cfd90bb5 <bullwinkle>this time for sure!</bullwinkle> 2008-10-18 00:20:37 +00:00
Charles Kerr
a44f3d75a0 more hacking on libcurl + libevent integration 2008-10-17 20:57:54 +00:00
Charles Kerr
123a5c53a9 Try to hammer out some of the bugs in web.c. This still feels like a work in progress. Also, add a queue for tracker requests so that we don't wind up with 100s of concurrent http requests when there are a lot of torrents. 2008-10-16 05:24:57 +00:00
Mitchell Livingston
96f3939edd 2 arguments were swapped in curl_multi_socket_action() 2008-10-15 23:21:53 +00:00
Charles Kerr
1bf67e9b61 update snapshot of Jean Gressmann's JSON parser 2008-10-15 20:00:09 +00:00
Charles Kerr
e990c95336 (libT) apply some changes from Spry's code 2008-10-15 19:52:15 +00:00
Charles Kerr
26cac56509 (libT) if a tracker announce succeeds and the tracker's response is a superset of a scrape response, then treat it as a successful announce AND scrape. 2008-10-15 17:53:42 +00:00
Charles Kerr
2f3580cc90 (libT) possible backwards compatability tweak for libcurl < 7.16.3 2008-10-15 17:12:53 +00:00
Charles Kerr
0b991a55c7 (libT) try again to get the libevent+libcurl code working 2008-10-15 16:43:51 +00:00
Charles Kerr
b5c2f14387 (libT) dead code removal 2008-10-14 20:44:41 +00:00
Charles Kerr
59c2a61971 one more batch of changes from Spry 2008-10-14 20:31:16 +00:00
Charles Kerr
f6f9d898e4 (libT) #1327: win32 cannot select() on the file descriptors of pipe() 2008-10-14 18:17:33 +00:00
Charles Kerr
a257d0fb89 (libT) a few more win32 portability changes from Spry 2008-10-14 17:57:44 +00:00
Charles Kerr
e4b1d5d726 mmap portability changes by Spry 2008-10-14 17:30:07 +00:00
Charles Kerr
e8b4465a00 fix another oops from yesterday's tr_buildPath() reworking 2008-10-14 17:27:59 +00:00
Charles Kerr
ae0201db0f (libT) raise the size of the io buffer in recalculateHash() to 8 KiB 2008-10-14 05:24:59 +00:00
Charles Kerr
c2ddf1b2fe fix oops 2008-10-14 04:51:42 +00:00
Charles Kerr
53339a1498 (libt) remove some more instances of MAX_PATH_LENGTH 2008-10-14 03:54:57 +00:00
Charles Kerr
b04be5fb2e make MAX_PATH_LENGTH private to libtransmission. add tr_dirname() and tr_basename() utility / portability wrappers 2008-10-14 03:39:16 +00:00
Charles Kerr
e3a5524189 have tr_buildPath() allocate memory from the heap rather than using an input buffer 2008-10-14 03:03:29 +00:00
Charles Kerr
e660acc669 fix oops 2008-10-14 01:29:33 +00:00
Charles Kerr
ef5bc3f150 (libT) more win32 work copied from spry's code:
(1) add #define for {read,write,strncasecmp} -> {_read,_write,_strnicmp}
(2) fix a couple more variadic macros that didn't get fixed in the last commit
(3) use evutil_strtoll() instead of strtoll()
2008-10-14 01:00:15 +00:00
Charles Kerr
88ce8a5c44 more changes inspired by spry's `winport' code: for portability, use the standard __VA_ARGS__ macro for variadic macros instead of the CPP extensions. 2008-10-13 22:45:05 +00:00
Charles Kerr
b824c704b7 first batch of portability changes based on spry's winport:
(1) added tr_getcwd(), a simple portability wrapper for getcwd()
(2) cli: show the help page if no command-line arguments are provided
(3) daemon: use tr_wait() intead of sleep()
(4) daemon: SIGQUIT, SIGPIPE, SIGHUP aren't defined on windows
(5) libtransmission: a couple of small cleanups to bencode.c, list.c, web.c
(6) libtransmission: win32 portability fixes to platform.c
2008-10-13 22:26:02 +00:00
Charles Kerr
f00c8ff34d possible fix for #1305 "Transmission losing data - Session Transfer significantly higher than actual download". This patch may need more user testing and will definitely make webseeds slower. suck it up. 2008-10-11 04:07:50 +00:00
Charles Kerr
7566be5348 #1302: Uploading file deletion is ignored 2008-10-10 03:04:46 +00:00
Charles Kerr
413211288b #1338: fix win32 build errors 2008-10-10 02:14:51 +00:00
Charles Kerr
34061cb3e0 #1336: silence more compliation warnings 2008-10-10 01:23:21 +00:00
Charles Kerr
964d7e193c (libT) #1338: EMSGSIZE and EPROTO not found on Windows 2008-10-10 00:38:37 +00:00
Charles Kerr
50b5be7b91 #1332: libtransmission crashes from invalid RPC query 2008-10-09 20:38:00 +00:00
Charles Kerr
1415b72017 #1336: fix some compiler warnings when building with -Wformat-security 2008-10-09 20:03:34 +00:00
Charles Kerr
cc8bed02c6 (rpc) fix small bug introduced in the last commit. 2008-10-08 16:31:17 +00:00
Charles Kerr
cceb70b182 (rpc) extra safeguards in r6867 2008-10-08 13:39:44 +00:00
Charles Kerr
52a2527963 (rpc) better fix for #1330 2008-10-08 13:33:19 +00:00
Charles Kerr
38d265d9f0 (libT) possible fix for #1305: Transmission losing data - Session Transfer significantly higher than actual download 2008-10-08 03:58:21 +00:00
Charles Kerr
8ced51a9e4 (rpc) 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-07 01:25:29 +00:00
Charles Kerr
178008650e (libT) remove dead code 2008-10-06 19:44:38 +00:00
Charles Kerr
7fd0ff7fb2 (rpc) slightly better errno handling 2008-10-06 16:33:33 +00:00
Charles Kerr
ebee18380e slightly more efficient serving of static files & rpc responses 2008-10-06 13:36:06 +00:00
Charles Kerr
7249493759 (libT) #1318: transmission daemon eats all resources 2008-10-06 01:52:29 +00:00
Charles Kerr
5391f768f4 fix a null pointer dereference 2008-10-05 22:51:18 +00:00
Charles Kerr
2a5e92fb7c sync libtransmission to miniupnpc-20081002 2008-10-04 15:23:47 +00:00
Charles Kerr
cc1302c9c8 (rpc) #1319: possible fix for the deflate bug 2008-10-03 23:20:44 +00:00
Charles Kerr
77d3e0613d (rpc) #1319 as pointed out by spry, deflate()'s output can sometimes be larger than the native form. In these cases, use the smaller of the two sources. 2008-10-03 20:46:58 +00:00
Charles Kerr
4f5a6de98d (rpc) more robust `deflate' wrangling, possibly fixing ticket #1319 2008-10-03 17:38:14 +00:00
Charles Kerr
24b75a7d74 maybe fix the mac build 2008-10-03 04:57:06 +00:00
Charles Kerr
4fab4c9e9b (libT) finish killing tr_errno. 2008-10-03 04:49:06 +00:00
Charles Kerr
2918e2efaf (libT) eliminating tr_errno, part 4: don't use it in recalculateHash() 2008-10-03 00:51:40 +00:00
Charles Kerr
5178988964 (libT) eliminating tr_errno, part 3: don't use it in tr_cpBlockBitfieldSet() 2008-10-02 23:37:58 +00:00
Charles Kerr
f9345da6ae (libT) eliminating tr_errno, part 2: don't use it in reqListPop() or reqListRemove() 2008-10-02 20:55:05 +00:00
Charles Kerr
79d8a5cdf3 (libT) eliminating tr_errno, part 1: make tr_ioTestPiece return an int instead of a tr_errno. 2008-10-02 20:30:29 +00:00
Charles Kerr
f3d75b3b57 (rpc) fix rpc server memory leak that snuck in over the past few days' switch from shttpd to evhttp 2008-10-02 16:50:05 +00:00
Charles Kerr
d7a5cf0828 (rpc) fix minor path resolution glitch when serving up clutch files 2008-10-02 16:24:44 +00:00
Charles Kerr
b1ef118e3f (libT) housekeeping: tr_torrent.handle --> tr_torrent.session 2008-10-02 15:53:33 +00:00
Charles Kerr
e830fa23d4 (rpc) #1261: session-get's speed-limit-down & speed-limit-up fields have the wrong units 2008-10-01 23:30:27 +00:00
Charles Kerr
6cba9305ae add a separate flag for enabling/disabling the rpc address whitelist 2008-10-01 22:59:29 +00:00
Charles Kerr
bddf34d7a8 #1309: Web/RPC interface ACL ignored 2008-10-01 20:23:57 +00:00
Charles Kerr
60f84b35d9 (libT) better handling of Shad0w-style peer ids that don't have trailing dashes, such as Osprey Permaseed 2008-10-01 18:11:28 +00:00
Charles Kerr
585a9783ad add support for compressing the content served by the rpc server -- rpc responses and clutch html/css/js files 2008-10-01 15:53:56 +00:00
Charles Kerr
859af09f37 (libT) maybe fix the evhttp issues that softwareelves reported 2008-10-01 04:26:38 +00:00
Charles Kerr
f6a770f1db pass 0.0.0.0 in as the rpc server address 2008-09-30 18:31:04 +00:00
Charles Kerr
1c20c64062 send NULL as the address to evhttp_bind_socket() 2008-09-30 16:18:44 +00:00
Charles Kerr
c55a20b074 (libT) d'oh, left out an important line last night while testing the rpc server w/softwareelves 2008-09-30 16:04:41 +00:00
Charles Kerr
86b6e00321 (libT) make sure to init the rpc server with the correct event base. 2008-09-29 04:26:52 +00:00
Charles Kerr
713b99d64b add some debugging messages for the RPC server 2008-09-29 03:02:27 +00:00
Charles Kerr
4caac75646 (libT) #1267: when making new torrents, don't allow 0-byte files 2008-09-28 16:02:13 +00:00
Charles Kerr
b8cff462a7 (libT) uncrustify 2008-09-26 15:40:24 +00:00
Charles Kerr
8903960174 a little more cleanup of the rpc server stuff. 2008-09-26 04:41:13 +00:00
Charles Kerr
4907ad1d54 (libT) more rpc-server cleanup 2008-09-26 00:58:06 +00:00
Charles Kerr
4c34b2bc89 rpc-server cleanups. add true wildmat control. break the Mac build a little harder. 2008-09-25 18:48:09 +00:00
Charles Kerr
bd5a2ae6b8 (libT) experimental code to serve clutch/rpc via evhttpd 2008-09-25 05:03:39 +00:00
Charles Kerr
cc89872dd4 run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened 2008-09-23 19:11:04 +00:00
Charles Kerr
e07bc3543e (wx) get the wxWidgets port building again. :) 2008-09-19 17:17:34 +00:00
Charles Kerr
9c2c4ca08d fix at least one possible cause for the new crash reported by persept 2008-09-19 17:03:25 +00:00
Charles Kerr
85edfe35d5 (libT) apply a line from #1181's fix that was accidentally applied to the 1.3x branch instead of trunk. both are in sync now wrt #1181. 2008-09-18 16:18:50 +00:00
Charles Kerr
b5efa86ad7 add new compile-time throttle options suggested by persept 2008-09-18 03:55:31 +00:00
Charles Kerr
4fe1e1dae3 first draft at having more accurate speed controls 2008-09-17 19:44:24 +00:00
Mukund Sivaraman
b00bce23f5 Increment str so loop progresses 2008-09-16 07:10:04 +00:00
Charles Kerr
47292055ca (libT) #1269: check for the `downloaded' key in the announce repsonse. a successful announce response already resets the rescrape countdown, so that half of the ticket is redundant. 2008-09-14 00:57:11 +00:00
Charles Kerr
55a01eea2c (libT) calculate a piece's checksum on the stack, rather than the heap 2008-09-06 13:25:21 +00:00
Mukund Sivaraman
77fdc04c0e (win32) Don't use files in /tmp/ for test on win32 2008-09-06 07:26:29 +00:00
Mukund Sivaraman
64c9e8aabc (win32) Stack smash test fails with too much depth on win32 2008-09-06 07:26:25 +00:00
Charles Kerr
4bfd2e9f46 get rid of a pointless seek() call 2008-09-06 03:02:30 +00:00
Mukund Sivaraman
d71d6dfd95 Include crypto.h for randint test 2008-09-06 02:09:53 +00:00
Mukund Sivaraman
4d794e1a5b Test val instead of i 2008-09-06 02:08:43 +00:00
Charles Kerr
7944e7c608 add a unit test to exercise tr_cryptoRandInt() 2008-09-06 02:04:37 +00:00
Charles Kerr
ee10a8acab (libT) #1255: fails to parse announce URLs that have leading or trailing spaces 2008-09-05 19:11:30 +00:00
Mukund Sivaraman
72b8c7397c (win32) Replace missing symbols with values 2008-09-05 14:32:35 +00:00
Mukund Sivaraman
c149fc1d27 (win32) Add getpagesize() and getregionsize() implementations 2008-09-05 14:32:32 +00:00
Mukund Sivaraman
07101de87e (win32) Fix types and alignment in interlocked exchange 2008-09-05 14:32:28 +00:00
Mukund Sivaraman
5ea5613c0f (win32) Rename rpc.[ch] to rpcimpl.[ch] 2008-09-05 14:31:58 +00:00
Mukund Sivaraman
68a6c95d1c (win32) Add mmap implementation 2008-09-05 14:31:52 +00:00
Mukund Sivaraman
bbd5e129fe (win32) Don't use dllimport/dllexport 2008-09-05 14:31:46 +00:00
Charles Kerr
5184119948 (libT) possible solution to the peer hammering problem reported by Switeck 2008-09-05 05:14:49 +00:00
Charles Kerr
419242e36f (libT) change benc's integral type from int to size_t, squashing a couple of minor warnings 2008-09-04 14:42:32 +00:00
Charles Kerr
712df8f761 #1209: shttpd crash when setting port to one already in use 2008-09-03 19:59:09 +00:00
Charles Kerr
8c421bd0ec pump the web connections more frequently when there are tasks pending. this may speed up the shutdown flurry of `stop' announcements 2008-09-03 19:13:19 +00:00
Charles Kerr
abd4b506e2 fix a confusing extraneous line in the previous commit 2008-08-27 18:56:36 +00:00
Charles Kerr
64e08510f0 (libT) maybe fix the hangs reported by users in the recent nightlies. 2008-08-27 18:50:21 +00:00
Mukund Sivaraman
9d35118808 Fix coding style of last commit 2008-08-27 15:47:41 +00:00
Mukund Sivaraman
18d6bc7730 Return early if no URL is passed 2008-08-27 15:46:50 +00:00
Mitchell Livingston
7b62feac10 enable lazy bitfields 2008-08-26 21:44:51 +00:00
Charles Kerr
dcaf1f16ef (shttpd) replace VERSION with SHTTPD_VERSION.
(shttpd) make shttpd_edit_passwords() a public function for now to fix the build.
2008-08-25 20:32:26 +00:00
Mitchell Livingston
fa8ffca078 #1210 on Mac, the web ui should now work when Transmission's path contains a space 2008-08-22 23:55:33 +00:00
Charles Kerr
6cf752b33d #1222: web access authentication text 2008-08-22 23:04:16 +00:00
Charles Kerr
d39005b0d1 uncrash the build 2008-08-22 20:53:19 +00:00
Charles Kerr
815bf68082 crash deeper inside libtransmission. do not use this build; it crashes on purpose to test part of the nightly build system 2008-08-22 20:06:51 +00:00
Charles Kerr
a11aac24ca (libT) add an environmental variable to enable libcurl verbosity 2008-08-22 19:14:19 +00:00
Charles Kerr
82815a74d2 #1214: add RPC support for per-peer status,ul,dl,address info 2008-08-22 17:59:31 +00:00
Charles Kerr
960ded0af4 force Transmission to crash when started. don't use this revision; it's for testing the nightly build system. 2008-08-22 17:14:29 +00:00
Mukund Sivaraman
318ca1fb7e Don't use memmove() for simple assignment 2008-08-22 16:34:16 +00:00
Mukund Sivaraman
c10a612f90 Use stricter type for enums 2008-08-22 16:30:07 +00:00
Mukund Sivaraman
196ae72a85 Don't move all the rest of peers if current peer is choked
Only move the last peer into place.
2008-08-22 16:30:02 +00:00
Mukund Sivaraman
75d2e74a64 Use stricter type for enums 2008-08-22 16:13:52 +00:00
Mukund Sivaraman
b79e6561c0 Remove unused missingBlockCount 2008-08-22 16:03:49 +00:00
Charles Kerr
c32491ab3a (libT) remove a little more dead code 2008-08-22 15:33:55 +00:00
Charles Kerr
f8d38a180e according to vraa's profiling, the highest CPU hit other than encryption is in peerPulse(). do we really need to call it every 50 msec? change the peerPulse() interval to 250 msec. 2008-08-22 15:15:02 +00:00
Charles Kerr
f661504d66 (libT) say goodbye to the last `ii' variable in libT 2008-08-22 15:13:01 +00:00
Charles Kerr
ef68e36a0d (libT) more dead code removal: tr_compareUint32(), tr_compareUint64(), tr_strcmp(), tr_strcasecmp() 2008-08-22 14:52:20 +00:00
Mukund Sivaraman
7f749d1284 Sort piece_data_time in descending order.
Also fix code style in some places.
2008-08-22 02:34:22 +00:00