Commit Graph

250 Commits

Author SHA1 Message Date
Jordan Lee 9753aa6183 (trunk gtk) in the details dialog, use the GQuark versions of g_object_{get,set}_data() 2011-04-29 21:36:44 +00:00
Jordan Lee 1d7a4eb528 (trunk gtk) more heap pruning: minor GtkTreeModel changes
Use gtk_tree_model_iter_nth_child() instead of gtk_tree_model_get_iter_first() to avoid an unnecessary gtk_tree_path object being created and destroyed. This is a very minor change and I'm not sure how useful it really is, but it doesn't hurt.
2011-04-13 22:00:55 +00:00
Jordan Lee b1459c5d3b (trunk gtk) more heap pruning: give DetailsImpl an internal GString buffer so that it doesn't have to create and free so many temporary strings 2011-04-12 10:51:52 +00:00
Jordan Lee eb06d81fb9 (trunk) fix a handful of small memory leaks that valgrind found. 2011-03-25 17:42:47 +00:00
Jordan Lee 375694eda9 (trunk) copyediting: remove some unneeded #includes, and annotate some needed ones 2011-03-24 21:49:42 +00:00
Jordan Lee b4d36aeb54 (trunk) #4138 "use stdbool.h instead of tr_bool" -- done. 2011-03-22 15:19:54 +00:00
Jordan Lee 591b95286f Show whether a tracker is http or udp. Without that context, it could be confusing to see the same tracker twice in a tier 2011-03-15 17:03:09 +00:00
Jordan Lee afe6d42ac1 (trunk gtk) when a tracker is manually added to a torrent, check the tracker's validity with tr_urlIsValidTracker() 2011-03-13 07:49:32 +00:00
Jordan Lee 9c7caec13f (trunk gtk) minor copyediting for clarity/readability 2011-03-04 14:31:23 +00:00
Jordan Lee c7006ed8b3 (trunk gtk) remove the TrTorrent GObject subclass. 2011-03-03 01:59:25 +00:00
Jordan Lee 0a8535d9a5 (trunk gtk) #4040 "Show the torrent name in the Peers Tab's tooltips" -- done. 2011-02-19 13:04:09 +00:00
Juliusz Chroboczek bd0ea13701 (gtk) Add tooltip for uTP peers. 2011-02-18 00:24:33 +00:00
Jordan Lee 72f9ab91fa (trunk) make tr_torrentName() a public function.
This has been a private function in libtransmission for awhile now but it makes more sense as a public function.
2011-02-15 15:18:51 +00:00
Jordan Lee 59e8348b15 (trunk gtk) #4012 "Cannot set individual seeding time in GTK+ client" -- fixed.
The code in gtk/details.c was still using the pre-release RPC key "seedInactiveLimit" when it should have been using "seedIdleLimit" instead.
2011-02-12 23:54:33 +00:00
Jordan Lee 287d61197a (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.
2011-01-21 17:31:35 +00:00
Jordan Lee aea77bc9f6 (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.
2011-01-21 16:32:27 +00:00
Jordan Lee ddba265755 (trunk gtk) source code formatting tweak 2011-01-19 14:25:22 +00:00
Jordan Lee 9d038a8539 (trunk gtk) #3913 "Area to display a torrent's comment is small" -- fixed. 2011-01-19 14:22:29 +00:00
Jordan Lee 879a2afcbd 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.
2011-01-19 13:48:47 +00:00
Jordan Lee d3eb8c6ea4 trivial minor changes to indentation, text strings, etc. 2011-01-18 00:31:05 +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
Jordan Lee e4bd783ec2 (trunk libT) #3898 "Add 'Add' and 'Remove' buttons to the tracker list" -- done. 2011-01-14 21:57:20 +00:00
Charles Kerr e5bb3205a1 (trunk) Join the 21st century and use only 1 space at the end sentences. This commit is nearly as important as the semi-annual ones that remove trailing spaces from the ends of lines of code... :) 2010-12-27 19:18:17 +00:00
Charles Kerr 057487d18e (trunk gtk) more gtr_ naming cleanup 2010-12-22 06:25:30 +00:00
Charles Kerr b86e1e1056 (trunk gtk) kill "pref_flag_t" in a burlap sack and throw it off the cliff into the freezing water below 2010-12-22 06:11:49 +00:00
Charles Kerr 6627aade08 (trunk gtk) don't use the GSEAL'ed variable vbox GtkDialog directly... use gtk_dialog_get_content_area() instead 2010-12-22 03:12:47 +00:00
Charles Kerr 5eafe91824 (trunk gtk) general cleanup to make function's naming scheme and API more consistent. This is only a fraction of what the GTK+ client's codebase needs, unfortunately. 2010-12-21 19:20:58 +00:00
Charles Kerr 3054f9a166 (trunk gtk) #3834 "'Origin' field in Torrent Properties dialog should be ellipsized" -- fixed. 2010-12-17 16:30:40 +00:00
Charles Kerr c9af96eb43 (trunk gtk) #3777 "Ellipsize Error: line" -- fixed. 2010-11-29 12:42:12 +00:00
Charles Kerr fafc36f78e (trunk gtk) remove calls to gtk_dialog_set_has_separator(), which has been removed in GNOME 3 2010-11-10 06:29:08 +00:00
Charles Kerr ffe54a20ed (trunk) #3698 "creation date of magnet links are set before the epoch." -- fixed. 2010-11-08 19:16:03 +00:00
Charles Kerr 571f6b8e07 (trunk gtk) #3421 "protect against division by zero in details window" -- fixed another case reported by kovalev 2010-10-21 12:27:40 +00:00
Charles Kerr c721052abb (trunk gtk) fix minor memory leak that may or may not be related to https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/630679 2010-09-23 17:20:05 +00:00
Charles Kerr 71d0b05524 (trunk qt,gtk) #3549 "torrent properties window doesn't fix netbook screen" -- merge the "Uploaded" and "Ratio" rows to save a little vertical space 2010-09-19 17:33:25 +00:00
Charles Kerr bf0e84f266 (trunk) #3549 "torrent properties window does not fit netbook screen" -- fixed 2010-09-17 05:43:06 +00:00
Charles Kerr 2d1348c2f7 (trunk gtk) #3555 "disambiguate the string 'None' for better i18n" -- fixed 2010-09-16 17:45:24 +00:00
Daniel Lee 8f57986784 (trunk) don't display "Got a list of 0 peers" for currently paused torrents 2010-09-16 02:00:54 +00:00
Charles Kerr e934290980 (trunk gtk) portability: use g_dngettext() instead of ngettext() 2010-08-06 14:38:54 +00:00
Charles Kerr 5aa04d83ef (trunk) sync some more GTK+ and Qt strings 2010-08-02 16:29:23 +00:00
Daniel Lee ff23406f38 (trunk) #3471:Add 'finished' to filterbar 2010-08-01 17:43:35 +00:00
Charles Kerr 969c72b927 (trunk gtk) #3454 "update tracker tab to match gtk+ client" -- copy a little bit of the Qt client's layout to the GTK+ client 2010-07-28 17:27:58 +00:00
Charles Kerr 7a8e623301 (trunk gtk) make compatability wrapper call around gtk_widget_set_visible() so that it works with GTK+ < 2.18 2010-07-24 03:07:04 +00:00
Charles Kerr 3655047e85 (trunk) #2560: rename "inactive limit" to "idle limit". Add support in GTK+ client and preliminary support to Qt client 2010-07-24 02:57:39 +00:00
Charles Kerr f4438e6983 (trunk gtk) minor cleanup to last night's ComboBox utilities 2010-07-23 19:10:02 +00:00
Charles Kerr 69a9df0270 (trunk gtk) #3429 "GTK properties > information page shows 0%" -- fixed 2010-07-15 23:54:22 +00:00
Charles Kerr 1ab45eb639 (trunk gtk) #3421 "crash when opening properties dialog on a magnet link w/o metainfo" -- fixed 2010-07-13 03:02:22 +00:00
Charles Kerr 52c04a0d06 (trunk) some units formatter cleanup. 2010-07-09 20:53:38 +00:00
Charles Kerr 574a8230f5 (trunk gtk) #3392 "gtk client can set individual torrents' download speed to 1 KBps but not 0" -- fixed 2010-07-04 18:30:14 +00:00
Charles Kerr 6e5af03d78 (trunk) #3045 "speed units" -- change the public API of libtransmission based on feedback from livings 2010-07-04 06:07:21 +00:00
Charles Kerr cdcc4705aa (trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while. 2010-07-03 00:25:22 +00:00
Charles Kerr 353e37c69e (trunk gtk) right-align the upload/download speed columns in the Properties dialog's peers tab 2010-06-27 00:15:03 +00:00
Daniel Lee bbe9e9843a #3298:Prettier formating of percentages 2010-06-22 22:30:58 +00:00
Charles Kerr 56e614b66d (trunk gtk) remove function gtr_localtime2() 2010-05-28 19:43:37 +00:00
Charles Kerr cf3ccb3385 (trunk gtk) #3187 "Properties window does not support low resolutions" -- fixed for 2.0 2010-05-05 09:56:55 +00:00
Charles Kerr 06f044680a (trunk) #3174 "Use IEC standard units (KiB, MiB, GiB) instead of (KB, MB, GB)" -- implemented for gtk, qt, daemon, cli, and web client 2010-04-28 01:26:46 +00:00
Charles Kerr 1aa2a856c8 (trunk gtk) #3166 "Add Tracker Favicons to Tracker Tab in Properties Window." -- implemented in trunk for 2.00 2010-04-23 01:46:02 +00:00
Charles Kerr 14411f9694 (trunk gtk) tweak details.c again :) 2010-04-06 04:59:36 +00:00
Charles Kerr af09bb2853 (trunk) poke at details yet again 2010-04-06 04:54:51 +00:00
Charles Kerr a709b719bf (trunk gtk) tweak paused/stopped/finished in the details dialog 2010-04-06 04:02:44 +00:00
Charles Kerr fe3d9ed95a (trunk) one of the least interesting commits ever: remove trailing spaces from source code lines... 2010-03-17 17:07:40 +00:00
Charles Kerr 2aa1e69f98 (trunk gtk) first draft of a filterbar experiment 2010-03-14 05:13:02 +00:00
Charles Kerr 2b6b193a43 (trunk gtk) #3011 "'Edit Trackers' dialog not reset after Cancel" -- fixed in trunk for 2.00 2010-03-10 19:16:25 +00:00
Charles Kerr b850349479 (trunk) #2993 "'Downloaded' much greater than 'Have' or 'verified'" -- add new congestion-based throttle for 2.0 2010-03-08 04:29:58 +00:00
Charles Kerr 8bd433e235 (trunk gtk) #2932 "The 'comment' field in the Torrent Properties dialog loses selection" -- fixed in trunk for 1.91 2010-02-19 14:49:03 +00:00
Charles Kerr 74e3484e75 (trunk) add a new field to distinguish from error messages returned from the tracker, and announce timeouts, so that they can be displayed differently 2010-02-05 05:16:18 +00:00
Charles Kerr 9da25c26ce (trunk gtk) fix r10077 typo 2010-02-02 18:17:21 +00:00
Charles Kerr dca795f759 (trunk gtk) "Priority Selection in `Add' window" -- implemented for GTK+ client 2010-02-02 07:51:45 +00:00
Charles Kerr 803225bf10 (trunk GTK+, Qt) #2645 "add torrent availability to Properties->Information" -- added for 1.90 2010-02-02 05:34:26 +00:00
Charles Kerr 28726d031d (trunk gtk) make it easier to change the periodic refresh intervals at the code level 2010-02-01 04:54:10 +00:00
Charles Kerr f6692303ed (trunk gtk) HiG consistency 2010-01-20 21:27:00 +00:00
Charles Kerr 182cbb8b90 (trunk) one of the less-interesting commits in a while: remove trailing spaces from lines 2010-01-05 23:47:50 +00:00
Charles Kerr 5c26afdb52 happy new year! 2010-01-04 21:00:47 +00:00
Charles Kerr 7c9b968916 (trunk) sync mac, gtk clients with r9863 2010-01-04 20:18:21 +00:00
Charles Kerr 832d619a32 (trunk gtk) add a little more height to the "edit trackers" dialog... right now it's so short that any more than two or three trackers look squashed in the dialog 2009-12-23 16:44:10 +00:00
Charles Kerr d9369718b3 (trunk) #2548 "T's request queue can send out too many duplicate requests" -- (1) fix r9465 implementation bug that caused some peers to get starved of requests if they rejected a request or choked, then unchoked us. (2) increase a block request's TTL by 15 seconds to reduce cancel/req cycles between two or more blocks (3) add a debug mode to the GTK+ client's peer tab to watch the pending requests counts both up & down 2009-12-16 18:20:01 +00:00
Charles Kerr b840cb931b (trunk gtk) #2665 "Crash in GTK+ code" -- fixed for 1.80 2009-12-14 00:34:51 +00:00
Charles Kerr e98cf692a8 (trunk gtk) oops, I meant to check this in with r9725... fix gtk+ client build errors in trunk 2009-12-12 14:41:36 +00:00
Charles Kerr e04698c0af (trunk gtk) fix error in GTK+ client's scrape status text 2009-12-10 09:49:46 +00:00
Charles Kerr fce52ac965 (trunk gtk) #2650 "hide empty file list in property dialog for multiple torrents" -- fix minor r9694 oops 2009-12-09 04:48:49 +00:00
Charles Kerr 9b614db1c9 (trunk gtk) #2650 "hide empty file list in property dialog for multiple torrents" -- fixed in trunk for 1.80 2009-12-09 04:47:02 +00:00
Charles Kerr 4e252aa106 (trunk) fix warnings found by the clang static analyzer, reported & patched by wereHamster 2009-12-07 04:06:14 +00:00
Charles Kerr 78ead8c3dd (trunk) update the copyright notices 2009-12-05 02:19:24 +00:00
Charles Kerr a87c15b389 (trunk gtk) #2625: "ability to create a manget link" -- remove the magnet link from the properties dialog; add a "Copy _Magnet Link to Clipboard" menu & context menu item instead 2009-11-29 18:23:06 +00:00
Charles Kerr a38fb59c6f (trunk libT, gtk) #2625 "ability to create a magnet link" -- add hook for generating a magnet link from a tr_torrent, and use it in the Torrent Properties dialog in the GTK+ client 2009-11-29 08:27:55 +00:00
Charles Kerr 1f7db007cc (trunk gtk) in the torrent info dialog, rename the "Tracker" tab to "Trackers". Reported by Rolcol. 2009-11-27 14:50:44 +00:00
Charles Kerr 4322837189 (trunk) remove dead code 2009-11-23 21:57:10 +00:00
Charles Kerr 8d16fdc31b (trunk gtk) #2570: "Select right radio button when changing ratio spin entry" 2009-11-09 21:27:01 +00:00
Charles Kerr 08995988a1 (trunk gtk) #2567: Close the preferences window when the torrent is deleted. 2009-11-09 07:38:22 +00:00
Charles Kerr 2d593502f4 (trunk gtk) fix minor layout/resize errors in the torrent dialog's tracker tab 2009-10-28 03:54:36 +00:00
Charles Kerr f58994b7bf (trunk gtk,qt) #2490: gtk, qt clients' Details dialog doesn't show ETA anymore 2009-10-10 20:42:23 +00:00
Charles Kerr e66f8d06d2 (trunk gtk) #2489: tr_torrentSetAnnounceList() should check for invalid and duplicate announce URLs 2009-10-10 19:24:46 +00:00
Charles Kerr 61042404ad (trunk) replace tr_tracker_stat's "isActive" field with the more descriptive "isBackup" 2009-10-10 00:17:00 +00:00
Charles Kerr f607c7591a (trunk) #2463: 'Mac Client shows huge "next announce in" timer' 2009-10-09 21:30:34 +00:00
Charles Kerr 6a1e524aac (trunk gtk) fix the editing of tracker URLs in the GTK+ client 2009-10-04 02:32:38 +00:00
Charles Kerr 9bf4c599b8 (trunk libT,gtk) plug a couple of minor leaks reported by valgrind 2009-09-26 23:46:30 +00:00
Charles Kerr 4a09a1de13 (trunk) remove tr_stats fields: downloaders, leechers, seeders, timesCompleted as per discussion with livings 2009-09-26 06:20:33 +00:00
Charles Kerr 5b46b63b23 (trunk gtk) implement 'edit trackers' window in gtk client 2009-09-26 00:48:07 +00:00
Charles Kerr 86ada18266 (trunk)
#1699: Announce to multiple trackers at once
#2424: Tracker address is not listed in GTK client.
2009-09-25 21:05:59 +00:00
Charles Kerr 10638fb14a (trunk gtk) fix clang build issue reported by Tronic 2009-09-11 14:34:36 +00:00