Commit Graph

6383 Commits

Author SHA1 Message Date
Mitchell Livingston bf1a2c1811 shoo log 2009-01-03 21:29:00 +00:00
Mitchell Livingston cc8e16ed20 only increment the tier count for valid tiers 2009-01-03 21:27:48 +00:00
Charles Kerr 78cf80d3c0 (trunk libT) experimental code to get more peers faster 2009-01-03 07:23:26 +00:00
Mitchell Livingston d4010f4abd fix dock badging 2009-01-03 06:06:21 +00:00
Charles Kerr 7fcad8a45b (trunk libT) fix r7594 typo 2009-01-03 05:07:45 +00:00
Charles Kerr 5afd327b15 (trunk libT) use ssize_t where appropriate in tr_peerIoFlush() 2009-01-03 04:57:40 +00:00
Charles Kerr 1e77d1313e (trunk libT) oh ffs 2009-01-03 03:58:35 +00:00
Charles Kerr dfa0622a6c (trunk libT) add "deep log" message to help track down freeze reported by the|Navigator. also, small + cheap speedup in tr_deepLoggingIsActive() 2009-01-03 02:43:17 +00:00
Charles Kerr 0d2d375125 (trunk libT) inline a few more torrent methods 2009-01-03 00:25:27 +00:00
Charles Kerr cee6610ebb (trunk libT) inline the tr_bencIs*() utility functions 2009-01-03 00:11:31 +00:00
Charles Kerr c86780de8b (trunk libT) avoid unnecessary duplicate calls to tr_date() in tr_bandwidthUsed() 2009-01-02 23:48:51 +00:00
Charles Kerr 49f46dcddb (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. 2009-01-02 23:28:57 +00:00
Charles Kerr 4addf02246 (trunk libT) fix a typo that made jhujhiti giggle 2009-01-02 22:06:11 +00:00
Charles Kerr d756d6b58f (trunk libT) commit some debugging messages that were added to trackdown the multicast filter issue 2009-01-02 21:50:51 +00:00
Erick Turnquist 5086cbe47c (trunk libT) use IN_MULTICAST macro 2009-01-02 21:45:55 +00:00
Charles Kerr 86d3e70121 (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. 2009-01-02 20:42:35 +00:00
Charles Kerr 8318642989 if we're building with gcc, add "-std=gnu99" to CFLAGS s.t. we get warnings for badly-formed inline functions 2009-01-02 20:25:48 +00:00
Charles Kerr d202c5ecea (trunk libT) inline the ptrarray one-liners 2009-01-02 20:19:10 +00:00
Charles Kerr 5e9af46612 (trunk libT) make the tr_bandwidth macros into safer inline funcs. inline utils' one-liners. 2009-01-02 20:12:23 +00:00
Charles Kerr b41cf9f231 (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. 2009-01-02 19:56:06 +00:00
Charles Kerr 73f500e5be (trunk libT) inline parts of peer-io and bandwidth, too 2009-01-02 17:46:22 +00:00
Charles Kerr 199e38dd66 (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. 2009-01-02 17:01:55 +00:00
Mitchell Livingston 06d9314be4 re-add turtle to bandwidth prefs tab 2009-01-02 15:53:53 +00:00
Charles Kerr d6b4db4a78 (trunk libT) add "inline" hint to several one-liner functions 2009-01-02 06:28:22 +00:00
Charles Kerr 5e806dc816 * 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
2009-01-02 05:11:50 +00:00
Charles Kerr 0cd572a0da (trunk libT) make tr_isAddress() and tr_isDirection() inline 2009-01-02 04:47:37 +00:00
Charles Kerr 8eda177838 (trunk libT) very minor style cleanup in tr_bandwidthAllocate() 2009-01-02 04:46:38 +00:00
Mitchell Livingston 461ecff904 remove deleted files from Makefile.am 2009-01-02 03:58:34 +00:00
Mitchell Livingston 0b4f9e8357 the speed limit turtle button uses a single turtle image (auto-generate blue image) 2009-01-02 03:57:28 +00:00
Mitchell Livingston a5a04ebb2a make the toolbar images templates; auto-generate the blue highlight for selected toolbar buttons (thanks to Leopard) 2009-01-02 03:35:59 +00:00
Mitchell Livingston 94600c6cf8 extremely trivial adjustments 2009-01-02 02:41:54 +00:00
Mitchell Livingston b97fa09270 clean up the table text coloring code; trivial cleanup 2009-01-02 01:10:54 +00:00
Charles Kerr 2eb2dacd50 (trunk libT) Fix sparse warnings: symbol 'XXX' shadows an earlier one 2009-01-01 18:38:49 +00:00
Charles Kerr 82c5aca513 (trunk libT) Remove UNUSED attribute, the function argument is being used 2009-01-01 18:36:58 +00:00
Charles Kerr e5fc032d9c (trunk libT) Remove unused field: struct tr_peermsgs::peerSentBitfield 2009-01-01 18:35:21 +00:00
Erick Turnquist e9f32d7523 (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...
2009-01-01 00:34:44 +00:00
Erick Turnquist bd5463a37e (trunk libT) fix another endian oops 2009-01-01 00:23:09 +00:00
Erick Turnquist 37ac4b3fbf (trunk libT) fix endian oops in tr_suspectAddress() 2009-01-01 00:15:15 +00:00
Erick Turnquist 50d73a884f (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!
2008-12-31 21:25:52 +00:00
Charles Kerr 618949aded (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! 2008-12-31 21:15:22 +00:00
Charles Kerr 5381e20e9b (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. 2008-12-31 18:08:13 +00:00
Charles Kerr 2ea88f30f5 (trunk libT) make the evbuffer pool threadsafe 2008-12-31 14:29:28 +00:00
Charles Kerr 217d3d3c91 (trunk libT) this diff has held #1631 at bay for 18 hours now... is it finally fixed? :) 2008-12-31 14:28:20 +00:00
Charles Kerr aae21f8a72 (trunk daemon) #1619: add __UCLIBC__ test based on feedback from irc user "Whoopie" 2008-12-31 13:51:25 +00:00
Charles Kerr a48aab259c (trunk wx) patch from fulgas to get wx client building again 2008-12-30 22:32:42 +00:00
Charles Kerr 47bb6a0438 (trunk daemon) another patch from er13 for ticket #1618 2008-12-30 22:26:05 +00:00
Charles Kerr 1bcc998694 (trunk libT) fix a couple of minor memory leaks 2008-12-30 22:19:52 +00:00
Charles Kerr 6bec82d0a6 (trunk libT) have tr_bencSaveAsJSON() use an evbuffer 2008-12-30 22:07:39 +00:00
Charles Kerr 71864c18e2 (trunk libT) blockIteratorNew() was overallocating much more memory than it used. 2008-12-30 21:18:30 +00:00
Charles Kerr 20e1222078 (trunk libT) patch from wereHamster to recycle the zlib deflate stream s.t. we don't have to keep reallocating it 2008-12-30 20:40:48 +00:00