Commit Graph

901 Commits

Author SHA1 Message Date
Mitchell Livingston 3a1621cf84 no need to check and set selected twice 2006-07-13 00:39:46 +00:00
Mitchell Livingston 19336396f3 remember selected rows correctly when filtering 2006-07-13 00:32:00 +00:00
Mitchell Livingston 0adb83c07a By popular demand, the zoom button will now zoom to the exact size for torrents (or the minimum window size). 2006-07-13 00:24:18 +00:00
Mitchell Livingston e548b78313 drag reordering should work again 2006-07-13 00:20:14 +00:00
Mitchell Livingston 87caf42a00 only allow reordering by dragging with no filter applied 2006-07-13 00:16:49 +00:00
Mitchell Livingston 7ab2dce944 initial support for filtering (the interface is temporary btw) 2006-07-13 00:11:41 +00:00
Mitchell Livingston 21bd52f44e no more double release 2006-07-10 01:09:22 +00:00
Mitchell Livingston c96d7422fa Align turtle to text better.
Rename a method.
2006-07-09 14:43:00 +00:00
Mitchell Livingston 9a20ae1e96 Have remove use actual torrents, too. 2006-07-08 21:03:00 +00:00
Mitchell Livingston f5f4e91170 Have start and stop use actual torrents instead of indexes...this could be useful later. 2006-07-08 20:49:54 +00:00
Mitchell Livingston 0e87c2ebc5 Rescaled bandwidth icon from Thomas Bohn. 2006-07-08 19:51:49 +00:00
Mitchell Livingston 2a131ea7e8 a little better phrasing 2006-07-08 14:45:23 +00:00
Mitchell Livingston 38e7e939f2 polling every 15 seconds shouldn't be too intensive 2006-07-08 14:43:31 +00:00
Mitchell Livingston 9abcf3aac0 Make growl notifications a little more verbose. 2006-07-08 14:35:03 +00:00
Mitchell Livingston 6bcb612a95 Post Growl notification when seeding complete.
New name for notification for torrent auto added.
2006-07-08 13:32:36 +00:00
Mitchell Livingston dcef8bbc31 dragging onto the window will now work for files with the extension "torrent" regardless of its case 2006-07-07 22:31:30 +00:00
Mitchell Livingston 8c8993ce97 bad nslog! 2006-07-07 21:59:21 +00:00
Mitchell Livingston b252a98c13 If there was no change in the directory don't even attempt to check files. 2006-07-07 21:58:17 +00:00
Mitchell Livingston 5fc3a462c8 make sleep code match quit code for waiting for transfers to stop 2006-07-07 01:41:32 +00:00
Mitchell Livingston 82a793171c small wording change 2006-07-07 01:31:24 +00:00
Mitchell Livingston d7cb290e28 rework prefs for auto import a bit; 30 seconds, not 5 2006-07-07 01:19:56 +00:00
Mitchell Livingston cb8baebb35 Monitor a folder for torrent files, adding them as they are added (by polling the folder). Growl notifications for import, and only try to reimport the same torrent if the setting is changed, the app is restarted, or the torrent file is moved to a different folder then moved back.
Original code from Steve (brilla on the forums).
2006-07-07 01:03:52 +00:00
Mitchell Livingston 59ddd1f75c A bit of a workaround for the weird behavior of adding a file extension when saving a torrent copy. 2006-07-06 02:29:05 +00:00
Mitchell Livingston de20500392 tweak Minimal spacing a bit 2006-07-06 00:33:24 +00:00
Mitchell Livingston a5b27acf58 Re-added state to inspector because state isn't visible from minimal view and state can still differ from what's displayed (for example, it might display "waiting to start" when status is "paused"). 2006-07-06 00:03:27 +00:00
Mitchell Livingston c17ab350eb Validate Minimal View menu item. 2006-07-05 23:42:56 +00:00
Mitchell Livingston ba78ad49aa Start of Small Table View (accessible from View menu). 2006-07-05 22:36:27 +00:00
Mitchell Livingston 2462c22e70 Close all windows automatically rather than manually. 2006-07-04 19:49:43 +00:00
Mitchell Livingston 3369b4f36d Change code for remove dialog a bit. 2006-07-04 19:37:12 +00:00
Mitchell Livingston aa304152af remove unneeded variables 2006-07-04 19:28:35 +00:00
Mitchell Livingston 844f52b634 In open window use name of download file rather than name of torrent file. 2006-07-04 19:09:41 +00:00
Mitchell Livingston 4103575f12 convert .tiff to .png 2006-07-04 19:01:23 +00:00
Mitchell Livingston 5081666d35 More cleanup with updating inspector. 2006-07-04 18:42:12 +00:00
Mitchell Livingston 28cce2a6a1 Don't reload the whole inspector when only settings need to be changed. 2006-07-04 17:26:18 +00:00
Mitchell Livingston 5f8e0d613e Add names to buttons. 2006-07-04 15:49:37 +00:00
Mitchell Livingston b1322facad give transfers a tiny bit more time to stop 2006-07-03 11:20:07 +00:00
Mitchell Livingston 16991fb9b7 a little more cleanup 2006-07-03 11:15:53 +00:00
Mitchell Livingston 15aa8d8840 use a while loop, not a for loop, for checking torrents when quitting 2006-07-03 11:12:14 +00:00
Mitchell Livingston c1ada1f86b swap these 2 checks 2006-07-03 03:38:51 +00:00
Mitchell Livingston 67f34ff071 When quitting, check time a little bit differently. 2006-07-03 02:30:20 +00:00
Mitchell Livingston 830e2fa63e Close all windows when quitting at the same time so that the main window isn't visible while the inspector is before the app finishes quitting. 2006-07-03 02:10:59 +00:00
Mitchell Livingston e7ebf16d43 Start and stop transfers for launch/quit without performing checks for waiting transfers, etc. This should fix saving the incorrect states of running transfers between launches. 2006-07-02 22:59:23 +00:00
Mitchell Livingston a0b32e3d8b I was always taught that constants should be in all caps. 2006-07-02 21:57:51 +00:00
Mitchell Livingston 47e5c5547f Remember selected rows after drag (same as when sorting). 2006-07-02 21:53:36 +00:00
Mitchell Livingston 4f7ba57d5a Make row dragging work with multiple rows. The order values will all properly adjust too. 2006-07-02 21:46:18 +00:00
Mitchell Livingston 2fdc8f1a23 Allow torrent reordering for the queue (only when sorting by Custom Order). 2006-07-02 21:05:51 +00:00
Mitchell Livingston 35899d65d4 Remove a redundant variable. 2006-07-02 13:41:22 +00:00
Mitchell Livingston 8b12341769 Slight cleanup from last commit. 2006-07-01 22:13:29 +00:00
Mitchell Livingston 74afbbc50c Streamlined some code and made it more efficient. 2006-07-01 22:06:31 +00:00
Mitchell Livingston 3f8dd961e1 Auto-start check in the inspector now can be applied to multiple torrents. 2006-07-01 21:34:53 +00:00
Mitchell Livingston 1ccebca98a Dock menu item for Speed Limit, among smaller changed. 2006-07-01 18:02:36 +00:00
Mitchell Livingston 63bc7f1803 Silly mistake with quit prompt. 2006-07-01 01:15:40 +00:00
Mitchell Livingston 8cc1924999 Opening multiple torrents will once again respect the auto-start setting. 2006-07-01 00:55:41 +00:00
Mitchell Livingston 20c791b99d The Almighty Turtle!
Speed Limit can now be accessed from the main window, among smaller changes.
2006-07-01 00:29:26 +00:00
Mitchell Livingston 3beaefcf93 Speed Limit: a way to quickly change the upload and download limits for when less bandwidth has to be used. 2006-06-30 23:43:43 +00:00
Mitchell Livingston 05467ddfe4 A little better behavior with queueing when adding seeding torrents. 2006-06-30 02:57:50 +00:00
Mitchell Livingston 77736a625a Only append an ellipsis when removing will show a warning. 2006-06-30 01:14:52 +00:00
Mitchell Livingston 72eecfa7d4 Added an option to only show the remove/quit warning if transfers are downloading (not seeding). Also change the word "torrent" to "transfer" in the prefs window. 2006-06-26 05:52:51 +00:00
Mitchell Livingston a722b11ae8 I don't think these will be needed anymore. 2006-06-25 18:49:29 +00:00
Mitchell Livingston d66fd1980f Now can sort by the wait order. 2006-06-25 18:33:52 +00:00
Mitchell Livingston dd5c37cfd7 Auto-start check works correctly (needed the torrent to update beforehand). 2006-06-25 18:17:17 +00:00
Mitchell Livingston b057efe9fa Getting closer to a perfected queue. 2006-06-24 18:28:50 +00:00
Mitchell Livingston b79e503e1a Use the order value for queueing rather than the date. 2006-06-24 04:42:55 +00:00
Mitchell Livingston c8ce7ebd21 The checking for autostarting in the inspector now correctly starts the transfer if it is able to. 2006-06-23 23:14:40 +00:00
Mitchell Livingston 4151da3b5d More work on queueing. 2006-06-23 23:00:58 +00:00
Mitchell Livingston 23dcbc5353 Some more work on queueing. 2006-06-23 22:32:01 +00:00
Mitchell Livingston 765db93b40 Update the inspector when necessary through notifications, which will help once the wait check is added to the inspector. 2006-06-23 18:08:55 +00:00
Mitchell Livingston 8676081c36 A little bit more thorough check to avoid excess work. 2006-06-23 17:46:53 +00:00
Mitchell Livingston f2aa216dc7 If changing preference:
• from wait to start automatically, start all waiting transfers.
•  to higher number of active torrents, start waiting torrents until amount active is met.
2006-06-23 17:40:56 +00:00
Mitchell Livingston b0204b34bd For now the next to auto-start will be the earliest added transfer that is waiting 2006-06-23 15:44:18 +00:00
Mitchell Livingston 14cf4c87e6 The beginning of queueing. Has some work to go, but the basic infrastructure is set up. 2006-06-23 15:06:27 +00:00
Mitchell Livingston 6aeb08af3e Don't assume Apple meant visible windows with hasVisibleWindows: when they really meant hasVisibleAndMinimizedWindows. 2006-06-22 06:32:27 +00:00
Eric Petit 500e037c49 One more s/stop/stopTransfer/ 2006-06-22 02:42:56 +00:00
Mitchell Livingston 5ab5baa008 Make method names less generic to avoid conflicts.
Use methods in the Torrent class whenever possible.
2006-06-21 23:46:41 +00:00
Mitchell Livingston a50ac18cbd A lot of cleanup; remove cantfindaname once and for all. 2006-06-21 14:07:56 +00:00
Mitchell Livingston c5955ed7ef Now that sorting by stat sorts by progress, it should be resorted more often. 2006-06-20 19:20:36 +00:00
Mitchell Livingston c3035276dc Reverse progress sort order for sort by state. 2006-06-20 14:54:03 +00:00
Mitchell Livingston 8f9ca03e98 sort by state will sort by progress afterwards 2006-06-20 14:46:15 +00:00
Mitchell Livingston b49d206a1a cantFindAName didn't make sense for opening files. 2006-06-20 14:23:14 +00:00
Mitchell Livingston 317ba16b08 Clicking the dock icon is more future-proof and simpler. 2006-06-20 14:16:32 +00:00
Eric Petit 29daf2d5af Force dumping of the Preferences file on disk every time the history
is updated
2006-06-20 14:00:53 +00:00
Mitchell Livingston 2c8b4c80ee A little cleanup, a slightly more straight-forward way of checking the Growl path, and the method to register Growl won't be called through Interface Builder. 2006-06-19 23:07:28 +00:00
Mitchell Livingston b91020b447 Selecting the current sort item will force a resort of the torrents. 2006-06-19 04:30:36 +00:00
Mitchell Livingston 461e737afc cleanup 2006-06-18 03:40:11 +00:00
Mitchell Livingston d9542e96a7 Minor efficiency change in validate remove algorithm. 2006-06-17 23:29:27 +00:00
Mitchell Livingston 06a5457f2b Minor efficiency improvements to action menu. 2006-06-17 23:00:12 +00:00
Mitchell Livingston d203555d84 Validate using ident instead of function name...it's more future-proof.
Transfers, not Torrents.
2006-06-16 14:30:59 +00:00
Mitchell Livingston ddba2e1856 Remove toolbar button works. 2006-06-16 14:19:04 +00:00
Mitchell Livingston fa23d6d30c Just update the value when there is a change....it's modified only when torrent counts change and just updates a string...nothing too strenuous 2006-06-16 03:45:12 +00:00
Mitchell Livingston cac18c2503 By popular demand: the return of "Remove Torrent File." It only applies to the files not moved to the private folder. 2006-06-15 02:07:50 +00:00
Mitchell Livingston 4eb8918f3a Get rid of unnecessary class by merging ellipsis code into StringAdditions. 2006-06-14 20:08:51 +00:00
Mitchell Livingston e0bed11f56 Onced isn't a word... 2006-06-14 14:46:58 +00:00
Mitchell Livingston a3e1af9717 Transfer, not Torrent 2006-06-14 01:28:23 +00:00
Mitchell Livingston 7d760579e1 use the word Transfers, not Torrents 2006-06-11 21:37:21 +00:00
Mitchell Livingston 2ef0725b59 Make Copy Torrent dialog a sheet. 2006-06-11 00:16:31 +00:00
Mitchell Livingston 86edc01368 Validate menu item and show warning on failure for "Copy Torrent" 2006-06-10 23:29:47 +00:00
Mitchell Livingston a668c237a1 Initial support for creating a torrent copy (to recover torrent files after being placed in Support folder, basically). Next commit will refine it a bit. 2006-06-10 23:06:30 +00:00
Mitchell Livingston 14a5854dec Having two booleans was redundant. 2006-06-10 04:12:40 +00:00
Mitchell Livingston ed904d154d Make context menu items enabled even if the window isn't active.
Also fixed a little spacing with the buttons.
2006-06-10 03:21:36 +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
Mitchell Livingston 5ac8e113c3 Now it'll work for Panther users again... 2006-06-09 19:17:02 +00:00
Josh Elsasser 9a865c00b9 Revert the last commit, it wasn't supposed to go on the trunk. 2006-06-08 04:44:45 +00:00
Mitchell Livingston 41525beaa3 Initial support of moving torrent files in Mac version. Some things are incomplete and it's not yet guaranteed to work (in other words, only I should be even trying to use it). 2006-06-08 04:40:45 +00:00
Mitchell Livingston 4d1902cacf No need to create an autoreleased object and then retain it when it can be done in one step. 2006-06-07 22:02:28 +00:00
Mitchell Livingston 82a1354790 Switch some tiffs to png. 2006-06-07 20:10:15 +00:00
Mitchell Livingston 35a822e6d5 Use the built-in method if on Tiger for making subarrays. 2006-06-07 01:39:57 +00:00
Mitchell Livingston 41ce603b10 First commit on my own 8-)
Sorting by progress, sorting no longer causes crashes.
New look for the table.
Info is now inspector: can set individual and multiple ratio limits, shows listing of files, more info in general, resizes when changing tabs, can change tabs with cmd-left and cmd-right.
Menu items moved to "Transfers" menu.
Sliding status bar in its own view.
Prefs moved into their own nib.
Toolbar items for pause and resume selected (many wanted this, but it needs better icons)
New icons for Transfers and General.
A lot of tweaking of main window to fix alignment etc.
Sparkle used for updated (still needs to be added to website to work).

