]> granicus.if.org Git - transmission/log
transmission
14 years ago(trunk libT) #3933 "announcer.c peer parsing could be simpler" -- fixed.
Jordan Lee [Sat, 22 Jan 2011 17:45:54 +0000 (17:45 +0000)]
(trunk libT) #3933 "announcer.c peer parsing could be simpler" -- fixed.

Remove redundant code by using tr_peerMgrCompactToPex() and tr_peerMgrCompact6ToPex() to parse compact ipv4 and ipv6 peer lists. Simplify the old-style benc peer list parsing and fix a bug that returned too few bytes in the old-style peer array.

14 years ago(trunk libT) #3906 "DHT ignores bind-address-ipv6" -- test fix.
Jordan Lee [Sat, 22 Jan 2011 13:49:15 +0000 (13:49 +0000)]
(trunk libT) #3906 "DHT ignores bind-address-ipv6" -- test fix.

Add code to honor the ipv6 bind address. Thanks to jch for saving me a little work by confirming the bug and pointing out where in the code the change needed to be made.

14 years ago(trunk libT) #3927 "Use of libevent2 evbuffer_write on files..."
Jordan Lee [Sat, 22 Jan 2011 13:33:05 +0000 (13:33 +0000)]
(trunk libT) #3927 "Use of libevent2 evbuffer_write on files..."

evbuffer_write() is intended for sockets. It works for files on Unix, but not on Windows, so we can't portably use it on files. Instead, use evbuffer_pullup() + write().

14 years ago(trunk gtk) #3887: "CPU spikes to 100% on scrolling" -- workaround committed.
Jordan Lee [Sat, 22 Jan 2011 13:26:44 +0000 (13:26 +0000)]
(trunk gtk) #3887: "CPU spikes to 100% on scrolling" -- workaround committed.

The patch avoids use of GtkCellRendererText's "sensitive" property, and instead renders paused torrents' text using the widget's style's color for insensitive text. This approach honors the theme's "insensitive" color setting and uses it to draw insensitive text with no etching or shadowing.

The better option is still for Murrine to fix its text shadow issue... but until then, here is a workaround.

14 years ago(trunk libT) #3932 "Assertion failed: (tab != NULL), function tr_torrentAvailability"
Jordan Lee [Sat, 22 Jan 2011 13:21:20 +0000 (13:21 +0000)]
(trunk libT) #3932  "Assertion failed: (tab != NULL), function tr_torrentAvailability"

Looks like tab can be NULL from the Mac client when magnet links are involved and the Mac client doesn't know how many pieces are available, so that assertion's not appropriate.

14 years ago(trunk) #3901 "Confusing error message when libtool is missing" -- fixed.
Jordan Lee [Sat, 22 Jan 2011 03:28:06 +0000 (03:28 +0000)]
(trunk) #3901 "Confusing error message when libtool is missing" -- fixed.

