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

210 commits

Author SHA1 Message Date
Jordan Lee
f9388714b7 (trunk gtk) add portability wrappers for gtk_hbox_new() and gtk_vbox_new(), which are deprecated now in GTK+ 3.2 2011-10-11 04:11:08 +00:00
Jordan Lee
b5de483362 (trunk gtk) the row and col arguments passed to gtk_table_attach() should be guint. we were using "int" in several places. 2011-08-13 21:08:53 +00:00
Jordan Lee
c00b97169c use a gulong when remembering the return value of g_signal_connect(). we were using a guint in some places. 2011-08-13 21:03:38 +00:00
Jordan Lee
6d1869c33b remove the gtr_timeout_add_seconds() portability wrapper around gdk_threads_add_timeout_seconds(); it's unnecessary now that the minimum gtk version's been bumped. 2011-08-08 17:06:46 +00:00
Jordan Lee
abea9d306f queuing: tweak the status messages for queued torrents 2011-08-08 16:31:52 +00:00
Jordan Lee
0e48418f26 (trunk gtk) since we're bumping glib's requirement to 2.26 (27 Sept 2010), it's a good time to bump the gtk+ requirement to 2.22 (32 Sept 2010). 2011-08-07 18:41:13 +00:00
Jordan Lee
61174b007e (trunk) #671 "torrent queuing" -- Preliminary implementation. Covers libtransmission; GTK+ and Qt clients, and rudimentary web client support. 2011-08-01 22:24:24 +00:00
Jordan Lee
d3e427cfd8 (trunk gtk) #4306 "Bogus <b> and </b> in popup hints" -- fixed. 2011-06-02 20:04:23 +00:00
Jordan Lee
a2432f17e4 (trunk gtk) #4254 "can't see description about Flags" -- fixed. 2011-05-28 00:12:59 +00:00
Jordan Lee
45bdc18210 (trunk gtk) use ngettext() instead of gtr_dngettext() to address https://bugs.launchpad.net/ubuntu/+source/transmission/+bug/760761 2011-05-02 17:58:27 +00:00
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