Jordan Lee
3d38723ad9
Follow more common whitespace style conventions in the C code (libtransmission, daemon, utils, cli, gtk).
2012-12-05 17:29:46 +00:00
Jordan Lee
cdd71c6427
(trunk gtk) #4970 remove deprecated GTK+ API calls, raise GTK+ dependency to 3.2
2012-07-14 19:26:55 +00:00
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
4d4eeae682
(trunk gtk) first cut at using GApplication. This lets glib replace hundreds of lines of homegrown code. Whee!
2011-08-09 02:30:31 +00:00
Jordan Lee
8d89a16f4f
remove the gtr_idle_add() portability wrapper around gdk_threads_add_idle() -- it's unnecessary now that the minimum gtk version's been bumped.
2011-08-08 17:10:55 +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
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
270126820a
(trunk gtk) bump the glib2 requirement from 2.8 to 2.26 s.t. transmission-gtk can use glib's GDBus module and drop the glib-dbus library dependency
2011-08-07 16:42:38 +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
d233ea82e7
(trunk gtk) more heap pruning: avoid unnecessary malloc() + free() calls in gtr_get_host_from_url()
2011-04-04 16:54:09 +00:00
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
ae20b67f16
(trunk gtk) remove unused code: gtr_warn_if_fail()
2011-03-04 15:21:00 +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
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
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
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
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
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
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
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
b477d24222
(trunk gtk) add gtr_warn_if_fail(), a portability wrapper for systems too old for g_warn_if_fail()
2010-04-21 19:23:27 +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
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
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
78ead8c3dd
(trunk) update the copyright notices
2009-12-05 02:19:24 +00:00