1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00
Commit graph

10315 commits

Author SHA1 Message Date
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
2b8124d3ad (trunk) #4019 "Minor patch, kill useless casts in transmission source." -- fixed. patch by jlouis
jlouis used Coccinelle to scan transmission's source for redundant code that casts a type to its own type.
2011-02-12 17:27:47 +00:00
Mitchell Livingston
f4b9423998 pixel adjustment to the tracker add/remove button 2011-02-12 05:30:51 +00:00
Mitchell Livingston
4fa5de2a90 change the add/remove tracker buttons in the inspector to the rounded rect style, and add tooltips 2011-02-12 05:01:31 +00:00
Mitchell Livingston
0c606f5db3 adjust the pop up button style in the the inspector - options tab 2011-02-12 04:39:50 +00:00
Mitchell Livingston
c39b56388e increase the width of the bandwidth limit fields in the inspector 2011-02-12 04:05:28 +00:00
Mitchell Livingston
c97f6b3d59 center the "No Torrents Selected" in the inspector 2011-02-12 03:53:23 +00:00
Mitchell Livingston
b033af06ff inspector: update the displayed global seeding settings only when necessary; update only the displayed global seeding settings instead of all the options 2011-02-12 03:28:36 +00:00
Mitchell Livingston
82db3c5826 #4017 display the global seeding settings in the inspector 2011-02-12 03:13:14 +00:00
Mitchell Livingston
1f733f9d13 fix a warning 2011-02-12 00:25:24 +00:00
Mitchell Livingston
e5b8461919 fix a crash with the URL window, and memory leak with the URL window, and update the "Open" button of the URL window when shown 2011-02-11 03:17:36 +00:00
Mitchell Livingston
32a54d1029 make the buttons in the URL window localizable 2011-02-11 03:05:57 +00:00
Mitchell Livingston
9e4fa7a6d2 remember the URL sheet window size 2011-02-10 01:16:26 +00:00
Mitchell Livingston
7d9ce0df57 enable the URL sheet's add button when shown if text is already entered 2011-02-10 01:03:21 +00:00
Mitchell Livingston
7fabe85b96 remember the text in the URL sheet 2011-02-10 00:58:05 +00:00
Mitchell Livingston
9c1281c43c move the "open torrent URL" sheet into its own xib file 2011-02-10 00:51:25 +00:00
Mitchell Livingston
954b9d1007 #3989 Menubar not translated in Dutch localisation 2011-02-09 13:22:02 +00:00
Jordan Lee
9769e07fa9 (trunk) improvement to r11864
Since the contents of getcwd() are undefined on error, explicitly terminate the buffer string if getcwd() fails.
2011-02-09 06:10:01 +00:00
Jordan Lee
2fc40f4b1c (trunk libt) silence a couple of identical compiler warnings: "ignoring return value of ‘getcwd’, declared with attribute warn_unused_result". 2011-02-09 05:42:52 +00:00
Jordan Lee
3f9886c3dd (trunk libT) silence compiler warning in libtransmission/fdlimit.c: "ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result" 2011-02-09 05:34:23 +00:00
Jordan Lee
adf5a2e273 (trunk libT) fix gcc compiler warning in libtransmission/makemeta.c: "ignoring return value of ‘read’, declared with attribute warn_unused_result" 2011-02-09 05:16:37 +00:00
Jordan Lee
62b732708a (trunk gtk) msgwin.c: silence compiler warning "warning: ‘pinned_to_new’ may be used uninitialized in this function" 2011-02-09 05:10:29 +00:00
Mitchell Livingston
1d1a3e8068 #3696 Publish Web Interface via Wide-Area Bonjour (in addition to Link-Local) 2011-02-09 03:06:05 +00:00
Mitchell Livingston
4f3c9923ba format the number of times opened 2011-02-09 02:49:32 +00:00
Mitchell Livingston
4c4a248c02 #4002 Update to JQuery 1.5 2011-02-09 02:45:54 +00:00
Jordan Lee
984ac1b92e (trunk libT) fix compiler warning: "peer-io.h:282: warning: inlining failed in call to ‘evbuffer_add_uint8’: optimizing for size and code size would grow" 2011-02-09 02:35:16 +00:00
Jordan Lee
0bd1ec8de8 (trunk libT) #3991 "connection encryption stopped working" -- silence minor compiler warning. patch by ijuxda. 2011-02-09 02:26:35 +00:00
Jordan Lee
2098669a10 bump to version 2.21+ 2011-02-08 21:07:15 +00:00
Jordan Lee
4e00051bae (trunk) bump to 2.21 2011-02-08 21:05:30 +00:00
Jordan Lee
441b8fa18b (trunk libT) #3993 "Version (-V) option no longer outputs svn revision no." -- fixed.
update-version-h.sh tries to use {{{svnversion}}} when possible. But when it's not, it looks through the "$Id:" lines in the source file comments and uses the largest version number it finds. The new files tr-dht.[ch] didn't have the line of its $Id: comment formatted in the way update-version-h.sh expected. tr-dht.[ch]'s $Id: line has been homogenized to be like everyone else's...
2011-02-08 04:17:33 +00:00
Mitchell Livingston
4034ed0d16 add the application type to Info.plist 2011-02-08 02:02:09 +00:00
Mitchell Livingston
bff67a9294 #3987 Display issue in the main window in the German localisation 2011-02-08 01:26:35 +00:00
Mitchell Livingston
beb2973b85 set the visibility priority for high and low priority menu items 2011-02-08 01:08:30 +00:00
Mitchell Livingston
22afd589d0 have miniupnp use the project's flags 2011-02-08 00:41:01 +00:00
Mitchell Livingston
ec3d029883 #3994 don't compile assert statements in Release mode 2011-02-08 00:36:57 +00:00
Jordan Lee
394fed632f (libT) #3991 "Connection encryption stopped working" -- fixed.
This is a pretty straightfoward bug: the call to evbuffer_peek() should not have been wrapped in assert().
2011-02-08 00:31:50 +00:00
Jordan Lee
6a9d3b8c3b (trunk gtk) refresh the translations again for 2.21 2011-02-08 00:19:22 +00:00
Jordan Lee
2b905bdbcc (trunk libT) silence minor "unused function argument" compiler warning 2011-02-07 23:09:36 +00:00
Jordan Lee
61d999dfdd (trunk qt) refresh the strings for transmission-qt 2.20; updated es translation from rb07 :) 2011-02-07 22:54:18 +00:00
Mitchell Livingston
a2fbc67cd4 bump version to 2.20+ 2011-02-06 20:25:53 +00:00
Jordan Lee
1773b17013 bump to 2.20 2011-02-06 20:15:38 +00:00
Mitchell Livingston
7b31b3023f set 2.20 release date in NEWS 2011-02-06 20:12:18 +00:00
Jordan Lee
ce08e00e2e (trunk libT) #3975 "tr_bencToFile() contains unnecessary calls to stat() and unlink()" -- fixed for win32.
remove() doesn't have the same behavior on Windows. On that platform, we should use MoveFileEx( oldpath, newpath, MOVEFILE_REPLACE_EXISTING )." Thanks to rb07 for testing & confirming the fix.
2011-02-06 18:56:44 +00:00
Jordan Lee
24b9dc7dc2 (trunk gtk) #3866 "Popup menu for file list manipulation" -- removing from the 2.20 milestone
Looking over the 2.20 tickets, this one keeps sticking out. A popup menu may be useful if the "delete files" ticket is accepted in 2.30, but for this release (2.20) it doesn't really add anything new. One lesson from the 2.1x cycle was that features are a harder to remove than to add. So I'm going to hold off on adding this feature until it has a clear raison d'être.
2011-02-06 18:50:35 +00:00
Mitchell Livingston
b2a7f130ee update French localization for 2.2 2011-02-06 18:07:32 +00:00
Mitchell Livingston
c165ff1463 #3675 handle trashing data over RPD in the Mac client 2011-02-06 17:32:16 +00:00
Jordan Lee
1fabb9b9ea (trunk) #3675 "Not all .part files are removed" -- handle trashing files via RPC.
When libtransmission gets a "remove torrent" request from RPC, it tries to delegate the work. This is because the GTK+ and Mac clients don't want torrents disappearing in a different thread and causing possible thread issues. So the GTK+ and Mac clients get notification about this via libtransmission's RPC callback and remove the torrents themselves. Unfortunately, that notification doesn't include information about whether or not to delete local data.

