Commit Graph

47 Commits

Author SHA1 Message Date
Mike Gelfand bf41e1487a
Switch from gtk to gtkmm (#1969)
* Gtk to gtkmm: main.cc

* Gtk to gtkmm: details.cc

* Gtk to gtkmm: tr-window.cc

* Gtk to gtkmm: tr-prefs.cc

* Gtk to gtkmm: open-dialog.cc

* Gtk to gtkmm: file-list.cc

* Gtk to gtkmm: filter.cc

* Gtk to gtkmm: torrent-cell-renderer.cc

* Gtk to gtkmm: msgwin.cc

* Gtk to gtkmm: makemeta-ui.cc

* Gtk to gtkmm: relocate.cc

* Gtk to gtkmm: stats.cc

* Gtk to gtkmm: dialogs.cc

* Gtk to gtkmm: hig.cc

* Gtk to gtkmm: favicon.cc

* Gtk to gtkmm: icons.cc

* Gtk to gtkmm: tr-icon.cc

* Gtk to gtkmm: actions.cc

* Gtk to gtkmm: notify.cc

* Gtk to gtkmm: util.cc

* Gtk to gtkmm: tr-core.cc

* Gtk to gtkmm: conf.cc

* Glibmm <2.62 compatibility (missing Glib::ustring::sprintf)

* Glibmm <2.56 compatibility (missing Glib::RefPtr<>::get)

* Bump glibmm to 2.50.1+ (C++17 fix in Glib::Variant)

* Fix empty timestamps on message log export (broken by #1444)

* Fix LGTM build issues

* Review fixes
2021-10-18 23:22:31 +03:00
Mike Gelfand d7930984ef Adjust uncrustify config, reformat all but Mac client
There're places where manual intervention is still required as uncrustify
is not ideal (unfortunately), but at least one may rely on it to do the
right thing most of the time (e.g. when sending in a patch).

The style itself is quite different from what we had before but making it
uniform across all the codebase is the key. I also hope that it'll make the
code more readable (YMMV) and less sensitive to further changes.
2017-04-20 10:01:22 +03:00
Mike Gelfand 2248d3670f Get rid of $Id$ SVN keywords in source files 2016-09-02 23:10:15 +03:00
Jordan Lee 1af60ad6ad use '#pragma once' instead of #ifndef..#define..#endif guards 2016-03-29 16:37:21 +00:00
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 c7006ed8b3 (trunk gtk) remove the TrTorrent GObject subclass. 2011-03-03 01:59:25 +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
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 68cc4d902f (trunk gtk) #3416 "clicking close on the transmission window causes new "Quit Transmission?" dialog even if one already exists" -- fixed 2010-07-11 06:46:46 +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 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 0437c5f33e (gtk) try to iron out the remaining "add torrent" issues reported by wereHamster and Lacrocivous 2008-03-18 01:22:11 +00:00
Charles Kerr 0cebab1247 (gtk) #769: when removing a torrent, prompt for confirmation if (a) the torrent is incomplete, (b) the torrent is connected to peers, (c) the user is also deleting the downloaded files. 2008-03-07 17:47:42 +00:00
Charles Kerr 76891225b9 more i18n work. 2008-03-07 03:26:59 +00:00
Charles Kerr a11071e661 (gtk) minor: use "Folder" instead of "Directory", as per the GNOME Desktop Terms list 2008-03-06 20:55:07 +00:00
Charles Kerr f71665e166 (gtk) #748: hig improvements to the `remove torrent' confirmation dialog. 2008-03-02 15:54:58 +00:00
Charles Kerr 851e6ce008 (gtk) make the filename naming scheme a little more consistent. 2008-02-26 19:58:03 +00:00
Charles Kerr bcecbbba99 (gtk) #312: Attention notification when using "Open with" 2008-02-19 05:52:37 +00:00
Charles Kerr c421bc0266 (gtk) add ability to delete downloaded files when deleting a torrent 2008-02-19 03:57:03 +00:00
Charles Kerr 85c49dbbee (gtk) new "add torrent" popup to let users choose which files to download, file priority, add paused, delete source .torrent, etc 2008-02-13 03:00:21 +00:00
Charles Kerr ce6c33b7bf set copyright info to 2008 2008-01-01 17:20:20 +00:00
Charles Kerr daf44d5073 add "don't ask me this again" checkbox to "really quit Transmission?" dialog box 2007-07-16 18:45:51 +00:00
Mitchell Livingston 4ada334f57 patches from Charles Kerr to update the Inspector in GTK and fix some memory leaks 2007-06-06 00:30:13 +00:00
Josh Elsasser 04a175665b Implement addfiles-detailed message. 2007-05-24 10:37:07 +00:00
Josh Elsasser dfffdd17e4 Move torrent adding from callback in main.c to functions on TrCore. 2007-05-24 02:50:28 +00:00
Josh Elsasser eadedea754 Axe the stupid torrent flags. 2007-05-23 19:26:29 +00:00
Josh Elsasser c32c517d46 Preparation for eliminating TrBackend:
move the TrBackend instance into TrCore and add wrapper functions.
2007-05-23 01:47:42 +00:00
Josh Elsasser 3d054d83ca Add files window to properties window as a tab.
Update properties dialog at regular intervals.
2007-04-04 00:32:58 +00:00
Josh Elsasser bb3193f431 Add a window to view a torrent's files. 2007-02-23 06:18:45 +00:00
Josh Elsasser 4943058f72 Merge gtkmisc branch. 2007-02-19 22:09:05 +00:00
Josh Elsasser 60b7749385 Split off the window-related code into a new file.
Bump a couple copyright dates I forgot earlier.
2007-02-07 07:35:33 +00:00
Josh Elsasser e15841cc93 Add an option to always prompt for a download directory. Fixes ticket #116.
Fix a minor memory leak with the 'Add a Torrent' dialog.
2007-02-07 02:59:25 +00:00
Josh Elsasser 0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00
Josh Elsasser e332a8313d Add a debug output window. 2006-08-20 22:45:29 +00:00
Josh Elsasser bc85836809 Change all my 2-clause BSD licenses to the same MIT/X11 license as libtransmission. 2006-08-13 00:26:52 +00:00
Eric Petit f199e0a9d9 Revert [619] 2006-07-16 19:39:23 +00:00
Mitchell Livingston 5d36721a15 Remove old Sparkle... 2006-07-16 19:28:19 +00:00
Josh Elsasser 0a4d97fdca Add support to the GTK GUI for saving private copies of torrent files.
The prefs dialog for this sucks, but it should work.
2006-06-10 06:53:20 +00:00
Eric Petit f98fe6a1b0 Added $Id$ keywords and updated a few headers 2006-05-29 21:21:23 +00:00
Josh Elsasser 229d9c84dc Major internal restructuring for the GTK GUI,
GObject-derived wrappers are used for tr_handle_t and tr_torrent_t.
Use bencoding to store prefs and state file.
Make sure to always group error messages when adding multiple torrents at once.
Remove some unused code.
Many miscellaneous cleanups.
2006-05-03 06:58:16 +00:00
Josh Elsasser 1cfe027fdb Add IPC code for another process to communicate with a running
transmission-gtk instance.
Try to add any filenames found on the command-line, using IPC if
  transmission-gtk is already running.
Some minor code cleanups.
Remove lockfile on a normal exit, justfor the sake of being tidy.
2006-04-25 07:26:27 +00:00
Josh Elsasser 0cc1576999 Turn the download limit off by default. 2006-04-15 03:22:04 +00:00
Josh Elsasser ca267ac99a Add download rate limit to GTK interface. 2006-04-07 14:14:40 +00:00
Eric Petit a1830a25bf Merge from branches/new_api:r161 2006-03-23 12:39:39 +00:00
Josh Elsasser a13a6fbb4e Improve libintl.h search and add a --gettext-prefix configure option.
Update a couple copyright dates that slipped through earlier.
Spell GTK as GTK+ in a couple of places.
2006-02-10 20:52:44 +00:00
Josh Elsasser a2914be847 Rewrite error messages to be less unnecessarily verbose.
Only allow one instance of the preference window at a time.
Beat the dialogs with the GNOME HiG stick.
Handle missing .torrent files on startup better.
2006-02-05 17:33:57 +00:00
Josh Elsasser 8d401347b6 Rename a few files now that we're using subversion and it's easy. 2006-01-30 16:05:18 +00:00
Renamed from gtk/prefs.h (Browse further)