Jordan Lee
433da8df9a
(trunk gtk) gtr_compare_double() is only used in one place, so make it a private function there instead of leaving it public in utils.h
2011-03-24 18:32:05 +00:00
Jordan Lee
a891136602
(trunk gtk) gtr_localtime() is only used in one place, so make it a private function there instead of leaving it public in util.h
2011-03-24 18:29:07 +00:00
Jordan Lee
e46d0a72ba
(trunk gtk) gtr_cell_renderer_get_padding() is only used in one place, so make it a private function there instead of leaving it public in util.h
2011-03-24 18:24:21 +00:00
Jordan Lee
5417711cd4
(trunk gtk) remove function gtr_strcmp0, which is redundant due to tr_strcmp0
2011-03-24 18:20:47 +00:00
Jordan Lee
e45a6dabc9
(trunk gtk) fix 2.22+ time display regression in the GTK+ client.
2011-03-11 04:10:28 +00:00
Jordan Lee
9145bce9cd
(trunk gtk) fix time display oops
2011-03-06 15:06:38 +00:00
Jordan Lee
c7006ed8b3
(trunk gtk) remove the TrTorrent GObject subclass.
2011-03-03 01:59:25 +00:00
Jordan Lee
be99878e98
(trunk gtk) #3971 "favicons do not work for IP addresses" -- fixed.
...
gtr_get_host_from_url() wasn't written to handle dotted-quad or IPv6 address strings, but can handle them now.
2011-02-01 01:38:58 +00:00
Jordan Lee
d6518b93b8
(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.
2011-01-21 21:35:11 +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
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
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
5c53e35dbf
(trunk gtk) #3836 "libevent2 support" -- remove "#include <evhttp.h>" from gtk/ client
2010-12-24 09:23:57 +00:00
Charles Kerr
f5b13c46dc
(trunk gtk) #3847 "GTK+ 3 transition: Use accessor functions instead direct access" -- don't directly access GtkCellRenderer.xpad, GtkCellRenderer.ypad, or GtkWidget.window.
2010-12-24 09:04:52 +00:00
Charles Kerr
ba2e18b0c3
(trunk, gtk) some code cleanup: (1) details dialog handler, (2) selection change handler
2010-12-23 22:31:28 +00:00
Charles Kerr
a297cd328a
(trunk gtk) add GTR_UNICODE_BULLET
2010-12-22 07:00:25 +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
c0723bcac8
remove unused code: gtr_toolbar_set_orientation() is unnecessary because we always use the default setting
2010-12-21 16:50:41 +00:00
Charles Kerr
27a1b2dc33
(trunk) one of the periodic, banal "remove-trailing-spaces from lines of source code" cleanup commits
2010-12-12 16:43:19 +00:00
Charles Kerr
d908c7fc9e
(trunk gtk) #3635 "transient children of the main window aren't hidden when the main window is hidden to the notification area" -- fixed in trunk for 2.11.
2010-10-15 23:23:57 +00:00
Charles Kerr
60132d3781
(trunk gtk) #3543 'wrong link in the about window' -- separate gtr_open_file() from gtr_open_uri()
2010-09-22 16:44:38 +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
Charles Kerr
e934290980
(trunk gtk) portability: use g_dngettext() instead of ngettext()
2010-08-06 14:38:54 +00:00
Charles Kerr
49e23db0fe
(trunk gtk) more dead code removal
2010-08-02 22:45:38 +00:00
Charles Kerr
36064b8120
(trunk gtk) rewrite the main window's drag-and-drop handler s.t. it's GTK+ 3 compliant
2010-08-02 22:31:31 +00:00
Charles Kerr
59f5f3ed6b
(trunk gtk) replace tr_strcmp() with gtr_strcmp0(), a porability wrapper around g_strcmp0()
2010-08-01 19:13:34 +00:00
Charles Kerr
3fa4865863
(trunk) #3450 "regression: Qt client dbus support broken" -- fixed
2010-08-01 18:55:04 +00:00
Charles Kerr
e6bafdf26b
(trunk) #3045 "size units" -- sync the default units in all the apps s.t. they're consistent with each other
2010-07-28 00:31:11 +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
f4438e6983
(trunk gtk) minor cleanup to last night's ComboBox utilities
2010-07-23 19:10:02 +00:00
Charles Kerr
59e8e02af2
(trunk gtk) add utility function for creating a combobox that shows the values of an enum list
2010-07-23 06:54:49 +00:00
Charles Kerr
71cadc02b6
(trunk web) #3413 "download speed bad format in web interface" -- fixed.
2010-07-10 02:05:25 +00:00
Charles Kerr
52c04a0d06
(trunk) some units formatter cleanup.
2010-07-09 20:53:38 +00:00
Charles Kerr
610061f79a
(trunk T) #3045 "units" -- modify the formatter functions based on feedback from BMW
2010-07-06 20:25:54 +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
f097e05d7b
(trunk gtk) add portability wrapper for gtk_widget_get_realized() in gtk+ < 2.20
2010-06-26 16:07:15 +00:00
Charles Kerr
c927189fed
(trunk gtk) #3348 "Add URL doesn't warn upon corrupt torrents" -- fixed.
2010-06-25 17:40:55 +00:00
Charles Kerr
79ca1fb96a
(trunk gtk) #3336 "gtk client confuses magnet links as files and tries to trash them" -- fixed
2010-06-23 16:32:02 +00:00
Daniel Lee
bbe9e9843a
#3298:Prettier formating of percentages
2010-06-22 22:30:58 +00:00
Charles Kerr
1d63aa4cda
(trunk) add tr_formatter_size() and tr_formatter_speed() so that all the client apps don't have to reinvent the wheel
2010-06-22 04:34:16 +00:00
Charles Kerr
2f56196206
(trunk) add "filename" arg to the dbus message when passing a .torrent from one instance of Transmission to another
2010-06-03 19:53:01 +00:00
Charles Kerr
56e614b66d
(trunk gtk) remove function gtr_localtime2()
2010-05-28 19:43:37 +00:00
Charles Kerr
ceb95424c4
(trunk gtk) #3174 "Use IEC standard units (KiB, MiB, GiB) instead of (KB, MB, GB)" -- don't use g_format_size_for_display(), since we can't control what units it uses
2010-04-28 01:38:20 +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
ceba9e6722
(trunk gtk) #3143 "remote RPC calls cause gtk+ API calls to be made from the wrong thread" -- fixed in trunk for 2.00
2010-04-21 04:38:54 +00:00
Charles Kerr
dcc7b0de56
(trunk gtk) tinker with compact mode a little bit
2010-03-20 14:53:08 +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
3b82968c31
(trunk gtk) #2864 "when adding a non-BitTorrent magnet link fails, explain why to the user" -- implemented for GTK+ client for 1.90
2010-02-05 13:59:44 +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
a334b422c3
(trunk) remove unnecessary #includes
2010-01-28 13:33:40 +00:00
Charles Kerr
32be71309f
(trunk gtk) fix another small memory error in the gtk+ client found by valgrind
2010-01-20 17:43:00 +00:00
Charles Kerr
5e5d11bdb3
(trunk gtk) remove two more minor memory leaks in the GTK+ client found by valgrind
2010-01-12 14:16:19 +00:00
Charles Kerr
fa94830df1
(trunk gtk) remove a few very minor memory leaks in the GTK+ client
2010-01-11 21:54:54 +00:00
Charles Kerr
5c26afdb52
happy new year!
2010-01-04 21:00:47 +00:00
Charles Kerr
1457567880
(trunk gtk) make check_filenames() a private function
2009-12-18 05:56:41 +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
7d0cd82014
(trunk gtk) #2096 "magnet links" -- if a user (or, more likely, web browser) starts up a second copy of Transmission to add a magnet link via its command line, delegate that magnet link back to the already-running copy of Transmission via DBus.
2009-11-29 20:35:48 +00:00
Charles Kerr
66880acfc7
(trunk gtk) fix r9625 oops on adding torrents by their raw 40 character hex hashcode from the commandline in the GTK+ client
2009-11-29 08:29:57 +00:00
Charles Kerr
c841adaf56
(trunk gtk) support adding torrents by their raw 40 character hex hashcode
2009-11-29 07:42:39 +00:00
Charles Kerr
f69e335291
(trunk) #2096 : Magnet, BEP #9 support
2009-11-24 02:16:31 +00:00
Charles Kerr
0356a9f3d9
(trunk gtk) tweak the last commit a little.
2009-11-22 22:53:31 +00:00
Charles Kerr
c06d889269
(trunk gtk) #2556 : add a torrent from a URL. works from the menu and from URLs passed in the command line at startup
2009-11-22 16:20:22 +00:00
Charles Kerr
5b46b63b23
(trunk gtk) implement 'edit trackers' window in gtk client
2009-09-26 00:48:07 +00:00
Charles Kerr
149f8c90d8
(trunk gtk) add a Donate item to the Help menu
2009-09-10 17:39:44 +00:00
Charles Kerr
e2744cc376
(trunk gtk) #2337 : GTK+ Tree view columns in the files dialog should be resizable. Thanks to lethalman for the patch
2009-08-15 21:14:44 +00:00
Charles Kerr
61e95595b8
(trunk) move tr_lockfile from libtransmission/ to gtk/, since the gtk client is the only one who uses it anymore
2009-08-14 12:53:08 +00:00
Charles Kerr
cb79214854
(trunk) remove trailing spaces
2009-08-10 20:04:08 +00:00
Charles Kerr
1c3b53244d
(trunk) clean up the return value of tr_torrentParse()
2009-08-05 01:59:16 +00:00
Charles Kerr
450cfb74af
(trunk gtk) minor tweak: replace mkdir_p() with gtr_mkdir_with_parents() for symmetry with glib
2009-07-22 20:39:12 +00:00
Charles Kerr
d7e837c814
remove some unused utilities. better commenting on the utils that remain.
2009-07-22 15:55:48 +00:00
Charles Kerr
a59ab6b631
(trunk gtk) try to make hudson-t happy
2009-06-29 17:52:24 +00:00
Charles Kerr
bd5c9cf3a8
(trunk gtk) #2251 : gtk client should use GDK-safe versions of g_idle_add() and g_timeout_add*()
2009-06-29 17:22:35 +00:00
Charles Kerr
1ae47c697d
(trunk) silence some minor gcc warnings
2009-06-23 14:15:23 +00:00
Charles Kerr
a8a4259f3a
(trunk gtk) update some of the gtk+ calls s.t. we're not using deprecated API calls anymore
2009-06-20 23:55:36 +00:00
Charles Kerr
6e10ee3baa
(trunk gtk) #2197 : Adding a torrent from a browser sometimes doesn't work
2009-06-11 14:51:21 +00:00
Charles Kerr
8e6eee683f
(trunk) on non-mac platforms, try not building our own copy of libevent 1.4.x
2009-06-03 15:47:08 +00:00
Charles Kerr
12089cc883
(gtk) fix a couple of new gtk bugs reported by Rolcol
2009-04-25 14:08:40 +00:00
Charles Kerr
0a546f2e51
(trunk gtk) more cleanup from yesterday's property dialog rewrite
2009-04-24 15:24:43 +00:00
Charles Kerr
03a7251054
(trunk) make it possible to #include "version.h" without having to add -I${TOP}/libtransmission/ to your CFLAGS
2009-04-13 19:04:21 +00:00
Charles Kerr
d97a387e60
(trunk gtk) implement gtr_widget_set_tooltip_text() for gtk < 2.12
2009-03-30 16:16:38 +00:00
Charles Kerr
f1d92708e7
(trunk) more speedlimit work
2009-03-28 16:47:01 +00:00
Charles Kerr
63f023f71c
(gtk) huge multi-megabyte speeds weren't being generated correctly.
2009-03-23 00:15:29 +00:00
Charles Kerr
542526ce29
(trunk gtk) minor tweaks
2009-03-05 17:18:36 +00:00
Charles Kerr
41b0cc8cdd
(trunk) libT and gtk+ parts for #1889 : per-torrent vs. global speed limit confusion
2009-03-04 19:52:57 +00:00
Charles Kerr
93b3d1ad7e
(trunk) #1881 : promote tr_strratio() to libtransmission, so that its code doesn't have to be repeated in all the clients
2009-03-04 16:16:02 +00:00
Charles Kerr
c2fc713111
(trunk gtk) #1881 : Displayed ratio should be truncated, not rounded
2009-03-04 15:37:54 +00:00
Charles Kerr
33aab046f5
(trunk gtk) use g_remove() instead of g_unlink() so that folders can be deleted too
2009-01-22 20:46:21 +00:00
Charles Kerr
df81c6546c
(trunk gtk) #1690 : Torrent is completed without ever starting (because there's nothing to download)
2009-01-13 01:44:59 +00:00
Charles Kerr
303356d110
(trunk) #1029 : When removing local data only remove data from the torrent
2008-12-23 16:04:11 +00:00
Charles Kerr
e44239fc4e
(trunk gtk) #1585 : use g_timeout_add_seconds() where appropriate to group timers together for fewer scheduled wakeups
2008-12-22 05:39:03 +00:00
Charles Kerr
1415b72017
#1336 : fix some compiler warnings when building with -Wformat-security
2008-10-09 20:03:34 +00:00
Charles Kerr
4bf3577fba
(gtk) #1306 : clicking in a blank area in a list clears the selection.
2008-09-27 18:01:31 +00:00
Charles Kerr
cc89872dd4
run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened
2008-09-23 19:11:04 +00:00
Charles Kerr
ddac7c3404
(gtk) unclutter the prefs dialog a bit
2008-09-03 16:29:59 +00:00