This commit adds that information to the RPC callback so that the Mac and GTK+ clients will know whether or not to trash the local files when a third-party RPC client requests that at torrent and its files be deleted.
2011-02-06 17:30:46 +00:00
Jordan Lee
11c0517cc8 (trunk libT) #3931 "'Announce is Queued' but doesn't get announced" -- remove the 'unresponsive tracker' penalty from torrents whose announce time has been reached.
The 'bad tracker' penalty was introduced in 2009 after a top tier trackers went down. Announces to it would hang, tying up an announce slot in libcurl for minutes at a time. If a user had enough torrents from that tracker, it could bottleneck all announce slots. The workaround was to deprioritize failing trackers so that they wouldn't obstruct other trackers.

Its implementation could be better, however. There are two parts:

  1. Deciding how frequently to retry unresponsive trackers

  2. Once an unresponsive tracker announce was ready to go, it would be bumped down the queue if other announces were ready too.

Part 2 probably contributes to #3931. If there are enough torrents loaded, there will always be good tracker announces that get pushed ahead of a bad one in the queue. Modifying 2's heuristics would be one option, but it seems simpler to remove it altogether now that getRetryInterval() grades more hashly for consecutive failures. Altering the retry interval also gives better visual feedback to users than Part 2 did.

This commit removes "Part 2" as described above.
2011-02-05 18:46:10 +00:00
Jordan Lee
ddfb113f70 (trunk libT) announcer.c cleanup, part 1
Separating this commit into a few different stages. This one is superficial/readability changes, such as grouping related functions together.
2011-02-05 16:45:06 +00:00
Jordan Lee
c90ddfa1c3 (trunk libT) #3980 "segfault when adding many torrents remotely" -- possible fix.
gtk/main.c's onRPCChanged() is called from inside the libtransmission thread, yet it still made GTK+ calls to modify the GTK+ client's tr-core object when a torrent was added. This caused a race condition inside of the GTK+ internals. onRPCChanged() already knows to delegate work back to the GTK+ thread when a torrent is removed via RPC. This commit uses the same kind of mechanism to delegate work back to the GTK+ thread when a torrent is added via RPC.
2011-02-05 05:03:00 +00:00