Commit Graph

293 Commits

Author SHA1 Message Date
Charles Kerr 008938b62f set a default window size for the debug window 2007-06-27 18:34:38 +00:00
Charles Kerr 47a5ff4120 add tr_torrentCanAdd() as per BentMyWookie's request... clear tracker error string when restarting... fix r2202 "completed" announce bug. 2007-06-27 05:14:38 +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 c2cd3a89be remove a debugging console message that shouldn't've been checked in 2007-06-26 17:36:40 +00:00
Charles Kerr 496cf6d63a fix minor oops 2007-06-23 00:00:19 +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
Charles Kerr b07c8df3cf Fix torrent-inspector bug reported in the forums by webaake 2007-06-20 15:55:27 +00:00
Charles Kerr 5a375d90e2 fix double-free memory error in gtk client when reading corrupt torrent files 2007-06-19 16:36:59 +00:00
Charles Kerr 06e761d950 * fix error checking large files reported by Gimp_
* portability changes to pathname/filename building
* small gratuitous changes
2007-06-18 19:39:52 +00:00
Charles Kerr f7cd20f58c (gtk) fix compile-time warnings on 32-bit machines 2007-06-18 13:51:41 +00:00
Charles Kerr 1388c51142 fix the bug Lacrocivious found in the gtk+ "create torrent" dialog 2007-06-18 04:52:03 +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 2006882927 (trunk - gtk) in prefs dialog, changes to the download directory weren't always honored. 2007-06-11 17:21:08 +00:00
Josh Elsasser 78a4e7d51e Send bad-format instead of not-supported where appropriate.
Implement supported message.
2007-06-10 23:56:35 +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
Charles Kerr 5d9fe27797 Ticket #217: Missing Progress in GTK+ Torrent Inspector (reported by CatharsisCarth) 2007-06-09 00:34:39 +00:00
Charles Kerr ecf19e2528 fix torrent-inspector memory leaks 2007-06-07 17:53:54 +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
Mitchell Livingston de37792d9a update files to recognize the new "waiting to check" state 2007-05-28 18:37:47 +00:00
Mitchell Livingston 0f9766145b patch from Charles Kerr: perform file checking one at a time (fixes #124) 2007-05-28 15:23:28 +00:00
Josh Elsasser 6d9472edc8 Massage types a bit to silence some warnings and add a couple missing headers. 2007-05-27 16:31:16 +00:00
Josh Elsasser 64b5583a10 Implement messages to change preference values. 2007-05-24 13:56:26 +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 bdb6b77e38 Implement the various get messages to retrieve settings.
Hope these work, nothing uses them that I know of so no testing.
2007-05-24 11:16:53 +00:00
Josh Elsasser 04a175665b Implement addfiles-detailed message. 2007-05-24 10:37:07 +00:00
Josh Elsasser 02aa6305ac Implement removeall, startall and stopall messages. 2007-05-24 09:28:15 +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 80c7f8c922 Add ipc id to TrCore model.
Implement info and stat ipc messages.
2007-05-24 07:51:37 +00:00
Josh Elsasser c7ff9bdcf1 Return response for tagged add message.
Support noop message.
2007-05-24 06:15:48 +00:00
Josh Elsasser eea5e1df5d Switch to ipc version 2. 2007-05-24 05:46:23 +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 81a6d96d6e Remove tr_handle_t argument from tr_torrentClose(). 2007-05-23 04:45:20 +00:00
Josh Elsasser a19989c544 Merge TrBackend into TrCore. 2007-05-23 04:39:06 +00:00
Josh Elsasser 61263c844e Fix deleting a torrent which has a properties window open.
(this should be merged if there is ever a 0.73)
2007-05-23 04:38:35 +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 efd1ac7d65 Update size units in finnish translations.
Add translations of Comment to .desktop file.
2007-04-19 21:14:45 +00:00
Josh Elsasser e9e80b16db Remove the old russian translation of the program name. 2007-04-19 19:09:29 +00:00
Josh Elsasser 132e4f5c8c Merge daemon branch to trunk. 2007-04-18 16:39:10 +00:00
Josh Elsasser a3836c8d9c Bump version to 0.7. 2007-04-18 14:06:52 +00:00
Josh Elsasser 5e61c847f0 Add finnish gtk translation. 2007-04-17 22:08:57 +00:00
Josh Elsasser ee01a4ac95 Fix memory leak. 2007-04-17 05:08:45 +00:00
Josh Elsasser 4e00714e62 Update spanish gtk translation. 2007-04-15 18:53:01 +00:00
Josh Elsasser c6250b07a5 Update bulgarian, polish, and italian translations. 2007-04-11 20:35:42 +00:00
Josh Elsasser a348b76d91 Update swedish translation. 2007-04-11 03:46:43 +00:00
Josh Elsasser 36a52fdb96 Update french translation. 2007-04-10 01:02:40 +00:00
Josh Elsasser 34e1bec19b Add Stalwart's email address at the top of this file or I'll probably
forget and mail the wrong person next time.
2007-04-08 18:21:12 +00:00
Josh Elsasser 7ccae5a7a1 Update russian translation. 2007-04-08 18:18:56 +00:00
Josh Elsasser ce085c64d3 Update romanian translation. 2007-04-08 16:17:35 +00:00
Josh Elsasser be7c7473f5 Update translations. 2007-04-07 21:19:11 +00:00
Josh Elsasser fbcc6c73dc Minor reformatting. 2007-04-07 20:52:57 +00:00
Josh Elsasser ba694f8f39 Ok, I think I finally got it right this time. 2007-04-07 20:38:34 +00:00
Josh Elsasser 3ea83734ff Fix mangled UTF-8. 2007-04-07 20:01:14 +00:00
Josh Elsasser 47cda1412c Minor gettext fixes.
Update po template.
2007-04-05 23:36:09 +00:00
Josh Elsasser b7c6284dce Add option to disable the annoying quit confirmation dialog. 2007-04-05 22:28:02 +00:00
Josh Elsasser 14386befea A couple manpage tweaks, courtesy of nzk. 2007-04-04 04:34:13 +00:00
Josh Elsasser 6b70c6c569 Improve manpages a bit. 2007-04-04 01:41:34 +00:00
Josh Elsasser fffd302c2c Update transmissioncli manpage, add transmission-gtk manpage skeleton. 2007-04-04 01:20:45 +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 5b6ac5744c Fix initial directory in file chooser window. 2007-04-02 18:15:42 +00:00
Josh Elsasser 4d7b4b536f Add preference option to disable PEX. 2007-03-31 19:19:27 +00:00
Josh Elsasser b8530669e6 Remove unused function. 2007-03-29 19:53:40 +00:00
Josh Elsasser 7e450316f2 Set roles for non-dialog windows to help WMs out a bit. 2007-03-24 10:20:00 +00:00
Josh Elsasser c0e369d44a Don't pass an uninitialized variable to accept(). 2007-03-24 10:06:56 +00:00
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