Commit Graph

5795 Commits

Author SHA1 Message Date
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
Mukund Sivaraman 59351991f6 Further fix/cleanup compare code 2008-08-22 02:15:37 +00:00
Charles Kerr d323a99cdd undo part of r6616 to address the assertion failure reported by andersos and Waldorf 2008-08-22 01:27:00 +00:00
Charles Kerr b97717ffbf fix #include warning 2008-08-22 01:05:38 +00:00
Charles Kerr 7e4fb99f8c * add DISABLE_GETTEXT preprocessor directive to turn off i18n in libtransmission for embedded devices.
* remove `wchar.h' #include from shttpd that broke the compile on embedded devices.
2008-08-21 21:04:57 +00:00
Charles Kerr ca45125259 (libT) more dead code removal: tr_compareTime() and tr_compareDouble() 2008-08-21 20:39:57 +00:00
Charles Kerr 3df44dad3d maybe fix m1b's tracker issue 2008-08-21 20:18:34 +00:00
Charles Kerr 1105dc0038 (libT) remove some dead functions: tr_calloc(), tr_compareUint16(), tr_compareUint32() 2008-08-21 19:03:56 +00:00
Charles Kerr 2d2d173275 (libT) avoid an unnecessary memory alloc 2008-08-21 18:40:40 +00:00
Charles Kerr 3f25d101e0 fix metainfo bug from earlier today. (m1b, andersos) 2008-08-21 17:03:44 +00:00
Charles Kerr 58881d45be more metainfo/bencode cleanup 2008-08-21 16:12:17 +00:00
Charles Kerr dcecf09d96 bencode cleanup: remove unused functions and unnecessary #includes 2008-08-21 14:57:59 +00:00
Mitchell Livingston 7edebaf18e update the trunk version to 1.33+ 2008-08-21 03:51:14 +00:00
Mitchell Livingston 0def4c1558 update the appcast and NEWS 2008-08-21 03:47:59 +00:00
Mitchell Livingston eada51ac5a trunk: update NEWS 2008-08-20 21:53:52 +00:00
Charles Kerr 1db57b1468 more metainfo cleanup 2008-08-20 21:01:17 +00:00
Charles Kerr 41258ced7e get rid of strlcat_utf8() 2008-08-20 19:21:57 +00:00
Charles Kerr 9eb2f15fff allocate torrent/resume filenames on the heap instead of the stack 2008-08-20 19:00:52 +00:00
Charles Kerr 3b7499a79b make tr_bencDictFindType() private. 2008-08-20 18:42:45 +00:00
Mukund Sivaraman 2ed1e6ee9d Use signed integers for storing the random values 2008-08-20 16:19:47 +00:00
Mukund Sivaraman d712f22b21 Rename function to indicate its stupidity 2008-08-20 14:55:23 +00:00
Mukund Sivaraman e84275e429 Replace the random number generator inside peer-mgr with a
stupid faster one.
2008-08-20 14:36:15 +00:00
Mukund Sivaraman 4796e40d27 Inline tr_compareUint16() in this case 2008-08-20 13:54:31 +00:00
Mukund Sivaraman ed7685dd1a Make tr_bitfieldHas() a macro 2008-08-20 13:45:52 +00:00
Charles Kerr 9aeb9a86a3 tweak 2008-08-20 01:55:28 +00:00
Charles Kerr 6e23743c33 (libT) do proper JSON escaping 2008-08-19 23:11:35 +00:00
Charles Kerr f205d487c6 fix a misplaced comma in the rpc spec's JSON example 2008-08-19 16:36:59 +00:00
Mukund Sivaraman 03520624e6 Use ANSI declaration 2008-08-19 06:57:55 +00:00
Charles Kerr 812b6a1218 roll back the last two diffs (r6582 and r6583) in favor of a simpler/cleaner/better fix 2008-08-18 03:44:09 +00:00
Charles Kerr a16568db66 hudson-t is a wuss 2008-08-18 03:14:54 +00:00
Charles Kerr 0396d9691f (libT) better handling of non-ascii characters when parsing JSON files 2008-08-18 03:10:59 +00:00
Mitchell Livingston 26ef4c77f4 typo-- 2008-08-18 01:45:13 +00:00
Mitchell Livingston cf670a74b1 finish updating web ui inconsistent names, part 2 2008-08-18 01:42:57 +00:00
Mitchell Livingston d3abcdfefa #1160: finish updating web ui inconsistent names 2008-08-18 01:36:29 +00:00
Mitchell Livingston e018aa4a93 remove another unused file 2008-08-18 01:21:49 +00:00
Mitchell Livingston d1e2581d94 cli and daemon build in Xcode again 2008-08-18 01:08:35 +00:00
Mitchell Livingston 7795e4fbec fix pluralization of "address" 2008-08-17 22:51:56 +00:00
Mitchell Livingston 3472851f80 when checking the previous tracker address for the torrent creator, don't use a blank address 2008-08-17 22:50:02 +00:00
Mukund Sivaraman e44f96c88c Send UTF-8 characters straight out in the JSON without encoding further
The code still handles escaping of control characters and double quotes.

Bugs #1089, #1169 and #1190 may be fixed by this commit.
2008-08-17 21:53:24 +00:00
Mukund Sivaraman f4fb332a58 Fixing dependency (tr-core.c: tr-core-dbus.h) 2008-08-17 21:43:39 +00:00
Mukund Sivaraman 87513aa8f8 Add UTF-8 charset to Content-Type HTTP headers 2008-08-17 21:16:22 +00:00
Mitchell Livingston e7d449c83a remove unused applescript 2008-08-17 15:47:25 +00:00
Mitchell Livingston f20f90e7ca remove unneeded hardcoded default values 2008-08-17 14:13:13 +00:00
Mukund Sivaraman 4777a845b6 Use dbus even if the binding tool is not found
The bindings are shipped anyway.
2008-08-17 12:39:37 +00:00
Mukund Sivaraman 04d9cc1d54 Check for threads 2008-08-17 12:39:34 +00:00