Commit Graph

323 Commits

Author SHA1 Message Date
Mitchell Livingston 7329faccf7 Remove redundant variables 2006-07-29 18:09:35 +00:00
Mitchell Livingston f924699169 Fixed new bug from auto resizing, I hope. 2006-07-29 18:00:51 +00:00
Mitchell Livingston d442d0579f I left in some code I used for testing. Silly me. 2006-07-29 17:46:32 +00:00
Mitchell Livingston 3e45eaf595 Auto resizing now respects the max possible size. This should help avoid strange resizing behavior. 2006-07-29 17:43:44 +00:00
Mitchell Livingston d44d458cd4 Don't autoimport on launch in case T was opened by opening torrent files. 2006-07-29 17:25:19 +00:00
Mitchell Livingston af07340483 This shouldn't have been committed. 2006-07-29 16:59:32 +00:00
Mitchell Livingston ca97d6968a Capitalization change. 2006-07-29 16:58:44 +00:00
Mitchell Livingston d5943321f4 Minimal view status toggle now works only when on actual status text, and even if the row isn't already selected. 2006-07-26 02:42:07 +00:00
Mitchell Livingston 44dd48fa52 When filtering transfers,the amount in the status bar shows how many transfers are actually visible and the total amount. 2006-07-25 02:12:18 +00:00
Mitchell Livingston 53039b2074 Filter buttons now actually are buttons, meaning their behavior matches more to Mail.app's 2006-07-23 22:23:59 +00:00
Mitchell Livingston 8c3e4f9337 Method parameter isn't really needed. 2006-07-23 21:50:41 +00:00
Mitchell Livingston e5fc3b555e Ignore case when sorting. 2006-07-23 21:29:24 +00:00
Mitchell Livingston 30ef4b0a52 simplify rect width and height measurements 2006-07-23 19:22:24 +00:00
Mitchell Livingston 19a1edb3b9 Updated help with better icon. 2006-07-23 18:57:50 +00:00
Mitchell Livingston 360b186b3e Use constants for growl notifications 2006-07-23 16:28:33 +00:00
Mitchell Livingston 34eab9a3b2 Fixed bug with auto resize when changing from minimal view to regular view. 2006-07-23 15:59:06 +00:00
Mitchell Livingston 9765084794 Get rid of some warnings I added. 2006-07-23 14:50:36 +00:00
Mitchell Livingston 23c13fc293 Turn off filter before hiding the bar, not the other way around. This should make it more obvious that the filter is turned off. 2006-07-23 14:46:13 +00:00
Mitchell Livingston 4a5fb32e62 Resize window when filtering with auto resize enabled. 2006-07-23 14:42:54 +00:00
Mitchell Livingston 00f96fe709 New awesome help by jah. 2006-07-23 14:22:01 +00:00
Mitchell Livingston e4afa947d2 Zoom now works horizontally. This also gets around the problems with zoom when auto resizing. 2006-07-22 21:00:58 +00:00
Mitchell Livingston 761a3928d4 Don't disable green zoom button because showing a sheet automatically enables it. Oh well... 2006-07-22 20:39:33 +00:00
Mitchell Livingston 8e0ff693f2 Fix bug with weird sheet attached to nothing when autoloading before the window is visible. 2006-07-22 19:00:47 +00:00
Mitchell Livingston 2f79532a81 Stop weird behavior and remove workaround code with the status bar background. 2006-07-22 18:47:21 +00:00
Mitchell Livingston 7ec2ba693b Remove and resize after sheet disappears. 2006-07-22 18:25:11 +00:00
Mitchell Livingston 777968a524 Disable the zoom button if auto resize is enabled. 2006-07-22 18:02:48 +00:00
Mitchell Livingston 8226ef9d50 Redo spacing on general prefs a little. 2006-07-22 17:08:54 +00:00
Mitchell Livingston d25466eefc Simplify window sizing code a little. 2006-07-22 16:57:41 +00:00
Mitchell Livingston 3f160243da Don't allow window zooming if set to auto resize. 2006-07-22 16:49:59 +00:00
Mitchell Livingston c0004c7e96 New prefs setting to keep the window sized perfectly for the current number of transfers. 2006-07-22 16:38:05 +00:00
Mitchell Livingston ac45b31069 Remove more warnings and commented-out code. 2006-07-22 15:22:01 +00:00
Mitchell Livingston 6e109cde94 Warning about growl delegate is gone. 2006-07-22 15:10:16 +00:00
Mitchell Livingston 25e75ec312 Sort in the action menu. 2006-07-22 14:08:35 +00:00
Mitchell Livingston 2c44a4ef0a no pressed in state for filter 2006-07-21 04:33:20 +00:00
Mitchell Livingston 6ca41a201a Don't need the word "bar". 2006-07-20 22:05:26 +00:00
Mitchell Livingston 9048f4683e Remove filter hide and show buttons from the bars and instead have a toolbar item for it.
Smoother Bandwidth prefs icon.
2006-07-20 21:58:25 +00:00
Mitchell Livingston e9ee54b370 Updated turtle icons from macHD. 2006-07-19 03:58:33 +00:00
Mitchell Livingston d196827618 The turtle is now blue. 2006-07-19 03:03:31 +00:00
Mitchell Livingston e33b7f3bfa Much nicer pushed image for turtle button. 2006-07-19 02:50:07 +00:00
Mitchell Livingston 853554c9e5 Reveal Filter buttons from MrCrowbar. 2006-07-19 00:37:03 +00:00
Mitchell Livingston 88b49c6f36 Focus on table view when hiding filter bar. 2006-07-19 00:27:38 +00:00
Mitchell Livingston 4c04ce90bd Tooltips for show and hide filter buttons.
Disable bars when they're not visible.
2006-07-19 00:24:54 +00:00
Mitchell Livingston cd97152658 Dim filter buttons and "turtle" button when the window isn't key.
Larger status bar.
Toggle button for filter bar in status bar (image needed!).
Custom ordering only when filter disabled (even if filtering causes nothing to be hidden).
2006-07-19 00:06:32 +00:00
Mitchell Livingston f52a35f51b Change filter button spacing and sizing a little. 2006-07-17 21:40:49 +00:00
Mitchell Livingston 5080d15959 Make order of updateUI: and applyFilter: consistent. 2006-07-17 11:22:50 +00:00
Mitchell Livingston 681cbd2e81 Update view when torrent starts from queueing. 2006-07-17 11:17:31 +00:00
Mitchell Livingston d30dd87352 Reordering only if nothing is filtered.
Tiny spacing tweak for hiding search field.
2006-07-17 03:29:29 +00:00
Mitchell Livingston ce911d6d7e Give table focus when hiding filter bar. 2006-07-17 03:02:56 +00:00
Mitchell Livingston 0ddf85506c Disable search field when hiding filter bar so mouse doesn't change to "text-insertion" pointer when above where the field is hidden. 2006-07-17 02:59:22 +00:00
Mitchell Livingston 02b9a7957e Turn multiple classes into a generic class for image backgrounds. 2006-07-16 21:02:29 +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
Mitchell Livingston 9707c16793 Lose focus before hiding to avoid weird overlay on status bar. 2006-07-16 18:49:38 +00:00
Mitchell Livingston 9090aacff8 hide search filter if it overlaps filter buttons 2006-07-16 18:39:19 +00:00
Mitchell Livingston c757564bb7 Better way to disable search filter. 2006-07-16 18:28:27 +00:00
Mitchell Livingston e03ca2eda0 Don't allow filter to be selected on launch. 2006-07-16 18:05:11 +00:00
Mitchell Livingston dc18992d4a small search field in filter 2006-07-16 17:59:20 +00:00
Mitchell Livingston 21a7f58256 Blue turtle for aqua, gray turtle for graphite. 2006-07-16 15:14:53 +00:00
Mitchell Livingston 5f5d94e3e0 Changed sort a little. 2006-07-16 06:20:15 +00:00
Mitchell Livingston 6e4885a27c Release some variables on dealloc. 2006-07-16 06:10:03 +00:00
Mitchell Livingston 21d23cf4bd Don't show multiple checks in pull-down menus in the prefs. 2006-07-16 05:47:06 +00:00
Mitchell Livingston 1f920e8ff7 Min size now changes for minimal view. 2006-07-16 05:40:47 +00:00
Mitchell Livingston 41e4c33e2b Highlighting of filter buttons should hopefully be even more "less buggy." 2006-07-16 04:50:32 +00:00
Mitchell Livingston 7462e65365 Highlighting of the turtle makes a little more sense. 2006-07-16 04:13:01 +00:00
Mitchell Livingston 6996e44e0f Use Growl framework rather than applescript. 2006-07-15 23:13:21 +00:00
Mitchell Livingston bbad665cd0 A little less buggy filter buttons (but not bug-free). 2006-07-15 19:38:32 +00:00
Mitchell Livingston d50b88f776 Turn off filter when hiding the filter bar. 2006-07-15 16:44:45 +00:00
Mitchell Livingston 87fee99801 Filter can now only be accessed from the filter bar. 2006-07-15 16:33:39 +00:00
Mitchell Livingston 0ae11f0f56 First attempt at a filter bar. 2006-07-15 16:22:42 +00:00
Mitchell Livingston 3357a5bac6 Use a mutable array for autoimport. 2006-07-13 11:30:38 +00:00
Mitchell Livingston 056b9c43c2 Don't filter after removing. 2006-07-13 11:18:16 +00:00
Mitchell Livingston 18ba17aced Missed a small subtlety when selecting torrents when filtering. 2006-07-13 00:58:17 +00:00
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