Commit Graph

870 Commits

Author SHA1 Message Date
Josh Elsasser 478b30c191 Don't rely on on printf field numbers. 2007-03-24 09:23:24 +00:00
Josh Elsasser 92637d591e Optionally return the info hash after attempting to load a duplicate torrent. 2007-03-22 18:07:22 +00:00
Josh Elsasser 494ca91fd6 Append a frontend-specific tag to saved torrents.
This prevents one frontend from deleting a saved torrent used by another.
2007-03-13 06:56:50 +00:00
Josh Elsasser 36c7c9d7d2 Use a new, more flexible version message in ipc.
Don't actually have the server send it yet, old clients can't handle it.
2007-03-12 05:42:39 +00:00
Josh Elsasser 5a62e83689 Don't use sprintf, strcpy, or strcat. 2007-03-12 00:04:11 +00:00
Josh Elsasser 930fa86d0e Fix unintentional change in the add dialog default directory. 2007-02-28 00:58:15 +00:00
Josh Elsasser 67826df085 Use a tr_tracker_info_t * directly in tr_info_t and tr_tracker_t. 2007-02-27 04:00:38 +00:00
Josh Elsasser 90423e818d Sort files in file window case insensitively. 2007-02-23 20:43:18 +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 a0f7446a39 Have file window's progress bars notice theme changes. 2007-02-23 12:27:19 +00:00
Josh Elsasser 963a4fdc81 Clamp file progress to 0.0-1.0
Clear focus when opening files dialog.
2007-02-23 11:49:18 +00:00
Josh Elsasser b1d47df423 Display progress in file window as well as updating periodically. 2007-02-23 11:27:59 +00:00
Josh Elsasser 98ea79c579 Calculate and show directory sizes in file window. 2007-02-23 06:54:49 +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 7fbd08618b New swedish translation. 2007-02-15 20:38:01 +00:00
Josh Elsasser 14dfe61727 Fix typo in comment. 2007-02-15 20:25:44 +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 ea23f0b7ce Add property which allows the text under the progress bar to be turned off. 2007-02-07 05:14:26 +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 664f11d9e1 Add swedish translation from ticket #2 2007-02-07 03:23:45 +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 3a4a6c4251 Fix the 'Automatically start torrent' checkbox,
which has apparently been broken since r320
2007-02-07 00:39:49 +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 c5dd752721 Less awkward wording of a couple of tooltips.
Thanks to Lacrocivious for suggestions.
2007-01-05 16:21:31 +00:00
Josh Elsasser 111fc849d0 Change nat traversal label to something that is hopefully clearer.
Add tooltips to preference dialog.
2006-12-31 16:07:51 +00:00
Josh Elsasser cedcbf701e Catch up with function renaming. 2006-12-27 00:33:22 +00:00
Mitchell Livingston 3374ce9a32 merge multitracker branch:
Adds announce list, support for code 301/302 redirect, improvements to mac inspector, better queueing with errors, random extra wait of up to a minute between announces, and other changes.
2006-12-17 16:36:27 +00:00
Josh Elsasser e0790f955a Avoid doing some potentially bogus things when stopping and deleting a torrent. 2006-12-11 23:12:09 +00:00
Josh Elsasser ff13d6e71b Show total completed downloads in properties window. 2006-12-02 04:31:39 +00:00
Josh Elsasser 7f370e9eaf Add Romanian translation. 2006-10-21 02:58:47 +00:00
Josh Elsasser 35f5f6f8e3 Add a partial Bulgarian translation. 2006-10-18 21:10:12 +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 2b6ba0df07 Improve debug window:
Limit the log to 5000 messages.
  Use a monospaced font.
  Add timestamps.
  Add button to clear the log.
  Add button to save the log to a file.
  Replace radio buttons with popup menu.
