]>
granicus.if.org Git - transmission/log
Charles Kerr [Mon, 5 Jan 2009 18:18:13 +0000 (18:18 +0000)]
(trunk libT) fix a minor memory leak reported by Valgrind
Charles Kerr [Mon, 5 Jan 2009 07:57:10 +0000 (07:57 +0000)]
(trunk libT) yet another step in the debugging cycle, crash report from ZogG and Rolcol
Charles Kerr [Mon, 5 Jan 2009 06:45:08 +0000 (06:45 +0000)]
(trunk libT) probably fix r7618 reported in #transmission by Rolcol
Charles Kerr [Mon, 5 Jan 2009 04:27:54 +0000 (04:27 +0000)]
(trunk libT) fix the much-hated "Assertion failed: (tr_isPeerIo( io ))". Also, repeated calls to tr_date() were taking up about 78% of the time in tr_stat(), so instead of calling multiple times, call it once in tr_stat() and pass that value around to the functions that need it.
Charles Kerr [Sun, 4 Jan 2009 18:30:34 +0000 (18:30 +0000)]
ensure that -ggdb3 is used if we're using gcc
Charles Kerr [Sun, 4 Jan 2009 18:01:15 +0000 (18:01 +0000)]
(trunk libT) minor speedup tweaks in peer-request hotspots
Charles Kerr [Sun, 4 Jan 2009 17:46:27 +0000 (17:46 +0000)]
(trunk libT) remove a small memory leak in the request-list unit test s.t. valgrind will be happy
Charles Kerr [Sun, 4 Jan 2009 16:59:15 +0000 (16:59 +0000)]
(trunk libT) minor tr_ptrArray API cleanup
Charles Kerr [Sun, 4 Jan 2009 16:58:09 +0000 (16:58 +0000)]
(trunk libT) forgot to "svn add" request-list-test.c before committing...
Mitchell Livingston [Sun, 4 Jan 2009 16:58:00 +0000 (16:58 +0000)]
the year is 2009
Charles Kerr [Sun, 4 Jan 2009 16:48:31 +0000 (16:48 +0000)]
(trunk libT) fix r7610 bug reported by BentMyWookie
Mitchell Livingston [Sun, 4 Jan 2009 16:30:25 +0000 (16:30 +0000)]
add request-list.[ch] to xcode project
Charles Kerr [Sun, 4 Jan 2009 16:29:44 +0000 (16:29 +0000)]
(trunk libT) new peer request fifo queue with log(N) search time. new unit tests for the queue. new utility tr_lowerBound()
Charles Kerr [Sun, 4 Jan 2009 04:37:47 +0000 (04:37 +0000)]
(trunk libT) remove unnecessary prototype
Charles Kerr [Sun, 4 Jan 2009 04:37:26 +0000 (04:37 +0000)]
(trunk libT) don't use void* when doing pointer math.
Charles Kerr [Sun, 4 Jan 2009 02:49:30 +0000 (02:49 +0000)]
(trunk libT) minor improvement to testing to see if two requests are equal
Charles Kerr [Sun, 4 Jan 2009 02:05:17 +0000 (02:05 +0000)]
(trunk libT) do scrape paused torrents.
Charles Kerr [Sun, 4 Jan 2009 02:01:57 +0000 (02:01 +0000)]
(trunk libT) don't scrape paused torrents.
Charles Kerr [Sun, 4 Jan 2009 00:33:50 +0000 (00:33 +0000)]
(trunk gtk) small typo fix as reported by via in http://forum.transmissionbt.com/viewtopic.php?f=1&t=6780
Charles Kerr [Sat, 3 Jan 2009 23:37:29 +0000 (23:37 +0000)]
(trunk cli) fix command-line arg mixup for encryption preference, reported by er13 and Whoopie
Charles Kerr [Sat, 3 Jan 2009 23:11:29 +0000 (23:11 +0000)]
(trunk libT) tr_torrentStat() speedups
Mitchell Livingston [Sat, 3 Jan 2009 21:47:28 +0000 (21:47 +0000)]
it's 2009
Mitchell Livingston [Sat, 3 Jan 2009 21:29:00 +0000 (21:29 +0000)]
shoo log
Mitchell Livingston [Sat, 3 Jan 2009 21:27:48 +0000 (21:27 +0000)]
only increment the tier count for valid tiers
Charles Kerr [Sat, 3 Jan 2009 07:23:26 +0000 (07:23 +0000)]
(trunk libT) experimental code to get more peers faster
Mitchell Livingston [Sat, 3 Jan 2009 06:06:21 +0000 (06:06 +0000)]
fix dock badging
Charles Kerr [Sat, 3 Jan 2009 05:07:45 +0000 (05:07 +0000)]
(trunk libT) fix r7594 typo
Charles Kerr [Sat, 3 Jan 2009 04:57:40 +0000 (04:57 +0000)]
(trunk libT) use ssize_t where appropriate in tr_peerIoFlush()
Charles Kerr [Sat, 3 Jan 2009 03:58:35 +0000 (03:58 +0000)]
(trunk libT) oh ffs
Charles Kerr [Sat, 3 Jan 2009 02:43:17 +0000 (02:43 +0000)]
(trunk libT) add "deep log" message to help track down freeze reported by the|Navigator. also, small + cheap speedup in tr_deepLoggingIsActive()
Charles Kerr [Sat, 3 Jan 2009 00:25:27 +0000 (00:25 +0000)]
(trunk libT) inline a few more torrent methods
Charles Kerr [Sat, 3 Jan 2009 00:11:31 +0000 (00:11 +0000)]
(trunk libT) inline the tr_bencIs*() utility functions
Charles Kerr [Fri, 2 Jan 2009 23:48:51 +0000 (23:48 +0000)]
(trunk libT) avoid unnecessary duplicate calls to tr_date() in tr_bandwidthUsed()
Charles Kerr [Fri, 2 Jan 2009 23:28:57 +0000 (23:28 +0000)]
(trunk libT) revert r7548, which broke very low speed download limits.. the simplified peer-msgs parsing didn't distinguish between piece & raw data until the piece was done downloading.
Charles Kerr [Fri, 2 Jan 2009 22:06:11 +0000 (22:06 +0000)]
(trunk libT) fix a typo that made jhujhiti giggle
Charles Kerr [Fri, 2 Jan 2009 21:50:51 +0000 (21:50 +0000)]
(trunk libT) commit some debugging messages that were added to trackdown the multicast filter issue
Erick Turnquist [Fri, 2 Jan 2009 21:45:55 +0000 (21:45 +0000)]
(trunk libT) use IN_MULTICAST macro
Charles Kerr [Fri, 2 Jan 2009 20:42:35 +0000 (20:42 +0000)]
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_ratecontrol, contain the it directly rather than a pointer to one allocated elsewhere on the heap.
Charles Kerr [Fri, 2 Jan 2009 20:25:48 +0000 (20:25 +0000)]
if we're building with gcc, add "-std=gnu99" to CFLAGS s.t. we get warnings for badly-formed inline functions
Charles Kerr [Fri, 2 Jan 2009 20:19:10 +0000 (20:19 +0000)]
(trunk libT) inline the ptrarray one-liners
Charles Kerr [Fri, 2 Jan 2009 20:12:23 +0000 (20:12 +0000)]
(trunk libT) make the tr_bandwidth macros into safer inline funcs. inline utils' one-liners.
Charles Kerr [Fri, 2 Jan 2009 19:56:06 +0000 (19:56 +0000)]
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_bandwidth, contain the it directly rather than a pointer to one allocated elsewhere on the heap.
Charles Kerr [Fri, 2 Jan 2009 17:46:22 +0000 (17:46 +0000)]
(trunk libT) inline parts of peer-io and bandwidth, too
Charles Kerr [Fri, 2 Jan 2009 17:01:55 +0000 (17:01 +0000)]
(trunk libT) avoid some unnecessary memory fragmentation... for composited objects that have a tr_completion, contain the it directly rather than a pointer to one allocated elsewhere on the heap.
Mitchell Livingston [Fri, 2 Jan 2009 15:53:53 +0000 (15:53 +0000)]
re-add turtle to bandwidth prefs tab
Charles Kerr [Fri, 2 Jan 2009 06:28:22 +0000 (06:28 +0000)]
(trunk libT) add "inline" hint to several one-liner functions
Charles Kerr [Fri, 2 Jan 2009 05:11:50 +0000 (05:11 +0000)]
* add autoconf test AC_C_INLINE to do the Right Thing for "inline", "__inline__", and "__inline".
* make tr_isAddress(), tr_isDirection(), and a bunch of the tr_torrent() macro functions into true inline functions
Charles Kerr [Fri, 2 Jan 2009 04:47:37 +0000 (04:47 +0000)]
(trunk libT) make tr_isAddress() and tr_isDirection() inline
Charles Kerr [Fri, 2 Jan 2009 04:46:38 +0000 (04:46 +0000)]
(trunk libT) very minor style cleanup in tr_bandwidthAllocate()
Mitchell Livingston [Fri, 2 Jan 2009 03:58:34 +0000 (03:58 +0000)]
remove deleted files from Makefile.am
Mitchell Livingston [Fri, 2 Jan 2009 03:57:28 +0000 (03:57 +0000)]
the speed limit turtle button uses a single turtle image (auto-generate blue image)
Mitchell Livingston [Fri, 2 Jan 2009 03:35:59 +0000 (03:35 +0000)]
make the toolbar images templates; auto-generate the blue highlight for selected toolbar buttons (thanks to Leopard)
Mitchell Livingston [Fri, 2 Jan 2009 02:41:54 +0000 (02:41 +0000)]
extremely trivial adjustments
Mitchell Livingston [Fri, 2 Jan 2009 01:10:54 +0000 (01:10 +0000)]
clean up the table text coloring code; trivial cleanup
Charles Kerr [Thu, 1 Jan 2009 18:38:49 +0000 (18:38 +0000)]
(trunk libT) Fix sparse warnings: symbol 'XXX' shadows an earlier one
Charles Kerr [Thu, 1 Jan 2009 18:36:58 +0000 (18:36 +0000)]
(trunk libT) Remove UNUSED attribute, the function argument is being used
Charles Kerr [Thu, 1 Jan 2009 18:35:21 +0000 (18:35 +0000)]
(trunk libT) Remove unused field: struct tr_peermsgs::peerSentBitfield
Erick Turnquist [Thu, 1 Jan 2009 00:34:44 +0000 (00:34 +0000)]
(trunk libT) < Rolcol> For example: I have a lot of addresses in the message
log as "funny looking address" as something like ::ffff:192.168.1.1
These were coming from pex6. Apparently there is a client out there that sends
us IPv4 peers in mapped form. It's valid, but a little strange...
Erick Turnquist [Thu, 1 Jan 2009 00:23:09 +0000 (00:23 +0000)]
(trunk libT) fix another endian oops
Erick Turnquist [Thu, 1 Jan 2009 00:15:15 +0000 (00:15 +0000)]
(trunk libT) fix endian oops in tr_suspectAddress()
Erick Turnquist [Wed, 31 Dec 2008 21:25:52 +0000 (21:25 +0000)]
(trunk libT) Stop trying to connect to multicast addresses. Also, bump "funny
looking address" messages from tr_dbg to tr_err so I can get bug reports with
the message for once!
Charles Kerr [Wed, 31 Dec 2008 21:15:22 +0000 (21:15 +0000)]
(trunk libT) take the timeout condition out of tr_bandwidthAllocate(). This may have the short-term effect of adding 1.41's `freeze' behavior into trunk for a bit. Yay!
Charles Kerr [Wed, 31 Dec 2008 18:08:13 +0000 (18:08 +0000)]
(trunk libT) improve piece verification speed by providing a larger buffer, and add a mechanism to reuse it when verifying an entire torrent at once.
Charles Kerr [Wed, 31 Dec 2008 14:29:28 +0000 (14:29 +0000)]
(trunk libT) make the evbuffer pool threadsafe
Charles Kerr [Wed, 31 Dec 2008 14:28:20 +0000 (14:28 +0000)]
(trunk libT) this diff has held #1631 at bay for 18 hours now... is it finally fixed? :)
Charles Kerr [Wed, 31 Dec 2008 13:51:25 +0000 (13:51 +0000)]
(trunk daemon) #1619: add __UCLIBC__ test based on feedback from irc user "Whoopie"
Charles Kerr [Tue, 30 Dec 2008 22:32:42 +0000 (22:32 +0000)]
(trunk wx) patch from fulgas to get wx client building again
Charles Kerr [Tue, 30 Dec 2008 22:26:05 +0000 (22:26 +0000)]
(trunk daemon) another patch from er13 for ticket #1618
Charles Kerr [Tue, 30 Dec 2008 22:19:52 +0000 (22:19 +0000)]
(trunk libT) fix a couple of minor memory leaks
Charles Kerr [Tue, 30 Dec 2008 22:07:39 +0000 (22:07 +0000)]
(trunk libT) have tr_bencSaveAsJSON() use an evbuffer
Charles Kerr [Tue, 30 Dec 2008 21:18:30 +0000 (21:18 +0000)]
(trunk libT) blockIteratorNew() was overallocating much more memory than it used.
Charles Kerr [Tue, 30 Dec 2008 20:40:48 +0000 (20:40 +0000)]
(trunk libT) patch from wereHamster to recycle the zlib deflate stream s.t. we don't have to keep reallocating it
Charles Kerr [Tue, 30 Dec 2008 20:32:00 +0000 (20:32 +0000)]
(trunk libT) have a pool of reusable evbuffers
Charles Kerr [Tue, 30 Dec 2008 19:44:49 +0000 (19:44 +0000)]
(trunk libT) patch from wereHamster to simplify BT message parsing
Charles Kerr [Tue, 30 Dec 2008 18:18:34 +0000 (18:18 +0000)]
(trunk daemon) #1618: patch from er13 to make transmission-daemon's encryption, port, and peer limit command-line arguments similar to transmission-remote's
Charles Kerr [Tue, 30 Dec 2008 08:25:39 +0000 (08:25 +0000)]
(trunk libT) use a static buffer for fillOutputBuffer()
Charles Kerr [Tue, 30 Dec 2008 08:20:16 +0000 (08:20 +0000)]
(trunk libT) remove obsolete tr_peerMgr.c's getConnectedPeers()
Charles Kerr [Tue, 30 Dec 2008 03:45:12 +0000 (03:45 +0000)]
(trunk libT) #1632: bandwidth.c: 428: tr_bandwidthUsed: Assertion `tr_isBandwidth( b )' failed
Charles Kerr [Tue, 30 Dec 2008 03:29:09 +0000 (03:29 +0000)]
(trunk libT) eliminate a couple more unnecessary malloc() + free() pairs
Charles Kerr [Tue, 30 Dec 2008 02:48:31 +0000 (02:48 +0000)]
(trunc macosx) #1643: more Makefile.am tweaks
Charles Kerr [Tue, 30 Dec 2008 02:43:51 +0000 (02:43 +0000)]
(trunk libT) minor cleanup: use symbolic name instead of magic numbers; use tr_bool instead of int
Charles Kerr [Tue, 30 Dec 2008 02:42:45 +0000 (02:42 +0000)]
(trunk libT) fix r7535 bug reported by Rolcol
Charles Kerr [Tue, 30 Dec 2008 02:36:17 +0000 (02:36 +0000)]
(trunk libT) avoid an unnecessary evbuffer_new() + evbuffer_free() pair in message logging
Charles Kerr [Tue, 30 Dec 2008 01:58:16 +0000 (01:58 +0000)]
(trunk mac) #1643: leftover dependency on CTGradient
Charles Kerr [Tue, 30 Dec 2008 01:55:43 +0000 (01:55 +0000)]
(trunk daemon) #1642: fix bug in auth & no-auth command-line options
Charles Kerr [Tue, 30 Dec 2008 01:02:53 +0000 (01:02 +0000)]
(trunk libT) probable fix for #1631
Charles Kerr [Tue, 30 Dec 2008 00:56:10 +0000 (00:56 +0000)]
(trunk libT) avoid a few more unnecessary malloc() + free() pairs
Charles Kerr [Mon, 29 Dec 2008 21:19:31 +0000 (21:19 +0000)]
(trunk libT) fix obsolete `iobuf' reference. (wereHamster)
Charles Kerr [Mon, 29 Dec 2008 21:17:48 +0000 (21:17 +0000)]
(trunk libT) use torrent's unique ID as the torrent's lookup key
Charles Kerr [Mon, 29 Dec 2008 19:02:12 +0000 (19:02 +0000)]
(trunk libT) simplify web.c's remove_finished_tasks() a bit
Charles Kerr [Mon, 29 Dec 2008 19:01:47 +0000 (19:01 +0000)]
(trunk libT) omit unnecessary malloc/free calls in peer-io
Charles Kerr [Mon, 29 Dec 2008 18:12:25 +0000 (18:12 +0000)]
this should've been in r7529
Charles Kerr [Mon, 29 Dec 2008 18:11:56 +0000 (18:11 +0000)]
(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.
Charles Kerr [Mon, 29 Dec 2008 18:10:07 +0000 (18:10 +0000)]
(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.
Charles Kerr [Mon, 29 Dec 2008 17:28:14 +0000 (17:28 +0000)]
(trunk libT) recycle the tr_list nodes when possible
Charles Kerr [Mon, 29 Dec 2008 16:34:59 +0000 (16:34 +0000)]
Add "SD" to the clients list as Xunlei as reported by malucas72 in the forums.
Charles Kerr [Mon, 29 Dec 2008 09:51:54 +0000 (09:51 +0000)]
(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.
Charles Kerr [Mon, 29 Dec 2008 08:54:36 +0000 (08:54 +0000)]
(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.
Charles Kerr [Mon, 29 Dec 2008 07:51:09 +0000 (07:51 +0000)]
(trunk libT) revert #7517 since it didn't do any good. disable http connection reuse.
Mitchell Livingston [Mon, 29 Dec 2008 03:03:11 +0000 (03:03 +0000)]
small improvement to the group filtering code