Commit Graph

55 Commits

Author SHA1 Message Date
Jordan Lee 1b825079be (trunk libT) API cleanup of the tr_address functions to make them more consistent.
This is loosely related to #2910, but only in the sense of laying the groundwork for #2910's fix...
2011-03-25 05:34:26 +00:00
Jordan Lee 1304aa0079 (trunk libT) still fiddling around with #includes -- this time removing unncecessary libT includes from libT .c files 2011-03-25 01:41:57 +00:00
Jordan Lee 375694eda9 (trunk) copyediting: remove some unneeded #includes, and annotate some needed ones 2011-03-24 21:49:42 +00:00
Jordan Lee b4d36aeb54 (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
Jordan Lee e187ae58a9 (trunk libT) #4016 "blocklists don't handle overlapping/unsorted rules" -- fixed. 2011-02-13 16:14:31 +00:00
Jordan Lee 8a6f768999 (trunk libT) rename "tr_ip_range" as "tr_ipv4_range" in blocklist.c 2011-02-12 21:20:19 +00:00
Jordan Lee 879a2afcbd Update the copyright year in the source code comments.
The Berne Convention says that the copyright year is moot, so instead of adding another year to each file as in previous years, I've removed the year altogether from the source code comments in libtransmission, gtk, qt, utils, daemon, and cli.

Juliusz's copyright notice in tr-dht and Johannes' copyright notice in tr-lpd have been left alone; it didn't seem appropriate to modify them.
2011-01-19 13:48:47 +00:00
Charles Kerr e5bb3205a1 (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00
Charles Kerr 9335e02e6d (trunk libT) add some new bugs to the code so that it will crash when vraa tries to use it 2010-11-11 15:31:11 +00:00
Charles Kerr d2837efc71 (trunk libT) anal correctness fix in the blocklist comments 2010-11-07 02:53:50 +00:00
Charles Kerr 92620b72b0 (trunk) #3697 "make blocklist URL configurable" -- implemented in GTK+, Qt, and RPC 2010-10-31 17:16:12 +00:00
Charles Kerr 7b3757f6ad (trunk libT) fix compiler warnings on non-glibc systems 2010-08-06 23:28:30 +00:00
Charles Kerr 2c85178f9b (trunk libT) fix a few -Wconversion warnings 2010-07-01 15:14:35 +00:00
Charles Kerr 98cec85e46 (trunk libT) #3311 "MingW build of Transmission" -- apply further win32 diffs from rb07 2010-06-25 20:36:10 +00:00
Charles Kerr 5ad7ed550f (trunk) more win32 fixes from rb07 in #3311 2010-06-22 00:12:52 +00:00
Charles Kerr 3ae99f79ec (trunk libT) #3293 "fggets() is overkill for parsing the blocklist" -- fixed in trunk for 2.00 2010-06-15 00:38:10 +00:00
Charles Kerr 58b5ef9065 (trunk libT) #3247 "add blocklist support for pipfilter file format" -- implemented in trunk for 2.00 2010-05-31 11:38:36 +00:00
Mitchell Livingston 7949e4df47 more logging to try to smoke out #3041 2010-05-02 18:03:49 +00:00
Mitchell Livingston c006457d26 whoops 2010-04-30 23:00:16 +00:00
Mitchell Livingston 12275ccc10 #3041 remove the code to skip lines with unreadable characters (this was skipping valid lines); add temporary extra debugging 2010-04-30 22:58:03 +00:00
Charles Kerr 37663cf9e3 (trunk libT) #3041 "Blocklist - bad peers decreases after update; corrupt error messages" -- fix r10533 oops. fggets() doesn't strip linefeeds, so when filtering out lines with nonprintable characters, a line shouldn't fail the test just because or \r or \n. :) 2010-04-28 14:51:38 +00:00
Charles Kerr 3845a60c2f (trunk libT) #3041 "Blocklist - bad peers decreases after update; corrupt error messages" -- better error messages when fed unprintable characters 2010-04-27 03:58:25 +00:00
Charles Kerr 5c26afdb52 happy new year! 2010-01-04 21:00:47 +00:00
Charles Kerr e7baa2b480 (trunk libT) maybe fix that blocklist crash John_Clay reports about once a month 2009-12-14 18:47:45 +00:00
Charles Kerr 78ead8c3dd (trunk) update the copyright notices 2009-12-05 02:19:24 +00:00
Charles Kerr fe816d8135 (trunk) update the GPL code's copyright dates 2009-01-10 23:09:07 +00:00
Charles Kerr 2eb2dacd50 (trunk libT) Fix sparse warnings: symbol 'XXX' shadows an earlier one 2009-01-01 18:38:49 +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
Charles Kerr 9594112d27 updated email address 2008-12-16 00:20:44 +00:00
Charles Kerr 2efe49c2eb (trunk libT) better fix for the previous commit 2008-12-09 21:39:05 +00:00
Charles Kerr b4470fff72 (trunk libT) fix blocklist.c build error on cygwin by adding #include <errno.h>. reported by stdisease 2008-12-09 21:31:03 +00:00
Charles Kerr 3bc08c53f0 (libT) #1552: Blocklists fail when Windows newlines are present 2008-12-03 05:28:09 +00:00
Charles Kerr 0d5fed6442 (libT) re-apply jhujhiti's IPv6 patch. This merges in my tr_port cleanup, so any new bugs are mine :/ 2008-12-02 03:41:58 +00:00
Charles Kerr 7fa9813955 (libT) #252: revert r7195 (jhujhiti's IPv6 test patch). It seems to be the culprit in a `thrashing' issue reported by Waldorf and m1b in irc -- the behavior appeared between r7183 and r7187 -- so this commit is to trigger off a nightly build w/o the patch to test with in irc. 2008-12-01 20:21:06 +00:00
Charles Kerr a2ad4f6543 (libT) patch from jhujhiti to add ipv6 support. 2008-11-30 00:47:18 +00:00
Charles Kerr d12af295c1 use tr_bool instead of C bitfields. (http://blogs.msdn.com/oldnewthing/archive/2008/11/26/9143050.aspx) 2008-11-28 22:11:41 +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 cc89872dd4 run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened 2008-09-23 19:11:04 +00:00
Mukund Sivaraman 68a6c95d1c (win32) Add mmap implementation 2008-09-05 14:31:52 +00:00
Charles Kerr 51aff87443 lots of C correctness tweaks suggested by sparse/cgcc 2008-08-11 19:05:02 +00:00
Charles Kerr d5335b710b Update NEWS file to say the Clutch rewrite's been folded into Transmission. 2008-07-11 17:09:53 +00:00
Charles Kerr f0229ed8ad (libT) allow custom blocklists... now all you need to do is place a file in the blocklists/ folder and Transmission will automatically use it the next time it starts. 2008-06-11 16:15:45 +00:00
Charles Kerr f61205e708 fix svn id property 2008-05-28 17:17:12 +00:00
Charles Kerr 2c79888a93 RPC/IPC redesign 2008-05-18 16:44:30 +00:00
Charles Kerr 6d52fa6856 don't flood the message log when you don't have a blocklist 2008-04-05 16:45:35 +00:00
Charles Kerr 5890eaef34 encapsulate the blocklist a little better so that we can add more blocklists in the future if necessary 2008-04-01 19:20:21 +00:00
Charles Kerr a331582ec0 string folding 2008-03-30 13:52:55 +00:00
Charles Kerr ef534cbb51 blocklist cleanup 2008-03-30 13:22:45 +00:00
Charles Kerr 24d35e7098 added tr_blocklistGetRuleCount(). 2008-03-30 00:00:28 +00:00
Mitchell Livingston 1c25dca676 remove redundant include that snuck in from my test build 2008-03-29 23:43:08 +00:00