autogen.sh invokes autoreconf without checking to see if it fails (as it does if libtool can't be found). In such cases it also invokes a broken doomed version of the configure script, which generates a lot of red herring messages that distract from the real problem encountered by autoreconf.

The fix is to exit autogen.sh if its call to autoreconf fails.

14 years ago(trunk qt) #3930 - "Add URL" - auto-copy links from the clipboard
Jordan Lee [Fri, 21 Jan 2011 21:51:50 +0000 (21:51 +0000)]
(trunk qt) #3930 - "Add URL" - auto-copy links from the clipboard

When opening the "Add URL" dialog, check the clipboard selection & clipboard proper to see if either contains a URL, magnet link, or info hash code. If it has any of those things, put that in the dialog's entry field as the default action. Patch by cantabile.

14 years ago(trunk gtk) #3930: Add drag-and-drop support for info hashes.
Jordan Lee [Fri, 21 Jan 2011 21:35:11 +0000 (21:35 +0000)]
(trunk gtk) #3930: Add drag-and-drop support for info hashes.

The "Add URL" dialog accepts URLs, magnet links, and infohashes, but only copyies urls and magnet links from the clipboard. Patch by cantabile.

14 years ago(trunk gtk) include the torrent hashcode in the model's collated name.
Jordan Lee [Fri, 21 Jan 2011 18:30:08 +0000 (18:30 +0000)]
(trunk gtk) include the torrent hashcode in the model's collated name.

This simplifies sorting by name by merging the primary and secondary keys (case-insensitive name, and hash string) into a single key.

14 years ago(trunk gtk) set GtkLabel's "single-line-mode" flag to TRUE in the toolbar, in the...
Jordan Lee [Fri, 21 Jan 2011 17:31:35 +0000 (17:31 +0000)]
(trunk gtk) set GtkLabel's "single-line-mode" flag to TRUE in the toolbar, in the stats dialog, and in the details dialog's info tab.

According to the GTK+ documentation, this "can be an advantage in situations where resizing the label because of text changes would be distracting, e.g. in a statusbar." It doesn't seem to prevent relayout in GTK+ 2.20.1, but maybe other versions of GTK+ will make better use of the flag.

14 years ago(trunk gtk) companion commit to r11738 to reduce unnecessary re-rendering in the...
Jordan Lee [Fri, 21 Jan 2011 17:07:23 +0000 (17:07 +0000)]
(trunk gtk) companion commit to r11738 to reduce unnecessary re-rendering in the main window

The main window called gtk_tree_model_filter_refilter() once per second to refresh the torrent list's filtering. This is not an efficient approach: gtk_tree_model_filter_refilter() emits a "row changed" event for every row, causing unnecessary re-rendering.

I've removed the call to gtk_tree_model_filter_refilter() and expanded the model to includes all the fields necessary for filtering. That way we only fire "row changed" events for rows that actually change.

By reducing the number of renders in steady state, this might ameliorate https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/655024

However it will *not* help the related "CPU spikes to 100% on scrolling" ticket at https://trac.transmissionbt.com/ticket/3887 because rendering paused torrents is still exceptionally expensive in the murrine theme.

14 years ago(trunk gtk) #3916 "Reorder the list when metadata is downloaded" -- fix r11737 typo.
Jordan Lee [Fri, 21 Jan 2011 16:36:57 +0000 (16:36 +0000)]
(trunk gtk) #3916 "Reorder the list when metadata is downloaded" -- fix r11737 typo.

14 years ago(trunk gtk) make "gtr_label_set_text" public and use it everywhere instead of gtk_lab...
Jordan Lee [Fri, 21 Jan 2011 16:32:27 +0000 (16:32 +0000)]
(trunk gtk) make "gtr_label_set_text" public and use it everywhere instead of gtk_label_set_text()

Some of the refresh events to the main window's torrent list are caused by main window relayout caused by the toolbar's GtkLabels recalculating their size after being updated once per second. To prevent relayout in some trivial cases, I'm replacing the gtk_label_set_text() calls with gtr_label_set_text() because the latter doesn't update the label widget if the old and new text strings are the same.

There are other changes that can handle more important cases -- I'll test those out next.

14 years ago(trunk gtk) #3916 "Reorder the list when metadata is downloaded" -- fixed.
Jordan Lee [Fri, 21 Jan 2011 02:58:58 +0000 (02:58 +0000)]
(trunk gtk) #3916 "Reorder the list when metadata is downloaded" -- fixed.

When tr_info.name changes, update the collated name in the main window's TreeStore.

14 years ago#3915 "RPC Documentation should reflect in the X-Transmission-Session-Id headers...
Jordan Lee [Fri, 21 Jan 2011 02:40:33 +0000 (02:40 +0000)]
#3915 "RPC Documentation should reflect in the X-Transmission-Session-Id headers" -- fixed.

Add documentation for handling 409 error messages from the Transmission RPC server.

14 years agoRemove the documentation for PUT notation from the rpc spec
Jordan Lee [Fri, 21 Jan 2011 02:29:26 +0000 (02:29 +0000)]
Remove the documentation for PUT notation from the rpc spec

The PUT hack was useful back when Transmission's RPC was first written, but it doesn't scale well to any of the commands that make its RPC useful. We should deprecate its use and not advertise this feature anymore.

14 years agotweak Credits.rtf
Mitchell Livingston [Thu, 20 Jan 2011 23:09:18 +0000 (23:09 +0000)]
tweak Credits.rtf

14 years agomark the peer-id and user-agent for 2.20 beta 1 2.20b1
Jordan Lee [Thu, 20 Jan 2011 22:57:59 +0000 (22:57 +0000)]
mark the peer-id and user-agent for 2.20 beta 1

14 years agomention #3870 in the NEWS
Jordan Lee [Thu, 20 Jan 2011 22:55:08 +0000 (22:55 +0000)]
mention #3870 in the NEWS

14 years ago(trunk libT) #3870 "transmission doesn't recheck after getting initial 404" -- fixed.
Jordan Lee [Thu, 20 Jan 2011 22:51:05 +0000 (22:51 +0000)]
(trunk libT) #3870 "transmission doesn't recheck after getting initial 404" -- fixed.

The exponentially-growing interval between retries had a bug that caused intervals to be too long if no successful announce had ever been made. This commit fixes the code that calculates the interval.

14 years ago(trunk libT) #3923 "remove redundant announcer.c debug message" -- done.
Jordan Lee [Thu, 20 Jan 2011 20:49:09 +0000 (20:49 +0000)]
(trunk libT) #3923 "remove redundant announcer.c debug message" -- done.

14 years agoMention dht-0.18 in NEWS.
Juliusz Chroboczek [Thu, 20 Jan 2011 20:44:01 +0000 (20:44 +0000)]
Mention dht-0.18 in NEWS.

14 years agoImport dht-0.18.
Juliusz Chroboczek [Thu, 20 Jan 2011 20:43:57 +0000 (20:43 +0000)]
Import dht-0.18.

14 years ago(trunk) #3926 "use 'Open Torrent' instead of 'Add Torrent' in GTK+ and Qt clients...
Jordan Lee [Thu, 20 Jan 2011 20:32:28 +0000 (20:32 +0000)]
(trunk) #3926 "use 'Open Torrent' instead of 'Add Torrent' in GTK+ and Qt clients" -- fix accelerator ambiguity.

Using Ctrl-O for "Open File" causes a conflict with the existing Ctrl-O for "Open Folder." The HIG-compliant shortcut wins the conflict, so "Open Folder" gets a new accelerator.

14 years ago(trunk qt) #3926 "use 'Open Torrent' instead of 'Add Torrent' in GTK+ and Qt clients...
Jordan Lee [Thu, 20 Jan 2011 20:24:59 +0000 (20:24 +0000)]
(trunk qt) #3926 "use 'Open Torrent' instead of 'Add Torrent' in GTK+ and Qt clients" -- sync the accelerator with the GTK+ client

14 years ago(trunk qt) #3925 "qtr.pro cleanup" -- patch from rb07 to handle libevent2 more gracef...
Jordan Lee [Thu, 20 Jan 2011 20:20:14 +0000 (20:20 +0000)]
(trunk qt) #3925 "qtr.pro cleanup" -- patch from rb07 to handle libevent2 more gracefully via pkg-config

14 years ago(trunk qt) #3926 "use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients...
Jordan Lee [Thu, 20 Jan 2011 20:12:24 +0000 (20:12 +0000)]
(trunk qt) #3926 "use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients" -- one more instance

14 years ago(trunk gtk) #3909 -- don't use Ctrl-M as the shortcut for "Copy Magnet Link to Clipbo...
Jordan Lee [Thu, 20 Jan 2011 20:07:09 +0000 (20:07 +0000)]
(trunk gtk) #3909 -- don't use Ctrl-M as the shortcut for "Copy Magnet Link to Clipboard."

14 years ago(trunk) #3926: use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients...
Jordan Lee [Thu, 20 Jan 2011 19:57:42 +0000 (19:57 +0000)]
(trunk) #3926: use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients -- change the filename from add-dialog.[ch] to open-dialog.[ch]. whoooo

14 years ago(trunk) #3926: use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients...
Jordan Lee [Thu, 20 Jan 2011 19:48:13 +0000 (19:48 +0000)]
(trunk) #3926: use "Open Torrent" instead of "Add Torrent" in GTK+ and Qt clients -- text changed.

14 years ago(trunk libT) #3921 "no overhead for reads" -- fixed. thanks to jch for reporting...
Jordan Lee [Thu, 20 Jan 2011 00:31:46 +0000 (00:31 +0000)]
(trunk libT) #3921 "no overhead for reads" -- fixed. thanks to jch for reporting this.

14 years ago(trunk libT) minor code tweak to crypto.c's tr_sha1() function
Jordan Lee [Wed, 19 Jan 2011 21:50:51 +0000 (21:50 +0000)]
(trunk libT) minor code tweak to crypto.c's tr_sha1() function

14 years agotr_sha1(): remove unnecessary casts from va_arg
Jordan Lee [Wed, 19 Jan 2011 21:43:43 +0000 (21:43 +0000)]
tr_sha1(): remove unnecessary casts from va_arg

14 years ago(trunk qt) #3917 "Text on QPushButton is not updated after selecting 'Torrent Done...
Jordan Lee [Wed, 19 Jan 2011 20:33:43 +0000 (20:33 +0000)]
(trunk qt) #3917 "Text on QPushButton is not updated after selecting 'Torrent Done' script" -- fixed. patch by cantabile.

14 years ago(trunk) #3914 "strlsize() passes variable of incompatible type to the tr_formatter_si...
Jordan Lee [Wed, 19 Jan 2011 18:14:01 +0000 (18:14 +0000)]
(trunk) #3914 "strlsize() passes variable of incompatible type to the tr_formatter_size_B()" -- fixed.

14 years agoremove mention of µTP from 2.20 NEWS. let's not get ahead of ourselves -- we shouldn...
Jordan Lee [Wed, 19 Jan 2011 16:47:07 +0000 (16:47 +0000)]
remove mention of µTP from 2.20 NEWS. let's not get ahead of ourselves -- we shouldn't imply future µTP support when that decision hasn't been made yet.

14 years agoUpdate NEWS.
Juliusz Chroboczek [Wed, 19 Jan 2011 16:09:31 +0000 (16:09 +0000)]
Update NEWS.

14 years ago(trunk gtk) source code formatting tweak
Jordan Lee [Wed, 19 Jan 2011 14:25:22 +0000 (14:25 +0000)]
(trunk gtk) source code formatting tweak

14 years ago(trunk gtk) #3913 "Area to display a torrent's comment is small" -- fixed.
Jordan Lee [Wed, 19 Jan 2011 14:22:29 +0000 (14:22 +0000)]
(trunk gtk) #3913 "Area to display a torrent's comment is small" -- fixed.

14 years agoUpdate the copyright year in the source code comments.
Jordan Lee [Wed, 19 Jan 2011 13:48:47 +0000 (13:48 +0000)]
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.

14 years ago(trunk libT) #3912 "tr_torrentGetMetadataPercent() may return NaN" -- fixed.
Jordan Lee [Wed, 19 Jan 2011 00:20:26 +0000 (00:20 +0000)]
(trunk libT) #3912 "tr_torrentGetMetadataPercent() may return NaN" -- fixed.

14 years ago#3519 "webseeds don't work" -- the `active' filter in the web client didn't test...
Jordan Lee [Wed, 19 Jan 2011 00:07:59 +0000 (00:07 +0000)]
#3519 "webseeds don't work" -- the `active' filter in the web client didn't test for webseed activity.

14 years agocleanup of who calls the libtransmission thread locking functions.
Jordan Lee [Tue, 18 Jan 2011 23:44:36 +0000 (23:44 +0000)]
cleanup of who calls the libtransmission thread locking functions.

In some cases we were calling them from deep inside libtransmission, when they should have been called directly from the public-visible API functions: tr_torrentWebSpeeds_KBps(), tr_torrentPeers(), tr_torrentTrackers().

14 years ago(trunk gtk) #3519 "webseeds don't work" -- the `active' filter in the GTK+ client...
Jordan Lee [Tue, 18 Jan 2011 23:26:41 +0000 (23:26 +0000)]
(trunk gtk) #3519 "webseeds don't work" -- the `active' filter in the GTK+ client didn't test for webseed activity.

14 years agocode cleanup for tr_peerMgrTorrentAvailability().
Jordan Lee [Tue, 18 Jan 2011 22:51:29 +0000 (22:51 +0000)]
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

14 years ago#3911: tr_peerMgrTorrentAvailability() doesn't sample across the entire torrent'...
Jordan Lee [Tue, 18 Jan 2011 22:21:09 +0000 (22:21 +0000)]
#3911: tr_peerMgrTorrentAvailability() doesn't sample across the entire torrent' -- fixed.

14 years agotweak COPYING
Mitchell Livingston [Tue, 18 Jan 2011 04:02:06 +0000 (04:02 +0000)]
tweak COPYING

14 years agothe text in the last change was weak.
Jordan Lee [Tue, 18 Jan 2011 03:53:53 +0000 (03:53 +0000)]
the text in the last change was weak.

14 years agotweak gtk+ section... lots of little fixes there
Jordan Lee [Tue, 18 Jan 2011 03:50:36 +0000 (03:50 +0000)]
tweak gtk+ section... lots of little fixes there

14 years agogrammar fix
Mitchell Livingston [Tue, 18 Jan 2011 03:47:59 +0000 (03:47 +0000)]
grammar fix

14 years agoupdate strings file
Mitchell Livingston [Tue, 18 Jan 2011 03:43:57 +0000 (03:43 +0000)]
update strings file

14 years agoupdate NEWS
Mitchell Livingston [Tue, 18 Jan 2011 02:46:58 +0000 (02:46 +0000)]
update NEWS

14 years ago(trunk libT) demote the remaining lazy-verify debug messages from the debug window...
Jordan Lee [Tue, 18 Jan 2011 02:17:47 +0000 (02:17 +0000)]
(trunk libT) demote the remaining lazy-verify debug messages from the debug window to deep logging

14 years agotrivial minor changes to indentation, text strings, etc.
Jordan Lee [Tue, 18 Jan 2011 00:31:05 +0000 (00:31 +0000)]
trivial minor changes to indentation, text strings, etc.

14 years agofirst draft of 2.20 news
Jordan Lee [Mon, 17 Jan 2011 20:06:34 +0000 (20:06 +0000)]
first draft of 2.20 news

14 years ago(trunk gtk) #3907 "in the details dialog's peers tab, 'status' is a misnomer" --...
Jordan Lee [Mon, 17 Jan 2011 16:13:45 +0000 (16:13 +0000)]
(trunk gtk) #3907 "in the details dialog's peers tab, 'status' is a misnomer" -- changed to 'flags'.

14 years ago(trunk gtk) #3908 "details dialog's information tab shows (verified + unverified...
Jordan Lee [Mon, 17 Jan 2011 16:10:17 +0000 (16:10 +0000)]
(trunk gtk) #3908 "details dialog's information tab shows (verified + unverified) + unverified" -- fixed.

14 years agoMake ensureAtomExists add to the flags of an existing atom.
Juliusz Chroboczek [Sun, 16 Jan 2011 15:51:48 +0000 (15:51 +0000)]
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.

14 years agoConsolidate both versions of tr_isPex into a single function.
Juliusz Chroboczek [Sun, 16 Jan 2011 15:47:09 +0000 (15:47 +0000)]
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.

14 years agofirst cut at a .gitignore file
Jordan Lee [Sun, 16 Jan 2011 15:45:48 +0000 (15:45 +0000)]
first cut at a .gitignore file

14 years ago#3686 "add rpc command to cleanly shutdown daemon" - added for Mac client
Mitchell Livingston [Sat, 15 Jan 2011 18:44:39 +0000 (18:44 +0000)]
#3686 "add rpc command to cleanly shutdown daemon" - added for Mac client

14 years agoFix transmission-remote regression introduced in the last commit. Thanks to Rolcol...
Jordan Lee [Sat, 15 Jan 2011 18:22:09 +0000 (18:22 +0000)]
Fix transmission-remote regression introduced in the last commit. Thanks to Rolcol for spotting this. Mumble, grumble.

14 years ago#3686 "add rpc command to cleanly shutdown daemon" -- added for libT, tr-daemon,...
Jordan Lee [Sat, 15 Jan 2011 18:12:45 +0000 (18:12 +0000)]
#3686 "add rpc command to cleanly shutdown daemon" -- added for libT, tr-daemon, tr-gtk, tr-remote, and the rpc spec

14 years agoupdate MainMenu.xib to recognize the change in r11684
Mitchell Livingston [Sat, 15 Jan 2011 17:21:49 +0000 (17:21 +0000)]
update MainMenu.xib to recognize the change in r11684

14 years agochange the filter bar outlet to FilterBarView
Mitchell Livingston [Sat, 15 Jan 2011 17:18:44 +0000 (17:18 +0000)]
change the filter bar outlet to FilterBarView

14 years agouse a string instead of an int when setting peer-socket-tos
Mitchell Livingston [Sat, 15 Jan 2011 17:16:12 +0000 (17:16 +0000)]
use a string instead of an int when setting peer-socket-tos

14 years ago(trunk daemon) "--logfile is unreliable on Solaris 10" -- fixed.
Jordan Lee [Sat, 15 Jan 2011 17:14:15 +0000 (17:14 +0000)]
(trunk daemon) "--logfile is unreliable on Solaris 10" -- fixed.

14 years agoMake the peer-socket-tos preference more user-friendly.
Juliusz Chroboczek [Sat, 15 Jan 2011 17:10:54 +0000 (17:10 +0000)]
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.

14 years ago(trunk libT) #2191 "NAT-PMP and UPnP should also map UDP port" -- committed patch...
Jordan Lee [Sat, 15 Jan 2011 17:06:11 +0000 (17:06 +0000)]
(trunk libT) #2191 "NAT-PMP and UPnP should also map UDP port" -- committed patch by starix.

14 years ago#3881 Right click torrent context menu does not work with Firefox / Firegestures...
Mitchell Livingston [Sat, 15 Jan 2011 17:00:52 +0000 (17:00 +0000)]
#3881 Right click torrent context menu does not work with Firefox / Firegestures / Ubuntu

14 years agotweak MainMenu.xib's tags
Mitchell Livingston [Sat, 15 Jan 2011 16:51:41 +0000 (16:51 +0000)]
tweak MainMenu.xib's tags

14 years agopush COPYING date to 2011
Mitchell Livingston [Sat, 15 Jan 2011 16:51:25 +0000 (16:51 +0000)]
push COPYING date to 2011

14 years agoMake the peer-congestion-algorithm preference visible.
Juliusz Chroboczek [Sat, 15 Jan 2011 16:25:24 +0000 (16:25 +0000)]
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.

14 years ago(trunk gtk) #3903 "Scroll to new messages when viewing new messages in the message...
Jordan Lee [Sat, 15 Jan 2011 07:57:01 +0000 (07:57 +0000)]
(trunk gtk) #3903 "Scroll to new messages when viewing new messages in the message window" -- added.

14 years ago(trunk libT) fix a minor error in the log message for prefetch errors. thanks to...
Jordan Lee [Sat, 15 Jan 2011 05:34:47 +0000 (05:34 +0000)]
(trunk libT) fix a minor error in the log message for prefetch errors. thanks to Chinstrap for spotting this.

14 years ago(trunk libT) #3898 "Add 'Add' and 'Remove' buttons to the tracker list" -- done.
Jordan Lee [Fri, 14 Jan 2011 21:57:20 +0000 (21:57 +0000)]
(trunk libT) #3898 "Add 'Add' and 'Remove' buttons to the tracker list" -- done.

14 years ago(trunk qt) #3899 "typo in qt/details.cc" -- fixed. patch by cantabile
Jordan Lee [Thu, 13 Jan 2011 19:12:18 +0000 (19:12 +0000)]
(trunk qt) #3899 "typo in qt/details.cc" -- fixed. patch by cantabile

14 years ago(trunk gtk) #3897 "filterbar should use tr_torrentStatCached() instead of tr_torrentS...
Jordan Lee [Thu, 13 Jan 2011 11:57:06 +0000 (11:57 +0000)]
(trunk gtk) #3897 "filterbar should use tr_torrentStatCached() instead of tr_torrentStat()" -- fixed.

14 years ago(trunk gtk) #3896 "Redundant call to tr_torrentStat() in tr_core_update()" -- fixed.
Jordan Lee [Thu, 13 Jan 2011 11:50:58 +0000 (11:50 +0000)]
(trunk gtk) #3896 "Redundant call to tr_torrentStat() in tr_core_update()" -- fixed.

14 years ago(trunk libT) #3894 "tr_peerIo.hasFinishedConnecting should be removed" -- committed.
Jordan Lee [Thu, 13 Jan 2011 01:58:57 +0000 (01:58 +0000)]
(trunk libT) #3894 "tr_peerIo.hasFinishedConnecting should be removed" -- committed.

14 years ago(trunk libT) fix formatting error in a couple of old calls to dbgmsg()
Jordan Lee [Wed, 12 Jan 2011 05:05:48 +0000 (05:05 +0000)]
(trunk libT) fix formatting error in a couple of old calls to dbgmsg()

14 years agofix typo in the 'blocklist contains N rules' text message
Jordan Lee [Tue, 11 Jan 2011 15:32:22 +0000 (15:32 +0000)]
fix typo in the 'blocklist contains N rules' text message

14 years agoFix incorrect overflow handling in the DHT's parser.
Juliusz Chroboczek [Mon, 10 Jan 2011 01:58:13 +0000 (01:58 +0000)]
Fix incorrect overflow handling in the DHT's parser.

14 years agoDon't complain about unexpected DHT packets.
Juliusz Chroboczek [Sun, 9 Jan 2011 23:54:54 +0000 (23:54 +0000)]
Don't complain about unexpected DHT packets.

14 years ago #3634 Use dht-0.17
Juliusz Chroboczek [Sun, 9 Jan 2011 23:45:04 +0000 (23:45 +0000)]
 #3634 Use dht-0.17

14 years agoImport dht-0.17.
Juliusz Chroboczek [Sun, 9 Jan 2011 23:44:59 +0000 (23:44 +0000)]
Import dht-0.17.

14 years agoFix incorrect usage of event_new in UDP code.
Juliusz Chroboczek [Sun, 9 Jan 2011 23:14:17 +0000 (23:14 +0000)]
Fix incorrect usage of event_new in UDP code.

Apparently you need to pass session->event_base as the first argument.

14 years agoFix UDP error handling.
Juliusz Chroboczek [Sun, 9 Jan 2011 23:04:56 +0000 (23:04 +0000)]
Fix UDP error handling.

14 years agofix Mac build
Mitchell Livingston [Sun, 9 Jan 2011 21:56:06 +0000 (21:56 +0000)]
fix Mac build

14 years agoUpdate tr-{dht,udp} to libevent2.
Juliusz Chroboczek [Sun, 9 Jan 2011 21:48:51 +0000 (21:48 +0000)]
Update tr-{dht,udp} to libevent2.

14 years agoFix tr-udp for the no IPv6 case.
Juliusz Chroboczek [Sun, 9 Jan 2011 21:48:48 +0000 (21:48 +0000)]
Fix tr-udp for the no IPv6 case.

14 years agoMove handling of UDP I/O to tr-udp.c.
Juliusz Chroboczek [Sun, 9 Jan 2011 21:48:46 +0000 (21:48 +0000)]
Move handling of UDP I/O to tr-udp.c.

14 years agoUse the dht-0.16 API in tr-dht.c.
Juliusz Chroboczek [Sun, 9 Jan 2011 21:48:43 +0000 (21:48 +0000)]
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.

14 years agoImport dht-0.16.
Juliusz Chroboczek [Sun, 9 Jan 2011 21:48:40 +0000 (21:48 +0000)]
Import dht-0.16.

14 years agoMove creation of the UDP sockets to tr-udp.c.
Juliusz Chroboczek [Sun, 9 Jan 2011 21:48:36 +0000 (21:48 +0000)]
Move creation of the UDP sockets to tr-udp.c.

14 years agoImplement tr_dhtInit and Uninit, use it in session.c.
Juliusz Chroboczek [Sun, 9 Jan 2011 21:48:33 +0000 (21:48 +0000)]
Implement tr_dhtInit and Uninit, use it in session.c.

14 years agoUpdate copyright notices.
Juliusz Chroboczek [Sun, 9 Jan 2011 21:48:24 +0000 (21:48 +0000)]
Update copyright notices.

14 years agoAdd files tr-udp.[ch] to the build.
Juliusz Chroboczek [Sun, 9 Jan 2011 21:48:06 +0000 (21:48 +0000)]
Add files tr-udp.[ch] to the build.

14 years agoif file size is less than 10 KB, show one decimal place
Mitchell Livingston [Sun, 9 Jan 2011 19:24:27 +0000 (19:24 +0000)]
if file size is less than 10 KB, show one decimal place

14 years agosilence a warning
Mitchell Livingston [Sun, 9 Jan 2011 18:45:18 +0000 (18:45 +0000)]
silence a warning