Commit Graph

265 Commits

Author SHA1 Message Date
Charles Kerr e904f1ddd0 (gtk) #738: Clicking tray icon should show minimized main window 2008-02-27 20:30:51 +00:00
Charles Kerr 9ee96fd0dc add `verify' command to ipc. 2008-02-27 17:38:39 +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 a311e12f9b (gtk) added optional libnotify support to gtk client. (wereHamster, charles) 2008-02-24 15:42:31 +00:00
Charles Kerr bcecbbba99 (gtk) #312: Attention notification when using "Open with" 2008-02-19 05:52:37 +00:00
Charles Kerr deaeb24cb5 cleanup #includes for errno & strerror 2008-02-19 04:16:04 +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 f00959fd88 (gtk) fix minor memory leak reported by valgrind 2008-02-13 16:30:59 +00:00
Charles Kerr 249045641f (gtk) fix minor r5015 oops on setting the default destination directory when pressing the "open" button 2008-02-13 03:21:40 +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 27caa27c6e (gtk) fix #661 regression 2008-02-08 03:51:08 +00:00
Charles Kerr 9411a54b34 (gtk) #376: Use freedesktop icon spec 2008-02-07 20:02:06 +00:00
Charles Kerr 69081669af (gtk) #376: `About' dialog improvements by LucaFerretti 2008-02-07 19:42:54 +00:00
Charles Kerr 864c563ba1 (gtk) get r4932 building on older versions of gtk+ 2008-02-07 01:25:52 +00:00
Charles Kerr 65f043a339 (gtk) #686: "Minimize to tray" 2008-02-07 01:10:34 +00:00
Charles Kerr b0103174f6 fix r4911 crash reoprted by wereHamster 2008-02-03 18:30:54 +00:00
Charles Kerr d5ecdefc2c (gtk) #677: hig tweaks 2008-02-03 17:10:03 +00:00
Charles Kerr 21f91ae5be (gtk) #611: don't hide in the systray without letting the user know 2008-02-03 01:43:47 +00:00
Charles Kerr c58e905d11 (gtk) #661: Window position is not restored when unhiding from the systray 2008-01-29 16:54:59 +00:00
Charles Kerr 00a9df7291 (gtk) #662: It is possible to have several information windows for the same torrent 2008-01-28 22:18:43 +00:00
Charles Kerr c38bfdc481 (gtk) #634 add option to start in the systray 2008-01-23 16:22:52 +00:00
Charles Kerr 9a118eeff5 (gtk) use libevent's decode_uri() and libT's tr_mkdirp() instead of reinventing the wheel. 2008-01-20 15:50:42 +00:00
Charles Kerr 756bacd076 (gtk) #616: tray icon info popup, suggested by inferneux and seconded a few times in the forums. 2008-01-16 16:03:18 +00:00
Charles Kerr 6c1c7d5cf7 disable the `details' button if more than one torrent is selected. 2008-01-03 23:54:29 +00:00
Charles Kerr c04914e5ff (gtk) fix crash when deleting multiple torrents from a filter view 2008-01-02 21:45:06 +00:00
Charles Kerr ce6c33b7bf set copyright info to 2008 2008-01-01 17:20:20 +00:00
Mitchell Livingston 4723192946 replace other instances of the old url 2007-12-31 01:19:35 +00:00
Charles Kerr 6e9b5966a5 (gtk) fix ticket #560, faulty handling of bad command-line options 2007-12-30 18:23:45 +00:00
Charles Kerr 6c562a770d (gtk) reduce the load a little bit more when all the rows are selected. 2007-12-28 06:22:40 +00:00
Charles Kerr e781dfb03d (gtk) fix bug when removing torrents from a filtered view 2007-12-28 00:52:54 +00:00
Charles Kerr 35adeec1d0 (gtk) fix startup port issue by hitting it with a damn big hammer 2007-12-24 07:02:40 +00:00
Charles Kerr 401cfbdb6b replace the per-torrent PEX setting with a global one, as per discussion with SoftwareElves and BentMyWookie 2007-12-24 05:03:40 +00:00
Charles Kerr 54f1ee06d4 (gtk+) first cut of a filter bar 2007-12-24 00:14:39 +00:00
Charles Kerr b51af2e799 (gtk) yin/yang icon: add a pulldown menu for {total,session}{ratio,transfer} 2007-12-20 19:21:21 +00:00
Charles Kerr 6b6a73a1b4 more progress on prefs + event integration 2007-12-19 19:16:36 +00:00
Charles Kerr b0e1a8b8cd cleaner actions/prefs integration. 2007-12-19 18:42:33 +00:00
Charles Kerr ae682b59be that last commit was kind of silly... "sort by ratio" can be merged into "sort by progress" 2007-12-19 07:10:47 +00:00
Charles Kerr 9ed991657e (gtk) add sort-by-ratio 2007-12-19 07:03:28 +00:00
Charles Kerr 1a1eb1fa67 first cut at adopting some of the OS X client's main list UI into the gtk+ client 2007-12-19 02:46:30 +00:00
Charles Kerr 0fa3fb0d67 use a modified version of werehamster's improvements to the gtk gui at shutdown 2007-12-14 18:36:19 +00:00
Charles Kerr 4ae2350a97 r4012 didn't work for gtk+ versions < 2.10.0 2007-11-29 15:49:58 +00:00
Charles Kerr 5e4304f207 use the `network' stock icon in the "closing connections" dialog 2007-11-29 04:48:27 +00:00
Charles Kerr 4f1837c891 put a shutdown message in the gtk+ client - http://img208.imageshack.us/img208/7118/closinggy4.png 2007-11-29 02:32:10 +00:00
Charles Kerr 24c2d30a7c remove dead code to roll the odometer to 4000!!1! 2007-11-27 04:33:59 +00:00
Charles Kerr dbc9a4aabe add stats dialog to the gtk+ client 2007-11-27 03:29:51 +00:00
Charles Kerr ebc8f34f48 fix bug in gtk client that caused torrent changes to show up too slowly in the GUI 2007-11-23 15:36:31 +00:00
Charles Kerr 355f96e660 Rename "Debug Window" as "Message Log", which is the terminology the OS X client uses too 2007-11-18 02:32:46 +00:00
Charles Kerr 96629d16db clear the gtk+ gui before calling tr_close() 2007-11-11 20:38:59 +00:00
Charles Kerr 14bd1d7408 sync our shutdown code to BentMyWookie's latest tr_close() changes. 2007-11-09 16:11:10 +00:00
Charles Kerr 747cd0b396 (gtk) if two torrents are selected -- one running, one paused -- both "pause" and "resume" buttons should be enabled. reported by glyphobet. 2007-10-26 23:29:19 +00:00
Charles Kerr c50cadbcaa remove dead code (TR_STATUS_ACTIVE, TR_STATUS_INACTIVE) 2007-10-20 22:07:21 +00:00
Charles Kerr 31646bcfb9 (gtk) remember between sessions which column is used for sorting in the main window's torrent list 2007-10-17 18:31:12 +00:00
Charles Kerr bb84cb9f09 janitorial work for the freeze: (1) finish replacing "transmission-gtk" with "transmission". (2) add Charles to authors lists in man pages. (3) standardize the summary as "A fast and easy BitTorrent client" in the rpm spec, gtk about dialog, and man pages. (4) fold together similar translation strings in the gtk client. (5) use g_strerror instead of strerror in the gtk client. 2007-10-13 17:33:53 +00:00
Charles Kerr 3e878aeba9 tweak the debugging messages a bit. 2007-10-13 14:02:10 +00:00
Charles Kerr 39c8a02497 various gtk cleanups. 2007-10-13 03:15:02 +00:00
Charles Kerr ddcd160449 config file and dead code cleanup. 2007-10-12 20:50:03 +00:00
Charles Kerr 2e6ebae16e code cleanup: let glib do more of the heavy lifting w.r.t. parsing command-line arguments, drag-and-drop strings 2007-10-12 19:53:30 +00:00
Charles Kerr 0daff33814 minor tweaks: (1) list `None' instead of `0 b' for zero bytes, such as in UL speed or the "corrupted" field. (2) the properties icon is too horrible to keep -- use `torrent details' instead. (3) list active maintainers first in credits. (4) tweak the "about" dialog's client description a bit to better match the style of other gtk+ apps. 2007-10-10 18:52:08 +00:00
Charles Kerr 7280551e2f more HIG correctness 2007-10-10 18:20:52 +00:00
Charles Kerr 8e840f871c Better GNOME Integration (#338): (1) follow HIG recommendation that dialog titles be the name of the command that opened the dialog (2) rename stop-torrent as pause-torrent in the underlying gtk code 2007-10-10 17:25:56 +00:00
Charles Kerr add634ead9 make the gtk translation files play nicely with autoconf 2007-10-08 15:37:33 +00:00
Charles Kerr 7e5dbd38b5 now that the gtk+ prefs are unfucked, add an "ignore unencrypted peers" preference. 2007-09-28 00:46:22 +00:00
Charles Kerr 713ded5ff4 preferences code refresh in the gtk+ client 2007-09-27 20:57:58 +00:00
Charles Kerr 1801f59f49 accept some of the ideas in ticket #343 -- add logo and description in `about' dialog, and unbundle our lock icon because gtk+ has a stock authentication icon. 2007-09-23 22:20:01 +00:00
Charles Kerr 7f91ca4bfc accept patch from Infernux to add toggles to the tray menu. (#339) 2007-09-21 16:29:09 +00:00
Charles Kerr fb70a9cca0 remove the backwards compatability typedefs at BentMyWookie's suggestion. update libT, gtk, daemon, and cli accordingly... 2007-09-20 20:14:13 +00:00
Mitchell Livingston 76da1185ca merge encryption branch to trunk (xcode project is still out of date) 2007-09-20 16:32:01 +00:00
Charles Kerr 1be185aacd (libT) get "update tracker" working again.
(gtk) add "update tracker" button.
2007-07-30 17:11:00 +00:00
Charles Kerr d7cf675c38 (gtk) add select-all, deselect-all 2007-07-30 15:51:37 +00:00
Charles Kerr feb85f8957 gtk: fix minor "unused variable" warning. 2007-07-25 16:04:27 +00:00
Charles Kerr 177eb99e94 use tr_loadTorrents() during startup. 2007-07-23 03:03:45 +00:00
Charles Kerr bbac082af5 finish splitting the rate control from one state into two states as requested by BMW 2007-07-20 08:33:59 +00:00
Charles Kerr ad63c84b47 on second glance, there are even more issues that keep us from working w/2.4. still, 2.6 was released in 2004, so it's not like we're on the bleeding edge here. 2007-07-19 03:36:29 +00:00
Charles Kerr 93ea89eba3 Transmission won't be as pretty and shiny for gtk+ 2.4 users, but it will compile and work for them 2007-07-19 03:16:30 +00:00
Charles Kerr 0939d13a72 almost done reverting. 2007-07-19 00:09:09 +00:00
Charles Kerr bd3ce76fa5 part one of moving the build environment over to automake/autoconf. beware! 2007-07-18 23:04:26 +00:00
Josh Elsasser a3e790f403 Replace bzero() with memset().
Define AF_LOCAL and SUN_LEN for systems that lack them.
Don't mix function and non function pointers without casting.
Fix a potential type mismatch in assignment.
2007-07-18 17:28:25 +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
Charles Kerr 5455df4373 update versioning scheme as per consensus between TMT, John_Clay, Gimp_, and charles_ 2007-07-10 19:40:21 +00:00
Charles Kerr 7e09d157cd Thread safety improvements. Also, stopping/starting/rechecking/etc. torrents no longer blocks the calling thread. Since this a big commit, it will probably create some short-term pain via new bugs. 2007-06-26 18:45:03 +00:00
Charles Kerr ab85deaf51 add color-coded lines to the gtk debug window -- info is black, debug is grey, errors are red... 2007-06-22 20:59:23 +00:00
Mitchell Livingston 0256f4616d Merge file selection and torrent creation into the main branch.
The new code for these features is under a new license.
2007-06-18 03:40:41 +00:00
Charles Kerr b96a30d7c1 Work with gtk < 2.8 2007-06-09 17:08:25 +00:00
Charles Kerr 7b28aa2156 gtk: added "about" window; refreshed translation potfile; wrote a simple script so every release I don't have to re-learn how to make potfiles. 2007-06-09 15:20:32 +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 a12da10722 Move preference saving from TrPrefs to TrCore.
Update the preference window when a preference is changed.
2007-05-24 13:55:57 +00:00
Josh Elsasser 04a175665b Implement addfiles-detailed message. 2007-05-24 10:37:07 +00:00
Josh Elsasser 4657345141 Add torrent hash to model.
Implement lookup, remove, start, and stop messages.
2007-05-24 09:18:03 +00:00
Josh Elsasser 2e1773a974 Use a signal in TrCore instead of a callback to signal quit. 2007-05-24 03:29:23 +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 cc1394b1d6 Add signal mechanism for reporting error from TrCore.
Use error signal for errors when adding torrents and saving state.
2007-05-23 17:59:35 +00:00
Josh Elsasser 787e17135a Untangle the gordian references between TrCore and TrTorrent. 2007-05-23 06:25:15 +00:00
Josh Elsasser a19989c544 Merge TrBackend into TrCore. 2007-05-23 04:39:06 +00:00
Josh Elsasser 51b8ea47c9 Move model appending, updating, and deleting to TrCore.
The TrTorrent refcounting clusterfuck should be isolated from main.c now.
2007-05-23 02:45:28 +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 89cc48f0e8 Move main model into a new TrCore wrapper class. 2007-05-23 00:49:31 +00:00
Josh Elsasser e850bd7df8 Close the main window on a dock icon click if it is already open. 2007-04-23 19:27:03 +00:00
Josh Elsasser b86b3e8a30 Add remaining file download to properties window. 2007-04-04 00:56:17 +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 b29d8e4342 Make evil initial window sizing magic a bit less evil and a bit less magic. 2007-04-03 08:18:53 +00:00
Josh Elsasser 4d7b4b536f Add preference option to disable PEX. 2007-03-31 19:19:27 +00:00
Josh Elsasser 478b30c191 Don't rely on on printf field numbers. 2007-03-24 09:23:24 +00:00
Josh Elsasser 899f2ab27e Spruce up the menu a bit and add it to a menubar and the tray icon. 2007-02-23 19:50:48 +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 79a6540b46 Set a window icon. 2007-02-07 05:08:53 +00:00
Josh Elsasser 603a374a6b Add a .desktop file. Based on ticket #153. 2007-02-07 04:19:12 +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 f67ad8cf47 Add a new interface to make the public port available to the frontend. 2007-02-06 04:26:40 +00:00
Josh Elsasser 263bf6ff0c Check for private flag in main dict too. 2007-01-27 22:37:10 +00:00
Eric Petit 7a6401c7b4 Split transmission.c: everything related to the accept/upnp/choking
thread was moved to shared.c
2007-01-19 04:42:31 +00:00
Eric Petit e5e6a8b5df Merge io branch into trunk 2007-01-14 12:00:21 +00:00
Josh Elsasser 3f9a55b194 Fix a stupid mistake that could cause the fastresume data to not be saved on exit. 2006-10-18 21:09:34 +00:00
Josh Elsasser 0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00
Josh Elsasser bec163be16 Revert a change that was made on the wrong branch. 2006-09-25 07:17:43 +00:00
Josh Elsasser 1b8280df3e Fix logic error in exit check. 2006-09-23 06:29:32 +00:00
Josh Elsasser 43e6dd56aa Rework the message stuff again to be easier on the frontend. 2006-08-22 02:12:58 +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
Josh Elsasser e128a854ea Replace the old progress cell renderer with a new one for silly license reasons. 2006-08-13 00:22:05 +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 6db1a57d14 When quitting, check more frequently if torrents are closed. 2006-07-14 21:46:32 +00:00
Josh Elsasser 02e5485c0f Move the ETA cap of 99:59:59 from libtransmission to the MacOS X GUI.
Display the ETA better in the GTK GUI.
2006-07-04 22:31:14 +00:00
Josh Elsasser eba089b5ed Fix drag-and-drop.
It's better to use memory before you free it, not after.
2006-06-25 19:03:54 +00:00
Josh Elsasser 8194ed1208 Increase the exit timeout from 5 seconds to 10.
Increase the update and exit check interval from .5 seconds to 1.
2006-06-20 06:13:06 +00:00
Josh Elsasser 1f4856ed6a Quickly work around a weird bug where the progress bar could blink in and out of
existence by forcing it to always be visible.
2006-06-19 04:19:13 +00:00
Josh Elsasser 82889c9cf7 Fix column and initial window sizing. 2006-06-18 07:41:36 +00:00
Josh Elsasser 738f24d46d Add -h and -v command-line options. 2006-06-11 06:08:58 +00:00
Josh Elsasser 85a36967d2 Remove the separate preference option for files added via drag-and-drop
and use the "standard" option.
2006-06-11 05:04:27 +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
Josh Elsasser 672172e10a Wait and try to send a stopped event when removing a torrent. 2006-05-31 23:20:59 +00:00
Eric Petit f98fe6a1b0 Added $Id$ keywords and updated a few headers 2006-05-29 21:21:23 +00:00
Josh Elsasser 30a89e1f70 Allow column resizing and ellipsize long torrent names.
merged from rev 311 of repository 3a18642e-ffe5-da11-b5ee-000e0c69aae8
2006-05-20 23:38:37 +00:00
Josh Elsasser 0a77d36380 Trying to free nonexistent memory is bad, mmkay?
(refs http://transmission.m0k.org/forum/viewtopic.php?t=302)
2006-05-05 20:57:42 +00:00
Josh Elsasser 49fccfd96e Some minor code cleanups.
Handle things a little better when quitting.
2006-05-03 10:09:11 +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 844d0e3520 Make padding of dialogs look a little better.
Respect GNOME's toolbar settings.

Patch from forum user /dev/urandom.
2006-04-29 16:29:04 +00:00
Josh Elsasser cf56d58f06 A couple minor i18n cleanups.
Add italian translation.
Add an install make target for transmissioncli and transmission-gtk.
2006-04-25 08:14:37 +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
Eric Petit a1830a25bf Merge from branches/new_api:r161 2006-03-23 12:39:39 +00:00
Josh Elsasser ceefe97ce2 GTK:
Adjust the number of decimals shown with sizes based on the number size,
 as is done with the ratio.
2006-02-24 14:07:38 +00:00
Josh Elsasser 2466d6e3bc Display --:--:-- instead of 00:00:00 as the ETA. 2006-02-15 22:55:59 +00:00
Josh Elsasser e1671b50e6 Rewrite the drag and drop code to handle multiple files (oops),
as well as being much more robust about misformatted file URIs.
2006-02-10 01:49:10 +00:00
Josh Elsasser c5181f72e2 Whoops, use download and upload *totals* instead of *rate* to calculate ratio. 2006-02-08 14:15:59 +00:00
Josh Elsasser 7230f1113c Minor change to improve drag-and-drop compatibility. 2006-02-08 04:45:46 +00:00
Josh Elsasser 187bbf909e Show seeders and leechers in properties window.
Show ratio instead of download rate when torrent is finished.
2006-02-07 17:15:16 +00:00
Josh Elsasser fa3e10b2c0 Implement drag-and-drop to allow files to be dropped into the main window.
Use locale-independent functions when parsing state file.
2006-02-06 05:48:26 +00:00