Commit Graph

6263 Commits

Author SHA1 Message Date
Charles Kerr 94a491aefb (trunk libT) remove unused functions tr_list_insert_sorted(), tr_list_foreach(). make tr_list_find_data() private. 2008-12-22 17:35:10 +00:00
Charles Kerr 2c88e0b3d1 (trunk gtk) #1447: Launchpad translations need comment for strings with non-standard context 2008-12-22 05:47:05 +00:00
Charles Kerr e44239fc4e (trunk gtk) #1585: use g_timeout_add_seconds() where appropriate to group timers together for fewer scheduled wakeups 2008-12-22 05:39:03 +00:00
Charles Kerr d142a075c4 (trunk libT) fix a Windows portability bug reported by Alexey 2008-12-22 05:19:52 +00:00
Charles Kerr 1310fea91e (trunk libT) peer-io.c: remove dead code and get rid of a couple of GOTOs 2008-12-22 04:55:07 +00:00
Charles Kerr acdd8c860c (trunk libT) minor cleanups found while diffing for backport to 1.4x in r7455 2008-12-22 00:52:44 +00:00
Charles Kerr 32a9006121 (trunk wx) get the wx client mostly building again. 2008-12-21 20:02:21 +00:00
Charles Kerr 32ebb868e7 (trunk libT) one more ACL warning 2008-12-21 19:35:38 +00:00
Charles Kerr d39354c306 (trunk libT) add html and console hints about whitelist status & configuration 2008-12-21 19:23:41 +00:00
Erick Turnquist 38efb62100 add some debugging stuff to track down where some bogus addresses are coming from 2008-12-21 19:13:52 +00:00
Charles Kerr 2b0ece7614 (trunk libT) remove tr_peermsgs.minActiveRequests based on wereHamster's feedback 2008-12-21 18:31:28 +00:00
Charles Kerr 8556ce653f (trunk libT) comments, tr_bool correctness, better runtime tests. 2008-12-21 18:15:00 +00:00
Charles Kerr fefa352b11 (trunk libT) remove unused PEER_PULSE_INTERVAL 2008-12-21 17:51:46 +00:00
Mitchell Livingston 6116b34c94 always show proper text for the orange resume button 2008-12-21 02:45:55 +00:00
Charles Kerr f77ae353bb (trunk) configure.ac portability tweak suggested by fulgas 2008-12-21 00:22:41 +00:00
Charles Kerr cb5d259f21 (trunk libT) fix an r7441 function pointer error reported by fulgas in #transmission 2008-12-21 00:05:54 +00:00
Charles Kerr 72ded3b272 try to rework the bandwidth code yet again s.t. it satisfies all three: (1) fairly distributes bandwidth across all peers, (2) scales well in high-bandwidth situations, (3) is good at hitting and staying at bandwidth limits/goals 2008-12-20 22:19:34 +00:00
Mitchell Livingston efa404ff25 more thorough check of files in a folder when attempting to trash it 2008-12-20 19:12:09 +00:00
Erick Turnquist a68764fcba (trunk libT) Don't log two "errors" we expect to see from time-to-time.
EAFNOSUPPORT: On OS X, socket() incorrectly throws EAFNOSUPPORT for certain
IP/Port combinations. There is nothing we can do about this.