And a lot more tweaking and changes that I'm too lazy to list.

...now let's hope I commit this right
2006-06-06 18:05:57 +00:00
Eric Petit f98fe6a1b0 Added $Id$ keywords and updated a few headers 2006-05-29 21:21:23 +00:00
Eric Petit 7e244c6792 Merged Mitchell's changes, this includes:
Adds stop at ratio,
Adds sorting by name, date or state,
Seperates Info window into its own nib,
Adds option to enable or disabled autostarting downloads,
Seperates Network / Transfers in the Preferences
2006-05-25 12:22:19 +00:00
Eric Petit 796e2b868e Adds Action button that allows quick setting of upload and download limits,
Makes the bottom bar look like Mail's,
Moves stats to a top, hideable bar.
2006-05-01 00:15:18 +00:00
Eric Petit 734845196a Saves in history the date at which the torrent was loaded 2006-04-25 16:31:19 +00:00
Eric Petit 229d60507b Use NSLog on Mac OS X for errors, cosmetic changes 2006-04-22 16:44:56 +00:00
Eric Petit 55295baf13 Multiple selection 2006-04-07 13:09:19 +00:00
Eric Petit 0563eaf19c Cosmetic 2006-04-05 13:52:00 +00:00
Eric Petit ca82942852 Got rid of a class variable, makes performSelectorOnMainThread retain
and release it instead
2006-04-05 13:39:30 +00:00
Eric Petit b7a28dd9a1 Cleaning, also fixes disabling idle sleep when torrents are active 2006-04-05 12:21:16 +00:00
Eric Petit 8c36eba646 Choosing the download location for torrents is smoother and doesn't
get added to the table until necessary.
2006-04-04 09:45:36 +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 dd1179366a Updated windowWillUseStandardFrame given the fact that we dont show
the column headers anymore
2006-03-28 11:21:17 +00:00
Eric Petit 10ce5c72c6 Set click point before displaying so that mouse up on a button instantly
deselects it.
Store application icon when first loaded so it doesn't have badges on it.
Move a few things into the nib file
Put ellipis at end of name / tracker / announce if it doesn't fit
2006-03-28 11:17:42 +00:00
Eric Petit 5165d09994 Fixed the info panel and refined its look 2006-03-27 15:09:29 +00:00
Eric Petit a1830a25bf Merge from branches/new_api:r161 2006-03-23 12:39:39 +00:00
Eric Petit 878aa6828b When both torrent and non-torrent files are dropped, only open the torrents.
Don't badge with completed downloads when the window is key.
 Update the table right after start so you don't stay with an empty list
 for one second.
