Commit Graph

334 Commits

Author SHA1 Message Date
Mitchell Livingston d9f8018c49 fix type-select with groups 2008-02-19 05:27:15 +00:00
Mitchell Livingston a28583b50b first go at getting the app to work nicely with Tiger again 2008-02-19 05:14:22 +00:00
Mitchell Livingston 6fcf4a8013 ensure up and down group arrows are colored correctly 2008-02-19 02:59:01 +00:00
Mitchell Livingston ac300eab89 line up group row speeds with status bar speeds 2008-02-19 02:24:26 +00:00
Mitchell Livingston 9426e0bf1e more group row adjustments 2008-02-19 02:10:20 +00:00
Mitchell Livingston 03f986dffe better group arrow images 2008-02-18 20:53:10 +00:00
Mitchell Livingston a261460bdd speeds in group rows - Tiger support is currently broken 2008-02-18 19:42:46 +00:00
Mitchell Livingston dd116cc2bc fix a problem with groups on 10.4 2008-02-10 16:56:13 +00:00
Mitchell Livingston a06c1ace83 save collapsed groups between launches 2008-02-07 21:26:04 +00:00
Mitchell Livingston 145d372a0c trivial cleanup 2008-02-07 16:52:38 +00:00
Mitchell Livingston dd0bf1fa8f better encapsulate the collapsed group values 2008-02-07 16:20:24 +00:00
Mitchell Livingston 5e2308daf9 when turning on group view, show all groups expanded 2008-02-07 02:15:24 +00:00
Mitchell Livingston 346060659d expand a torrent's group when removing it, since either the whole group is being removed or it is already expanded 2008-02-07 02:11:26 +00:00
Mitchell Livingston 015f40e498 initial saving of collapsed/expanded groups when switching filters, adding torrents, etc 2008-02-07 01:26:12 +00:00
Mitchell Livingston a0061f43fb First commit of collapsable groups. A lot more needs to still be done. 2008-02-06 23:45:44 +00:00
Mitchell Livingston 4e7cd4d0af fix up the code to get the selected torrent when a group is selected 2008-01-31 04:02:26 +00:00
Mitchell Livingston 02799f7060 fix a crash on Tiger 2008-01-27 19:10:14 +00:00
Mitchell Livingston 4ac75b1b80 fix bug when showing groups and changing sort type to queue order 2008-01-24 21:14:02 +00:00
Mitchell Livingston d98fbdc6e4 better tracking rect calculating for the main table 2008-01-24 15:09:28 +00:00
Mitchell Livingston da6a108375 hopefully fix weird drawing issues when resizing, and eliminate a memory leak 2008-01-24 01:05:00 +00:00
Mitchell Livingston 55aaa70546 don't allow group rows to be edited 2008-01-23 21:33:54 +00:00
Mitchell Livingston 549521c602 only update and sort by group when filtering, not during normal sorting 2008-01-23 20:31:04 +00:00
Mitchell Livingston 920811c894 eliminate a warning 2008-01-23 18:53:19 +00:00
Mitchell Livingston 230d490637 cleanup for last commit 2008-01-23 18:47:34 +00:00
Mitchell Livingston 320e519a43 when determining selected torrents, if a group is selected, after adding all torrents from that group, skip to the object after all those torrents 2008-01-23 18:41:33 +00:00
Mitchell Livingston 381a5bf4b5 simplify determining selected rows 2008-01-23 18:25:05 +00:00
Mitchell Livingston 30531d75c9 only store the group number for displaying groups in table -- count can be derived 2008-01-23 18:22:54 +00:00
Mitchell Livingston 5852c78682 keep track of which rows are groups with a separate object 2008-01-23 17:03:42 +00:00
Mitchell Livingston c0463820f7 fix type selection 2008-01-23 03:38:24 +00:00
Mitchell Livingston a471a36cf1 avoid unnecessarily creating a text cell 2008-01-23 03:17:41 +00:00
Mitchell Livingston 327f278976 allow selecting a group row to apply settings to all torrents in the group 2008-01-23 03:12:06 +00:00
Mitchell Livingston 1fa3e0d869 first experimental commit: sorting by group will now add group dividers 2008-01-23 02:51:58 +00:00
Mitchell Livingston d0fb48121e add a convenience function for getting the selected torrents 2008-01-22 23:48:14 +00:00
Mitchell Livingston 264bf866a5 if pushing a button, don't allow a double-click to toggle the inspector 2008-01-22 05:33:02 +00:00
Mitchell Livingston 055d067d7e holding down the mouse on the progress field and the minimal status field will cause them to become gray, indicating the toggle 2008-01-22 05:19:18 +00:00
Mitchell Livingston 0a2720339f support adding torrent from data with ipc 2008-01-21 06:23:10 +00:00
Mitchell Livingston 4d0e40c576 fix a display bug when pausing/resuming a torrent when filtering torrents by state 2008-01-20 20:38:51 +00:00
Mitchell Livingston 30cee125da treat the entire file icon as the action button 2008-01-20 18:51:53 +00:00
Mitchell Livingston bf146526bf fix error where the table would lose track of the selected torrent when sorting by activity 2008-01-20 18:28:28 +00:00
Mitchell Livingston 4158be90cf avoid weird behavior when pushing down action button by showing the menu on mouse up instead 2008-01-17 04:20:52 +00:00
Mitchell Livingston e63e7ab8e7 attempt to fix buttons on Tiger 2008-01-17 01:57:14 +00:00
Mitchell Livingston b9f6a86c63 ensure the reveal button in the inspector scales the image correctly 2008-01-16 21:09:59 +00:00
Mitchell Livingston 8e993f80ef display the action menu on mouse down, not mouse up 2008-01-16 20:53:24 +00:00
Mitchell Livingston 4b5e05f12e mark action button as pushed when it's clicked; update NEWS 2008-01-16 19:49:10 +00:00
Mitchell Livingston 50a90c3460 update NEWS, clean up pieces bar toggle code 2008-01-16 19:30:12 +00:00
Mitchell Livingston 875b98145f fix bug when quickly toggling the advanced bar 2008-01-16 16:39:18 +00:00
Mitchell Livingston 470d588b50 animate the Pieces bar when showing/hiding it 2008-01-16 15:56:40 +00:00
Mitchell Livingston e49dc50751 fix display of button tip 2008-01-16 07:09:14 +00:00
Mitchell Livingston 4a3d5d7081 when mousing over the icon, show the action button 2008-01-16 06:48:12 +00:00
Mitchell Livingston 06f0fee7b5 dim the action button when hovered over, and display the appropriate status string 2008-01-15 23:48:03 +00:00
Mitchell Livingston a846ff7475 remove a warning and commented-out code 2008-01-15 21:22:08 +00:00
Mitchell Livingston 2cda37ab07 instead of displaying a tooltip for the buttons, when hovered over, display the "tip" where the status string usually is 2008-01-15 21:09:51 +00:00
Mitchell Livingston 2402b1df2e get button hilighting working correctly when it assumes it's inside the button 2008-01-15 19:48:19 +00:00
Mitchell Livingston 6d799f0f89 if a button is pushed, don't hilight other buttons when hovered over 2008-01-15 16:19:16 +00:00
Mitchell Livingston 69a6978fca plain don't allow rollover on 10.4, and pushing a button will select a cell on 10.4 (to avoid flashing) 2008-01-15 05:39:40 +00:00
Mitchell Livingston 804d0193d0 fix tooltips in the main table 2008-01-15 05:03:26 +00:00
Mitchell Livingston edb46062b2 attempt to fix table drawing issues 2008-01-15 04:45:57 +00:00
Mitchell Livingston 2047901eae get table buttons working again 2008-01-15 04:03:06 +00:00
Mitchell Livingston 9685e9563b don't select the row if pushing a button 2008-01-15 03:50:00 +00:00
Mitchell Livingston 0a7d8cd3a5 experiment with hilighting the buttons on rollover (10.5-only, and still incomplete) 2008-01-15 03:33:44 +00:00
Mitchell Livingston 7933bc4d9e migrate some of the action button code to TorrentCell 2008-01-14 19:12:26 +00:00
Mitchell Livingston a275277903 first commit of experimental button refactoring 2008-01-14 18:02:08 +00:00
Mitchell Livingston 59d0ce9d33 on 10.5 use the function to get a prepared cell instead of making one manually 2008-01-12 05:09:03 +00:00
Mitchell Livingston 7b4c423054 disable the code button when creating a torrent 2008-01-11 16:58:23 +00:00
Mitchell Livingston 5299cb1da1 modify double-click code to differentiate Tiger and Leopard 2008-01-11 05:21:28 +00:00
Mitchell Livingston 4a6c14bc01 update NEWS and add a little efficiency for the last commit 2008-01-11 05:04:40 +00:00
Mitchell Livingston 1f862a70e6 return of double-click for inspector, double-click icon to reveal file, and double-click progress string to toggle selected and total status 2008-01-11 04:52:44 +00:00
Mitchell Livingston b0cf977624 remove an unneeded localization 2008-01-10 15:53:02 +00:00
Mitchell Livingston af96ba0d41 move the individual speeds array into the corresponding methods 2008-01-10 07:00:56 +00:00
Mitchell Livingston fe50c35474 make the per-torrent action menus dynamic as well 2008-01-10 06:52:13 +00:00
Mitchell Livingston f80bd47056 update copyright info for 2008 2008-01-02 16:55:05 +00:00
Mitchell Livingston cd857d4bb8 always allow "resume selected right away" to be selected, even if there are no queues enabled 2008-01-02 04:31:51 +00:00
Mitchell Livingston d9246b1ad4 preliminary commit of group code 2007-12-17 16:06:20 +00:00
Mitchell Livingston b9433123f4 adjust per-torrent action button placement 2007-12-01 16:23:29 +00:00
Mitchell Livingston fce835ceec even more new images 2007-11-30 23:27:55 +00:00
Mitchell Livingston c79f772acd attempt to make per-torrent action menu a little faster 2007-11-26 17:33:31 +00:00
Mitchell Livingston 3ab2e369d4 remove unused code 2007-11-04 16:45:17 +00:00
Mitchell Livingston 525cf7904d trunk: make status bar inactive when window isn't main window 2007-11-01 12:57:35 +00:00
Mitchell Livingston ffeff31ca3 get reordering of torrent queue working again in trunk (thanks to cocoadev mailing list) 2007-10-31 17:23:56 +00:00
Mitchell Livingston 44c66afffb phase 1 of updating menu items to remove bindings 2007-10-30 19:55:47 +00:00
Mitchell Livingston 297b9f0b1d trunk: Leopard: Fix bug with typing values in Inspector->Options 2007-10-29 18:07:09 +00:00
Mitchell Livingston 04b3a94ca0 show the multiple document icon on Leopard when multiple files selected 2007-10-27 18:40:43 +00:00
Mitchell Livingston 83df860896 on Leopard us the built-in delegate to select a row while typing, and make Tiger's behavior similar to the new behavior 2007-10-27 14:57:46 +00:00
Mitchell Livingston 70e6cd0318 make main window textured on Leopard 2007-10-26 16:57:16 +00:00
Mitchell Livingston a90c4a4b09 eliminate the redundant isPaused, instead using !isActive 2007-10-20 21:27:46 +00:00
Mitchell Livingston f5e5a5584b trivial code cleanup 2007-10-12 23:18:21 +00:00
Mitchell Livingston 7207e822fa general cleanup 2007-10-11 12:06:46 +00:00
Mitchell Livingston 433404eff2 double click progress string in main window instead of single click to toggle it 2007-10-08 11:51:58 +00:00
Mitchell Livingston 98575a0169 say goodbye to the often-misunderstood "advanced progress bar" 2007-09-26 19:36:25 +00:00
Mitchell Livingston cc09e542b0 clicking the progress line in the transfer window will toggle between stats for the whole torrent and for just the selected files 2007-09-23 05:39:41 +00:00
Mitchell Livingston f0b968d7b7 get xcode project building again 2007-09-20 20:24:33 +00:00
Mitchell Livingston 844341faef this better work 2007-09-16 01:02:06 +00:00
Mitchell Livingston 1b11564e92 remove Growl 1.1... 2007-09-16 00:52:32 +00:00
Mitchell Livingston 1502435758 make setting code more dynamic 2007-09-15 20:09:28 +00:00
Mitchell Livingston c351a19124 show pause button when checking (will work once encryption branch is merged) 2007-09-11 03:49:03 +00:00
Mitchell Livingston aa80a14a79 remove unused variable 2007-08-27 18:16:30 +00:00
Mitchell Livingston ca6f1934b3 allow new menu method to use an index set instead of range 2007-08-20 19:05:58 +00:00
Mitchell Livingston e91070a1e7 add a menu additions class 2007-08-20 16:49:53 +00:00
Mitchell Livingston 141404356a remove some warnings 2007-08-18 16:55:01 +00:00
Mitchell Livingston 596525d89a dynamically show the files for file selection in the top-level action menu 2007-08-18 05:46:20 +00:00
Mitchell Livingston 9f78eda964 attempt to fix stuck overlay window 2007-08-18 02:11:45 +00:00
Mitchell Livingston 41d5f3c8f5 clean code up a little 2007-08-18 01:56:10 +00:00
Mitchell Livingston 5c2f4e5fd1 add ratio settings to the individual torrent menu 2007-08-18 00:53:28 +00:00
Mitchell Livingston 4bcc5fa687 add preset limits to torrent action menu speed limits 2007-08-18 00:12:26 +00:00
Mitchell Livingston f0f61ddd2b preliminary support for setting speed limits through the action menu 2007-08-17 23:58:21 +00:00
Mitchell Livingston 7fb27df36d again by popular demand, allow peers and files tabs to be resized vertically 2007-08-17 01:23:17 +00:00
Mitchell Livingston 20f33e82e2 allow folders of files to be enabled/disabled from the action button 2007-08-16 23:05:59 +00:00
Mitchell Livingston 75ec8bac79 keep one image for the table view instead of one for regular and one for minimal 2007-08-16 03:58:50 +00:00
Mitchell Livingston 91304ec1e6 streamline and improve action button placement code in TorrentTableView 2007-08-16 03:28:01 +00:00
Mitchell Livingston 974bc096e1 only allow update checks daily, and remove an unused method 2007-08-11 04:02:35 +00:00
Mitchell Livingston 7b9e4c8eda get the icon placement from TorrentCell instead of generating it in the tableview 2007-08-11 03:09:31 +00:00
Mitchell Livingston c6c1f90996 don't hide the inspector when double-clicking the table's action button 2007-08-11 02:51:36 +00:00
Mitchell Livingston 2e4d6a1142 refresh only necessary rows on mouse down 2007-08-11 02:44:01 +00:00
Mitchell Livingston 87147ad2be get the minimal status to toggle based on the new cell method, and fix silly test code that made the error icon always show 2007-08-11 02:33:10 +00:00
Mitchell Livingston 1436214b4e general code cleanup 2007-08-11 01:48:06 +00:00
Mitchell Livingston 24fc88c21d the pause/resume and reveal buttons in the main window don't dim when pushed but not hovered over 2007-08-10 05:56:36 +00:00
Mitchell Livingston 58621c530b on mouse up/down only redisplay the affected row 2007-08-10 04:06:49 +00:00
Mitchell Livingston 87a2bd6479 use the actual Torrent class to access values for the torrent cell class, rather than creating a dictionary and using that on each reload 2007-08-10 03:20:01 +00:00
Mitchell Livingston 1fa37b73ce remove unneeded delegate 2007-08-08 18:01:02 +00:00
Mitchell Livingston 7a049126a9 only draw rows that are visible 2007-08-08 17:57:50 +00:00
Mitchell Livingston d69bc3798f get rid of some warnings 2007-08-08 14:35:40 +00:00
Mitchell Livingston 4d1403fc21 refresh the file checks in the inspector immediately when changed from the main window 2007-08-08 14:28:51 +00:00
Mitchell Livingston b57211947f fix a naming issue with the action menu 2007-08-08 13:53:30 +00:00
Mitchell Livingston 5a8a4e7bb7 make the new action menu less crashy 2007-08-08 13:36:27 +00:00
Mitchell Livingston 0588684061 get the torrent action button to appear pressed in 2007-08-08 02:44:32 +00:00
Mitchell Livingston 4c7d5256fa when in minimal view the transfer icon will show the action menu, other cleanup 2007-08-08 01:26:11 +00:00
Mitchell Livingston d2cbbe01fa begins of individual action menus 2007-08-08 01:03:34 +00:00
Mitchell Livingston c9f9a07415 add progress of checking 2007-07-24 01:45:14 +00:00
Mitchell Livingston 92ba91161a hide the pause button when checking 2007-07-24 01:04:01 +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
Mitchell Livingston 0f9766145b patch from Charles Kerr: perform file checking one at a time (fixes #124) 2007-05-28 15:23:28 +00:00
Mitchell Livingston fd586f4380 disable option to pause torrents that are checking to avoid freezes 2007-05-07 04:28:17 +00:00
Mitchell Livingston 8dc2126bfe • When typing the name of a torrent to highlite it, scroll to it too.
• Add a localized string and remove a warning.
2007-04-18 21:17:47 +00:00
Mitchell Livingston 974c69215a update licenses to 2007 2007-04-03 02:22:25 +00:00
Mitchell Livingston 8a11ad6e25 if you double click the ETA, the inspector shouldn't pop up 2006-12-15 16:56:55 +00:00
Mitchell Livingston f955d93c22 bindings for minimal view and advanced bar 2006-10-31 19:16:15 +00:00
Mitchell Livingston f0adeba042 draw images using composite to ensure actual width 2006-10-02 04:20:05 +00:00
Josh Elsasser 0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00
Mitchell Livingston 1b5751b7dd Only show ratio, not upload speed, when seeding in minimal mode and set to display alternate status string. 2006-08-06 20:40:12 +00:00
Mitchell Livingston e6a7986231 Small efficiency change. 2006-07-26 02:54:36 +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 d4f3ac6ae2 Only toggle status if that row is highlighted. 2006-07-25 01:07:34 +00:00
Mitchell Livingston 2d66761e19 Clicking in general area of status string in minimal view will toggle between speeds and remaining time for downloading transfers. 2006-07-25 00:59:14 +00:00
Mitchell Livingston f2ffb6698b Remove a log. 2006-07-23 21:30:52 +00:00
Mitchell Livingston e5fc3b555e Ignore case when sorting. 2006-07-23 21:29:24 +00:00
Mitchell Livingston ba3b7ea279 Type-ahead in the table view. Works similar to the way typing in the finder works. 2006-07-23 20:53:31 +00:00
Mitchell Livingston 30ef4b0a52 simplify rect width and height measurements 2006-07-23 19:22:24 +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 fedca946d8 More straightforward array creation. 2006-07-09 15:22:20 +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 de20500392 tweak Minimal spacing a bit 2006-07-06 00:33:24 +00:00
Mitchell Livingston b96b40602a double clicking the icon will now work properly in small view 2006-07-05 22:53:37 +00:00
Mitchell Livingston ba78ad49aa Start of Small Table View (accessible from View menu). 2006-07-05 22:36:27 +00:00
Mitchell Livingston 1ccebca98a Dock menu item for Speed Limit, among smaller changed. 2006-07-01 18:02:36 +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 e5aab6902a I changed my mind about the images being static. 2006-06-16 03:13:58 +00:00
Mitchell Livingston 6b4e664c0f This will never happen, but if it would: Don't load image more than once. 2006-06-16 03:06:24 +00:00
Mitchell Livingston 1e3848f355 Let's get the images stored before showing the table 2006-06-16 03:03:28 +00:00
Mitchell Livingston 338b2a6a19 Make more images static. 2006-06-16 01:50:10 +00:00
Mitchell Livingston efb73e8b5b Add context menu to file table 2006-06-16 00:04:29 +00:00
Mitchell Livingston 5f5d433b8e Newer icon for Transfers. 2006-06-15 00:11:05 +00:00
Mitchell Livingston 94768da2ae Don't check for icons for empty rows. 2006-06-14 20:35:28 +00:00
Mitchell Livingston 19dce501cf Missed one... 2006-06-14 20:16:27 +00:00
Mitchell Livingston f4562e3bbd Double-clicking the icon in the table view will reveal the download. 2006-06-12 15:26:24 +00:00
Mitchell Livingston 218ddd0cb9 Make private methods actually private. 2006-06-12 04:56:07 +00:00
Mitchell Livingston 9dacd02f92 Declare private methods. 2006-06-12 04:25:43 +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
Mitchell Livingston b6a144da86 Double-clicking rows will toggle the inspector. Also, cleaned up Transfers icon from Neowave. 2006-06-07 15:26:15 +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 55295baf13 Multiple selection 2006-04-07 13:09:19 +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 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 a1830a25bf Merge from branches/new_api:r161 2006-03-23 12:39:39 +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 f5deceaa64 Update 2005-12-21 2006-01-12 18:57:23 +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 d2cc6ce7c6 Update 2005-11-17 2006-01-12 18:29:20 +00:00