Commit Graph

10105 Commits

Author SHA1 Message Date
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
Juliusz Chroboczek abcd56c034 Move creation of the UDP sockets to tr-udp.c. 2011-01-09 21:48:36 +00:00
Juliusz Chroboczek 89aa3bb58e Implement tr_dhtInit and Uninit, use it in session.c. 2011-01-09 21:48:33 +00:00
Juliusz Chroboczek 95f038521c Update copyright notices. 2011-01-09 21:48:24 +00:00
Juliusz Chroboczek 8c02d6ce1f Add files tr-udp.[ch] to the build. 2011-01-09 21:48:06 +00:00
Mitchell Livingston 7fc28b1019 if file size is less than 10 KB, show one decimal place 2011-01-09 19:24:27 +00:00
Mitchell Livingston 64f6b2cb5f silence a warning 2011-01-09 18:45:18 +00:00
Mitchell Livingston e37848ca60 use a float instead of a double for file unit size 2011-01-08 17:19:17 +00:00
Mitchell Livingston 3abf813bbf #3878 don't show the units of a partial file size when it's the same as the full file size's units 2011-01-08 05:11:28 +00:00
Mitchell Livingston 035b67677b #3877 Match Finder's file size display: start at KB, each increase in units increases the number of decimals shown, and truncate trailing zeros 2011-01-08 03:16:13 +00:00
Juliusz Chroboczek 5b2948cd17 Improve error messages in tr-dht.c. 2011-01-08 02:12:23 +00:00
Juliusz Chroboczek fe2fd2efcf Avoid a descriptor leak when binding the IPv6 DHT socket fails. 2011-01-08 01:09:12 +00:00
Jordan Lee 1cd74312ba (trunk libT) minor code cleanup in fdlimit.c 2011-01-07 00:17:13 +00:00
Jordan Lee 721cd1c3c3 (trunk gtk) #3876 "Give filesize its own column in the Files tree" -- added. 2011-01-06 17:21:55 +00:00
Jordan Lee 92d1dfcfbf (trunk libT) very minor code cleanup -- use an enum instead of magic numbers, etc. 2011-01-06 15:12:12 +00:00
Mitchell Livingston 9e504a848d replace the "Reverse Sort Order" menu item with "Ascending" and "Descending" menu items 2011-01-06 04:09:04 +00:00
Mitchell Livingston 94698d43cf capitalize "By" in "Sort Transfers By" 2011-01-06 03:55:09 +00:00
Jordan Lee aea8d8d0b5 (trunk gtk) #3519 "webseeds don't work" -- fix webseed peer counts and download speeds in the GTK+ client's main window 2011-01-06 02:40:10 +00:00
Jordan Lee cc428376e9 (trunk libT) in deep logging, use evbuffer_write() instead of fwrite() 2011-01-06 02:33:39 +00:00
Jordan Lee 177d60ddf2 (trunk libT) revert previous commit. that new patch generates a warning if _FILE_OFFSET_BITS isn't defined. 2011-01-06 02:31:11 +00:00
Jordan Lee 2cba0d5822 (trunk libT) Fix gzopen64 implicit declaration warning on some systems. (ijuxda ba5f6a66ad949b410464) 2011-01-06 02:27:22 +00:00
Jordan Lee 35cf5e4a32 (trunk libT) Fix posix_memalign() unused result warning. inspired by ijuxda's 08b0c5b 2011-01-06 02:17:22 +00:00
Jordan Lee d18b1bda05 (trunk) #3875 "Typo: missing gettext macro _ in recent commit" -- fix r11602 regression discovered by ijuxda 2011-01-06 01:05:13 +00:00
Jordan Lee 6dc03f471e (trunk libT) #3519 "webseeds don't work" -- fixed. 2011-01-06 01:00:21 +00:00
Mitchell Livingston 5a8800fda1 remove a LAZY debug message 2011-01-06 00:54:37 +00:00
Jordan Lee 9f424f7c9b (trunk utils) #3873 "transmission-show should list webseeds" -- fixed. 2011-01-05 16:15:41 +00:00
Jordan Lee fde6b36e57 (trunk libT) prevent crash on shutdown when bindinfo ptr can be NULL 2011-01-05 08:07:04 +00:00
Jordan Lee c48528faf1 (trunk gtk) #3866 "Popup menu for file list manipulation" -- patch by ijuxda + random bugs by me 2011-01-05 07:08:34 +00:00
Jordan Lee 69a3b8bbab (trunk, daemon) #3833 "'freespace' argument for 'session-get' RPC method" -- committing patch from taem, reardon, and rb07 2011-01-05 04:41:19 +00:00
Jordan Lee c7cc8301db (trunk) update credits 2011-01-03 05:58:58 +00:00
Mitchell Livingston 0d776a929d Instead of explicitly setting the status bar as draggable, let it take on the window's default behavior. 2011-01-03 03:41:42 +00:00
Charles Kerr b223a33b73 (trunk libT) fix crash reported by KyleK 2011-01-03 03:01:12 +00:00
Charles Kerr 5ccbb741b0 (trunk qt) #3863 "accept info hash in 'Add url...' dialog, not just magnet uris" -- added. 2011-01-02 23:42:46 +00:00
Mitchell Livingston 7760be2c45 always draw the top white line on the filter bar 2011-01-02 17:14:38 +00:00
Mitchell Livingston 4b190aa0c2 separate the code for the filter and status bars 2011-01-02 17:11:41 +00:00
Mitchell Livingston ae2a3ab268 increase the bottom bar height by a pixel 2011-01-02 16:50:37 +00:00
Charles Kerr 36c8843ba5 (trunk libT) #3867 "memmem(3) in Solaris 11 doesn't work as expected" -- fixed. 2011-01-02 07:56:20 +00:00
Charles Kerr 3192dae8c0 (trunk libT) #3868 "util tests fail on Solaris 11 because sqrt(-1) is '-nan'" -- fixed. 2011-01-02 07:49:30 +00:00
Mitchell Livingston 25ee42d68d update the copyright years in the Mac code to 2011 2011-01-01 20:42:14 +00:00
Charles Kerr 19c043ed84 (trunk qt) #3836 "libevent2 support" -- add a mechanism to make it easier to build the Qt client with custom installs of libevent2 2010-12-31 19:44:51 +00:00