2006-09-18 01:26:49 +00:00
Josh Elsasser c926d96e32 Restore Id keyword which was dropped. 2006-08-30 18:10:38 +00:00
Josh Elsasser 93d0f63641 Some fixes for the french translation. 2006-08-27 00:36:23 +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
Josh Elsasser d015042770 Add russian translation. 2006-08-07 23:12:17 +00:00
Josh Elsasser 913355fde8 Add polish translation.
My apologies to Tomasz for forgetting this after he send it to me last month.
2006-08-07 08:51:42 +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 07249c3697 Fix the 'failed to load torrent file' message in the french translation. 2006-07-04 21:28:10 +00:00
Josh Elsasser c0d68e3f3e Add spanish translation. 2006-06-27 01:19:15 +00:00
Josh Elsasser 8456dd144f Add keywords. 2006-06-25 20:32:52 +00:00
Josh Elsasser 7e0d2527cb Add french translation. 2006-06-25 20:00:24 +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 a808ec1ac5 Update italian translation. 2006-06-22 16:14:34 +00:00
Josh Elsasser 5c7ccd478b Update PO template. 2006-06-22 02:11:45 +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 2d055ae6ce Fix a recently-introduced memory leak. 2006-06-11 16:20:56 +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 0600f3d4aa Add support to libtransmission and the MacOS X GUI for saving private copies of
torrent files.
2006-06-09 19:53:35 +00:00
Josh Elsasser e9b1a6bf2d Try harder to use the right color for the progress bar text. 2006-06-01 18:08:45 +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 e72c5580c6 Split and moved makefiles into a seperate folder, fixes and speed-up to
the retrieving of the SVN revision, OS X packages now show the revision
if this isn't a release build
2006-05-31 12:54:53 +00:00
Eric Petit f98fe6a1b0 Added $Id$ keywords and updated a few headers 2006-05-29 21:21:23 +00:00
Josh Elsasser edb1a2a4fa Add a transmissioncli manpage written by deanna@sdf.lonestar.org.
Fix a warning in the gtk frontend on 64-bit platforms.
2006-05-29 07:50:17 +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 f80ab0832f Fix a double-free bug that was causing preference corruption and crashes. 2006-05-07 20:35:50 +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
Josh Elsasser 0cc1576999 Turn the download limit off by default. 2006-04-15 03:22:04 +00:00
Eric Petit 3bce21ad7c Re-link transmissioncli and transmission-gtk when libtransmission.a
has changed
2006-04-10 09:13:15 +00:00
Josh Elsasser 6e9f6ec11e Instead of storing files specific to the gtk frontend directly
in ~/.transmission/, store them in a gtk subdirectory.
2006-04-07 15:41:28 +00:00
Josh Elsasser ca267ac99a Add download rate limit to GTK interface. 2006-04-07 14:14:40 +00:00
Josh Elsasser 8cb58aa4ee Don't print an error if the .depend files don't exist. 2006-04-05 09:45:09 +00:00
Eric Petit fde1bf8876 Nicer make output. Also moved the CLI client to its own folder like
other interfaces.
2006-04-04 20:23:19 +00:00
Josh Elsasser 3f3e6f94c5 Use CFLAGS when generating dependencies for GTK sources. 2006-04-04 10:34:15 +00:00
Eric Petit 235255b8f0 Merge compat-10.2 branch. This adds Jaguar compatibility on OS X, and
completes the Jam -> Make/XCode switch. Hope it doesn't break too much.
2006-04-03 19:29:09 +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 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 d4d75b23ef Display an unknown number of seeders or leechers as ? instead of -1. 2006-02-10 05:58:08 +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 78aa41ac5e Fix ratio calculation to not truncate to a whole number. 2006-02-09 18:16:36 +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 38050332f5 Fix a couple of warnings on netbsd 3. 2006-02-05 16:00:30 +00:00
Josh Elsasser 7a53122e1c Add internationalization support for the GTK GUI. 2006-02-04 18:03:05 +00:00
Josh Elsasser f92117be84 Fix a couple of positioning bugs with right-to-left languages. 2006-02-04 06:14:43 +00:00
Josh Elsasser 60f10df45e Validate that data read from prefs and state files is valid UTF-8. 2006-01-30 20:01:08 +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 9809dcb05d Send stopped and started events to trackers when the listening port is changed,
but without disrupting existing peer connections.
In the GTK prefs dialog, change the port immediately instead of on next invocation.
2006-01-25 17:20:21 +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 23ef3653e3 Update 2005-11-21 2006-01-12 18:33:20 +00:00
Eric Petit aad7bf22cb Update 2005-11-18 2006-01-12 18:32:29 +00:00