Commit Graph

242 Commits

Author SHA1 Message Date
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
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 7a53122e1c Add internationalization support for the GTK GUI. 2006-02-04 18:03:05 +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
Josh Elsasser eb72230c05 Merge many small usability improvements for the GTK frontend, as well as a fixing some ugliness in the GTK conf code. 2006-01-25 16:55:45 +00:00
Eric Petit a850cd6910 Update 2006-01-03 2006-01-12 19:04:05 +00:00
Eric Petit f32ca66210 Update 2005-12-29 2006-01-12 19:01:41 +00:00
Eric Petit 943df43518 Update 2005-12-27 2006-01-12 19:00:58 +00:00
Eric Petit 6c0a54caa5 Update 2005-12-25 2006-01-12 18:58:57 +00:00
Eric Petit b5ff15ed70 Update 2005-12-19 2006-01-12 18:56:00 +00:00
Eric Petit 48d7816c11 Update 2005-12-18 2006-01-12 18:55:27 +00:00
Eric Petit fc3d61a46b Update 2005-12-07 2006-01-12 18:48:53 +00:00
Eric Petit 6fb3416215 Update 2005-12-04 2006-01-12 18:47:30 +00:00
Eric Petit 4ac92bd6d0 Update 2005-12-01 2006-01-12 18:45:41 +00:00
Eric Petit 835c3284dd Update 2005-11-24 2006-01-12 18:40:47 +00:00
Eric Petit aad7bf22cb Update 2005-11-18 2006-01-12 18:32:29 +00:00