Commit Graph

1336 Commits

Author SHA1 Message Date
Mitchell Livingston 1d40202bfc string folding and dead code removal 2008-04-06 04:16:05 +00:00
Charles Kerr fc091499cb translators shouldn't have to translate debug messages 2008-04-06 00:38:18 +00:00
Charles Kerr 8930e63e8b #840: bencode.c (and others) does not compile without libintl.h 2008-04-05 20:49:51 +00:00
Mitchell Livingston fad4e528fe store mac support files in the right location 2008-04-05 20:27:13 +00:00
Charles Kerr b71a2985b3 #684: Use XDG basedir spec for configuration and cache files in $HOME 2008-04-05 20:12:11 +00:00
Charles Kerr 16880cee99 #765, part 1: add backend support for disabling tracker scrapes 2008-04-05 16:49:26 +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 0080f1abe8 ipc/daemon cleanup 2008-04-04 17:19:44 +00:00
Mitchell Livingston 8adc5de554 small rearrangement in clients list; update NEWS 2008-04-04 01:45:32 +00:00
Charles Kerr e61af54481 #837: portability patch submitted by naddy 2008-04-04 01:21:36 +00:00
Charles Kerr fd0e71c00a hack on IPC a bit because it's been too long since I broke it 2008-04-03 21:38:32 +00:00
Charles Kerr 9c93ac23b0 fix one cause of slow shutdown: even if we weren't using natpmp, we would wait on it... 2008-04-01 19:52:21 +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 eb24ad760d (1) make tr_torrentRates() faster.
(2) new function: tr_torrentGetStatus() for when you need the status but not the overhead of tr_stat
2008-04-01 02:35:04 +00:00
Charles Kerr 3e4168025b experimental commit to save 1888 bytes from each tr_torrent 2008-03-31 19:34:20 +00:00
Charles Kerr 51a82e70c1 remove `TR_STATUS_DONE' from libtransmission's public API. It's useful as an internal state but not for code calling libtransmission. 2008-03-31 17:59:16 +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 def9d1a492 better logging of blocked IP addresses. 2008-03-30 00:57:55 +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
Mitchell Livingston 7fdb2f6f40 first implementation of the blocklist 2008-03-29 23:38:38 +00:00
Charles Kerr a09b43a4b4 add tr_blocklistIsEnabled(), tr_blocklistSetEnabled(). add a blocklist flag to tr_initFull(). 2008-03-29 23:12:34 +00:00
Charles Kerr e5b04e45d5 add tr_blocklistExists( const tr_handle * ); 2008-03-29 22:16:33 +00:00
Charles Kerr a20bb8d569 get the blocklist code working & add a unit test for it. 2008-03-29 21:05:51 +00:00
Charles Kerr e7ba6b7b15 first (and incomplete) pass at peer blocking. this commit is to get the API into SVN so the mac client can access them 2008-03-29 18:37:07 +00:00
Charles Kerr 8659c755d8 change ptrarray.[ch] license to MIT so that bencode, which relies on it, can be used in other projects w/o GPL 2008-03-25 19:49:32 +00:00
Charles Kerr 39a7583f82 rename tr_httpParseUrl() -> tr_httpParseURL() 2008-03-24 19:29:25 +00:00
Charles Kerr 919eefe456 rework the makemeta error messages so that they can be i18nized on the client end. 2008-03-24 17:18:08 +00:00
Charles Kerr b3663db916 #811: fix r5329 error in trunk. 2008-03-24 16:10:04 +00:00
Charles Kerr 910d77ae12 (#814) require a valid announce URL when creating torrents 2008-03-24 15:58:06 +00:00
Charles Kerr c6d57fcdbe save a few bytes from each torrent by removing some vestigal rate control locks 2008-03-23 20:54:54 +00:00
Charles Kerr 36689ca7c3 #809: reduce memory overhead in tr_info structure 2008-03-23 03:15:05 +00:00
Charles Kerr 2ca35e1ea7 allow NULL as the second argument to tr_torrentFiles() 2008-03-22 18:27:29 +00:00
Charles Kerr c63b548195 fix bug that caused very large torrents to crash Transmission 2008-03-22 18:10:59 +00:00
Charles Kerr ca9a75d4aa (gtk) fix minor terminology inconsistencies between the "new torrent" and "details" dialogs 2008-03-19 20:34:35 +00:00
Charles Kerr 531dd851ad more string work before the freeze. (1) use %'d to get thousands' grouping in end-user strings (2) follow HiG capitalization, quotation guidelines (3) fold a few more strings 2008-03-19 20:07:27 +00:00
Charles Kerr 54ad103053 minor `verify' cleanup 2008-03-19 14:56:47 +00:00
Charles Kerr e7316dbc34 yet more string massaging 2008-03-19 02:16:07 +00:00
Charles Kerr d9b33a7055 change that 20 second interval to a 5 second interval 2008-03-18 19:38:39 +00:00
Charles Kerr f92c5fd502 demote the nat-pmp `try again' message to dbg 2008-03-18 19:34:44 +00:00
Charles Kerr cb854bd4cc #798: 1.06's handling of tracker http 301 redirects can cause a huge strain on tracker 2008-03-18 19:33:08 +00:00
Mitchell Livingston 128fa0aedf Put in function for localization (as suggested on the cocoa dev list) and comment it out because i can't get it working as desired yet. 2008-03-18 19:18:22 +00:00
Charles Kerr 21124a8de8 strings work: (1) folding similar strings together for easier tranlation (2) gtk: use consistent shortcuts/phrases/terminology between the preferences and "open torrent" dialogs (3) promote the port forwarding messages from Debug to Info as per BMW's request 2008-03-18 19:14:21 +00:00
Charles Kerr 4fa1da4ee8 #781: (1) fix overreporting corrupt data, and (2) fix bug added in r5172 that didn't handle sent request TTL correctly, causing too many dupliate block requests. 2008-03-18 17:46:29 +00:00
Charles Kerr 56364f2ae8 add a tr_errno specifically for failed checksums so they can be differentiated from "Generic error" 2008-03-18 17:02:08 +00:00
Charles Kerr 05c6938f5a changes to message logging: (1) bring back "Torrent hasn't responded yet", but only in the message log. (2) make PEX messages debug. (3) log a message when a torrent reaches completion. 2008-03-18 16:56:01 +00:00
Charles Kerr 913f2843b2 #740: back out the previous "fix" because it caused an regression in the mac client 2008-03-18 16:26:45 +00:00
Charles Kerr ec34995cff make the port forwarding error message text a little more helpful 2008-03-18 02:30:35 +00:00
Charles Kerr d8fa1dff77 if libevent logs an error message, send it to our message log via tr_nerr() 2008-03-18 02:23:39 +00:00