ENETUNREACH: #1606 is evidence that some trackers return IPv6 peers when
contacted over IPv4. This code will silently ignore "network unreachable"
errors for IPv6 connections.
2008-12-20 08:51:32 +00:00
Erick Turnquist 49b84fb805 (trunk libT) make sure we don't block IPv6 peers, which aren't included in bluetack bocklists 2008-12-20 02:56:44 +00:00
Mitchell Livingston 33633f5ce1 set message level appropriately on launch 2008-12-20 02:24:38 +00:00
Erick Turnquist 72ee19dcca (trunk libT) Refactor ipv6 bind socket check
This will let the RPC server use the same test mechanism eventually. Networking code belongs in net.c anyway.
2008-12-18 05:55:22 +00:00
Charles Kerr 53b730420f another test commit for vraa.. this is just an experiment; probably eats a lot of memory 2008-12-18 03:27:07 +00:00
Charles Kerr d4b4f39754 test commit for vraa 2008-12-18 03:22:08 +00:00
Charles Kerr d125ebd86a (trunk libT) turn off some testing log messages 2008-12-17 14:15:19 +00:00
Charles Kerr 3a61b0c6eb (trunk libT) tweak the new peer IO code a bit to handle EINPROGRESS 2008-12-17 13:29:03 +00:00
Charles Kerr de24179d05 (trunk libT) fix assertion error reported by Rolcol earlier today in #transmission 2008-12-17 03:38:02 +00:00
Charles Kerr fc8ac40bfc (trunk) autoconf's "debug mode" should base its default value on whether this is a branded release or an unofficial build. 2008-12-17 03:36:37 +00:00
Mitchell Livingston e4178e8f09 remove a space from an email address in credits 2008-12-17 02:53:01 +00:00
Mitchell Livingston 0cb3a858c1 invert that last commit 2008-12-17 02:21:02 +00:00
Mitchell Livingston d3e8165c83 cleanup for the group menu filling adjustment 2008-12-17 02:19:14 +00:00
Mitchell Livingston 37c9e00aae get rid of an unnecessary class 2008-12-17 02:13:49 +00:00
Erick Turnquist be4dc0d674 (trunk libT) use an enum tr_address_type instead of uint8_t for tr_address.type 2008-12-17 01:39:24 +00:00
Charles Kerr 2e60cd3a33 use -g unconditionally 2008-12-17 01:11:35 +00:00
Charles Kerr 1a7ab297ea (trunk libT) more runtime safety checks 2008-12-16 23:31:05 +00:00
Charles Kerr 69b8caa93b (trunk libT) yet another assertion commit 2008-12-16 22:52:04 +00:00
Charles Kerr 15ecde281b (trunk libT) fix jhujhiti's pex crash 2008-12-16 22:28:19 +00:00
Erick Turnquist f5a2dc2126 unfuck the mac build 2008-12-16 22:10:54 +00:00
Charles Kerr a94e104040 (trunk libT) really fuck up the peer i/o code. also this breaks the mac build until someone removes iobuf.c from libtransmission's list of files. 2008-12-16 22:08:17 +00:00
Charles Kerr 54f0eee2bb (trunk) stdisease's --enable-debug configure patch. also, replace deprecated AC_HELP_STRING calls 2008-12-16 21:56:13 +00:00
Erick Turnquist 2d427751d6 fix another bad assert *eyes charles* 2008-12-16 21:44:53 +00:00
Erick Turnquist 0a2c5efb65 Fix "ISO C90 forbids mixed declarations and code" 2008-12-16 21:35:14 +00:00
Erick Turnquist 86257e03f1 Fix tr_isAddress() 2008-12-16 21:28:06 +00:00
Charles Kerr 31e49df302 (trunk libT) add a similar check to the peer->addr in the place where crash is occurring 2008-12-16 21:12:14 +00:00
Charles Kerr de5228c415 (trunk libT) more runtime safety checks 2008-12-16 21:06:47 +00:00
Charles Kerr 56663b860b (trunk libT) add more startup debug messages in the RPC server 2008-12-16 16:13:21 +00:00
Charles Kerr ff1fddbadc (trunk daemon) fix daemon connectivity error introduced in r7366 2008-12-16 15:27:07 +00:00
Charles Kerr 748a9f1c92 (trunk libT) add some assertions to tr_compareAddresses() 2008-12-16 06:46:27 +00:00
Charles Kerr 3739f5c72c (trunk libT) fix oops: accidentally committed an fprintf() debug message. hi, titer. 2008-12-16 06:35:51 +00:00
Mitchell Livingston 6cb8b015de allow the inspector - peer's ip address field to be resized to a much larger size (to accommodate IPv6 addresses) 2008-12-16 01:13:16 +00:00