Commit Graph

9994 Commits

Author SHA1 Message Date
Jordan Lee 7ce0cf2322 code cleanup for tr_peerMgrTorrentAvailability().
1. move responsibility for getting a thread lock back to the public API fucntion, tr_torrentAvailability().
2. if the torrent doesn't have metadata, stop after zeroing out the table
3. minor code formatting cleanup
2011-01-18 22:51:29 +00:00
Jordan Lee 7f01f0c3ee #3911: tr_peerMgrTorrentAvailability() doesn't sample across the entire torrent' -- fixed. 2011-01-18 22:21:09 +00:00
Mitchell Livingston 246bd4a84b tweak COPYING 2011-01-18 04:02:06 +00:00
Jordan Lee bcc8b62106 the text in the last change was weak. 2011-01-18 03:53:53 +00:00
Jordan Lee 8375949c68 tweak gtk+ section... lots of little fixes there 2011-01-18 03:50:36 +00:00
Mitchell Livingston d01cc0c445 grammar fix 2011-01-18 03:47:59 +00:00
Mitchell Livingston ede3d2bac2 update strings file 2011-01-18 03:43:57 +00:00
Mitchell Livingston a9f55a4eb5 update NEWS 2011-01-18 02:46:58 +00:00
Jordan Lee dd77485d83 (trunk libT) demote the remaining lazy-verify debug messages from the debug window to deep logging 2011-01-18 02:17:47 +00:00
Jordan Lee d3eb8c6ea4 trivial minor changes to indentation, text strings, etc. 2011-01-18 00:31:05 +00:00
Jordan Lee bc91935bd8 first draft of 2.20 news 2011-01-17 20:06:34 +00:00
Jordan Lee d1a7f70313 (trunk gtk) #3907 "in the details dialog's peers tab, 'status' is a misnomer" -- changed to 'flags'. 2011-01-17 16:13:45 +00:00
Jordan Lee 6d1ad8e0cb (trunk gtk) #3908 "details dialog's information tab shows (verified + unverified) + unverified" -- fixed. 2011-01-17 16:10:17 +00:00
Juliusz Chroboczek 5ac1cba6ed Make ensureAtomExists add to the flags of an existing atom.
Flags are cumulative -- if we learn that a given peer groks encryption
from one source, and that it accepts incoming connections from another,
then the relevant atom should have both flags.
2011-01-16 15:51:48 +00:00
Juliusz Chroboczek 96141bdbff Consolidate both versions of tr_isPex into a single function.
There used to be two versions of tr_isPex; one correct in peer-mgr.c,
and one buggy in resume.c.  The buggy version caused us to reject all
peers with non-trivial flags when resuming.
2011-01-16 15:47:09 +00:00
Jordan Lee 6fdb8dabea first cut at a .gitignore file 2011-01-16 15:45:48 +00:00
Mitchell Livingston 792b5ad6f7 #3686 "add rpc command to cleanly shutdown daemon" - added for Mac client 2011-01-15 18:44:39 +00:00
Jordan Lee a65e02257d Fix transmission-remote regression introduced in the last commit. Thanks to Rolcol for spotting this. Mumble, grumble. 2011-01-15 18:22:09 +00:00
Jordan Lee a433b0c4cc #3686 "add rpc command to cleanly shutdown daemon" -- added for libT, tr-daemon, tr-gtk, tr-remote, and the rpc spec 2011-01-15 18:12:45 +00:00
Mitchell Livingston 8cd66ba851 update MainMenu.xib to recognize the change in r11684 2011-01-15 17:21:49 +00:00
Mitchell Livingston 0a57ced868 change the filter bar outlet to FilterBarView 2011-01-15 17:18:44 +00:00
Mitchell Livingston b1bded8471 use a string instead of an int when setting peer-socket-tos 2011-01-15 17:16:12 +00:00
Jordan Lee d6d6fd2d7e (trunk daemon) "--logfile is unreliable on Solaris 10" -- fixed. 2011-01-15 17:14:15 +00:00
Juliusz Chroboczek 6f5ecd2ab8 Make the peer-socket-tos preference more user-friendly.
Possible values are now the strings default, lowcost, throughput etc.
Numeric values are used for non-standard values.
2011-01-15 17:10:54 +00:00
Jordan Lee b2d0b673c2 (trunk libT) #2191 "NAT-PMP and UPnP should also map UDP port" -- committed patch by starix. 2011-01-15 17:06:11 +00:00
Mitchell Livingston f74e3b5b3a #3881 Right click torrent context menu does not work with Firefox / Firegestures / Ubuntu 2011-01-15 17:00:52 +00:00
Mitchell Livingston b9e4fcdb40 tweak MainMenu.xib's tags 2011-01-15 16:51:41 +00:00
Mitchell Livingston a62ce897c3 push COPYING date to 2011 2011-01-15 16:51:25 +00:00
Juliusz Chroboczek 8ea2c0daa1 Make the peer-congestion-algorithm preference visible.
When I first implemented this code, I made the preference hidden --
unless you set it yourself, it will not appear in the sttings file.
Now that it's been documented and advertised, make it visible.
2011-01-15 16:25:24 +00:00
Jordan Lee 1a862315de (trunk gtk) #3903 "Scroll to new messages when viewing new messages in the message window" -- added. 2011-01-15 07:57:01 +00:00
Jordan Lee 5c96f9ebd8 (trunk libT) fix a minor error in the log message for prefetch errors. thanks to Chinstrap for spotting this. 2011-01-15 05:34:47 +00:00
Jordan Lee e4bd783ec2 (trunk libT) #3898 "Add 'Add' and 'Remove' buttons to the tracker list" -- done. 2011-01-14 21:57:20 +00:00
Jordan Lee 8d06a961b2 (trunk qt) #3899 "typo in qt/details.cc" -- fixed. patch by cantabile 2011-01-13 19:12:18 +00:00
Jordan Lee 36e54b59e9 (trunk gtk) #3897 "filterbar should use tr_torrentStatCached() instead of tr_torrentStat()" -- fixed. 2011-01-13 11:57:06 +00:00
Jordan Lee 88d58502aa (trunk gtk) #3896 "Redundant call to tr_torrentStat() in tr_core_update()" -- fixed. 2011-01-13 11:50:58 +00:00
Jordan Lee 007b96a62f (trunk libT) #3894 "tr_peerIo.hasFinishedConnecting should be removed" -- committed. 2011-01-13 01:58:57 +00:00
Jordan Lee e12788c626 (trunk libT) fix formatting error in a couple of old calls to dbgmsg() 2011-01-12 05:05:48 +00:00
Jordan Lee 2148d8f8ee fix typo in the 'blocklist contains N rules' text message 2011-01-11 15:32:22 +00:00
Juliusz Chroboczek 429754cfb5 Fix incorrect overflow handling in the DHT's parser. 2011-01-10 01:58:13 +00:00
Juliusz Chroboczek 62cb43a173 Don't complain about unexpected DHT packets. 2011-01-09 23:54:54 +00:00
Juliusz Chroboczek cc44725949 #3634 Use dht-0.17 2011-01-09 23:45:04 +00:00
Juliusz Chroboczek 5bb25bbe72 Import dht-0.17. 2011-01-09 23:44:59 +00:00
Juliusz Chroboczek 1ef888f9f1 Fix incorrect usage of event_new in UDP code.
Apparently you need to pass session->event_base as the first argument.
2011-01-09 23:14:17 +00:00
Juliusz Chroboczek ff0393acbc Fix UDP error handling. 2011-01-09 23:04:56 +00:00
Mitchell Livingston 1e84b07ed4 fix Mac build 2011-01-09 21:56:06 +00:00
Juliusz Chroboczek 7af100fa7e Update tr-{dht,udp} to libevent2. 2011-01-09 21:48:51 +00:00
Juliusz Chroboczek 6ba4ab0b21 Fix tr-udp for the no IPv6 case. 2011-01-09 21:48:48 +00:00
Juliusz Chroboczek aa3868df06 Move handling of UDP I/O to tr-udp.c. 2011-01-09 21:48:46 +00:00
Juliusz Chroboczek 0d8c10716c Use the dht-0.16 API in tr-dht.c.
Recvfrom is now done outside the dht code, which makes it possible to share
the socket with UTP.
2011-01-09 21:48:43 +00:00
Juliusz Chroboczek 3d25f2dc7e Import dht-0.16. 2011-01-09 21:48:40 +00:00