2006-02-11 06:46:40 +00:00
Eric Petit 6ddb247689 Reject dropped files which aren't .torrent files.
"Retarget" the drop at the bottom of the list.
2006-02-10 20:46:44 +00:00
Eric Petit 4f86bbcea3 Simplifications 2006-02-10 20:06:39 +00:00
Eric Petit b4a4557cb7 Simplification 2006-02-10 19:17:54 +00:00
Eric Petit da6b5deb96 Update the torrent history as the app runs, so it won't be lost if it
doesn't exit properly
2006-02-08 19:05:42 +00:00
Eric Petit 604f0b2b35 Removed 'BadgeCompleted' option - who'd want to disable it anyway? 2006-02-08 18:10:42 +00:00
Eric Petit 65316f1b72 Updated badging 2006-02-08 17:44:07 +00:00
Eric Petit 3ba5313752 Show ratio instead of the download rate once the download is complete.
Fixed windowWillUseStandardFrame.
 Cleaning
2006-02-07 05:02:45 +00:00
Eric Petit fcd1c9a1a8 Force rates to 0 when paused, and download rate to 0 when seeding.
Increased OS X UI update interval to 1 second.
2006-02-07 02:32:50 +00:00
Eric Petit bb7711ed2c Display the number of active torrents when quitting, not downloading torrents 2006-02-01 00:14:26 +00:00
Eric Petit f7622a6ebf Moved the quit code to applicationWillTerminate: 2006-01-29 22:16:16 +00:00
Eric Petit 0f1499a22b Added check for update 2006-01-29 22:01:08 +00:00
Eric Petit 0ed06f109d The quit dialog now displays the number of active torrents
Disables idle sleep if at least one torrent is active
 Cosmetic changes
2006-01-29 01:20:22 +00:00
Eric Petit d5fb5edc15 Use setBool: and setInt: for setting defaults instead of first changing
to strings
 Put default settings in a plist
2006-01-21 03:11:57 +00:00
Eric Petit 97ae614cf8 The simple bar turns gray when paused
Added missing images for pause/resume all
2006-01-21 02:34:14 +00:00
Eric Petit 80b7627b5c This adds badging 2006-01-20 01:51:07 +00:00
Eric Petit 390b3e0466 Imports instead of include
Category for NSString instead of using Utils
 Speed string in NSString additions
2006-01-20 01:13:21 +00:00
Eric Petit 3205798019 Yet another test 2006-01-12 21:45:45 +00:00
Eric Petit 6c0a54caa5 Update 2005-12-25 2006-01-12 18:58:57 +00:00
Eric Petit f5deceaa64 Update 2005-12-21 2006-01-12 18:57:23 +00:00
Eric Petit a2adf018c8 Update 2005-12-17 2006-01-12 18:54:46 +00:00
Eric Petit 04293edb67 Update 2005-12-14 2006-01-12 18:53:05 +00:00
Eric Petit 6fb3416215 Update 2005-12-04 2006-01-12 18:47:30 +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 e877994b21 Update 2005-11-18 2006-01-12 18:30:10 +00:00
Eric Petit d2cc6ce7c6 Update 2005-11-17 2006-01-12 18:29:20 +00:00
Eric Petit 8adc2d7338 Update 2005-11-01 2006-01-12 18:20:48 +00:00
Eric Petit a6aa884776 Import from 2005-10-26 2006-01-12 17:43:21 +00:00