Commit Graph

275 Commits

Author SHA1 Message Date
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 30cee125da treat the entire file icon as the action button 2008-01-20 18:51:53 +00:00
Mitchell Livingston 27c2833ec3 fix crash reported in #640; other insignificant changes 2008-01-19 05:37:16 +00:00
Mitchell Livingston e63e7ab8e7 attempt to fix buttons on Tiger 2008-01-17 01:57:14 +00:00
Mitchell Livingston 88053029bb add the standard close button to the Add window 2008-01-16 23:17:36 +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 470d588b50 animate the Pieces bar when showing/hiding it 2008-01-16 15:56:40 +00:00
Mitchell Livingston 4a3d5d7081 when mousing over the icon, show the action button 2008-01-16 06:48:12 +00:00
Mitchell Livingston 4dbbe863f9 don't show the file icon in minimal mode when hovered over 2008-01-16 06:26:52 +00:00
Mitchell Livingston f624a2013e experiment with showing the action button only on rollover; updated other button images 2008-01-16 06:22:47 +00:00
Mitchell Livingston d4518acd18 add images for hovering 2008-01-16 05:01:45 +00:00
Mitchell Livingston d540cadbd0 never dim the buttons on hover on Tiger 2008-01-15 23:57:46 +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 90ed4159ef display the button status tip in minimal mode as well 2008-01-15 21:20:16 +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 5cfe65531f clean up the code for determining the button image 2008-01-15 19:52:17 +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 4506f61a9e hide the action button in minimal mode 2008-01-15 05:09:46 +00:00
Mitchell Livingston 804d0193d0 fix tooltips in the main table 2008-01-15 05:03:26 +00:00
Mitchell Livingston 803cbc6808 don't make a button hovered when it is pushed but not hovered over 2008-01-15 04:52:40 +00:00
Mitchell Livingston edb46062b2 attempt to fix table drawing issues 2008-01-15 04:45:57 +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 bb203a4969 remove some unnecessarily retain/release 2008-01-07 00:31:56 +00:00
Mitchell Livingston 17df83c247 fix some more minor memory leaks 2008-01-07 00:23:15 +00:00
Mitchell Livingston b1b28349ad don't show the availability bar if checking 2008-01-05 23:36:25 +00:00
Mitchell Livingston f80bd47056 update copyright info for 2008 2008-01-02 16:55:05 +00:00
Mitchell Livingston 3377bc4e02 flash orange in pieces in the advanced progress bar that just completed 2007-12-28 21:37:06 +00:00
Mitchell Livingston 8b6d7f7b63 adjust advanced bar color comparison 2007-12-28 20:12:28 +00:00
Mitchell Livingston 42a09ba6ac simplify the advanced bar drawing code 2007-12-28 19:44:22 +00:00
Mitchell Livingston 75bae87b4b nothing of significance 2007-12-27 22:26:23 +00:00
Mitchell Livingston eddf7c5465 slightly better behavior when placing the not-available bar 2007-12-22 19:07:58 +00:00
Mitchell Livingston 911a6ce32e remove unused variables 2007-12-20 01:15:13 +00:00
Mitchell Livingston b498e720e6 more adjusting of the group coloring 2007-12-18 21:32:55 +00:00
Mitchell Livingston 307ddcc74f adjust group coloring 2007-12-18 18:42:42 +00:00
Mitchell Livingston 573aaface1 simplify group coloring 2007-12-18 17:05:49 +00:00
Mitchell Livingston b796e37228 make group color a little more subtle 2007-12-18 03:48:03 +00:00
Mitchell Livingston c9fbba20d2 actually adjust group colors, and show + and - in the group window on Tiger 2007-12-18 03:18:32 +00:00
Mitchell Livingston 2e05ee76e2 adjust colors a bit 2007-12-18 03:13:18 +00:00
Mitchell Livingston 5ee33206d0 play around with the group coloring a bit 2007-12-18 02:55:14 +00:00
Mitchell Livingston 600b0977e2 get the new group coloring correct in minimal mode 2007-12-18 01:53:16 +00:00
Mitchell Livingston baa143b9b1 experiment with moving the label from over the text to the left edge 2007-12-18 01:44:37 +00:00
Mitchell Livingston 02e52bb013 fix sizing of group labels with long file names 2007-12-17 22:30:28 +00:00
Mitchell Livingston d9246b1ad4 preliminary commit of group code 2007-12-17 16:06:20 +00:00
Mitchell Livingston bc295fe78e use a simpler method for determining text color of table cells on leopard 2007-12-12 05:01:31 +00:00
Mitchell Livingston a7204affff revert last commit...it wasn't as reliable 2007-11-30 14:22:49 +00:00
Mitchell Livingston 3858f817c5 better method of determining if a table cell is highlighted 2007-11-30 02:49:40 +00:00
Mitchell Livingston d96f0b629b don't display the not available bar for paused transfers 2007-11-20 13:16:24 +00:00
Mitchell Livingston 2af8500b60 make the availability bar red 2007-11-11 21:45:27 +00:00
Mitchell Livingston f20a6b15b7 add availability bar to dim percent not available (yellow for now) 2007-11-11 16:59:32 +00:00
Mitchell Livingston 5373a9d82d eliminate the second port status dot/text field to avoid confusion 2007-11-11 06:36:32 +00:00
Mitchell Livingston 4854aac298 remove code to manually close torrents on quit 2007-11-11 03:15:49 +00:00
Mitchell Livingston 5cc14442cb use built-in buttons for filter buttons 2007-11-06 20:52:11 +00:00
Mitchell Livingston cfa809bc47 clean up the pieces bar drawing to avoid putting it into an image, and use NSColor object for the piece colors 2007-11-06 04:53:06 +00:00
Mitchell Livingston b5ad25acc0 make advanced bar code a little more efficient 2007-11-05 19:15:45 +00:00
Mitchell Livingston 22ad00e04c no reason to retain advanced bar info when it's hidden 2007-11-05 00:04:14 +00:00
Mitchell Livingston 25a4d11db4 commit some changes that have been sitting in by checkout 2007-11-04 16:12:49 +00:00
Mitchell Livingston d3100ffbd3 make gray lighter 2007-11-04 15:15:50 +00:00
Mitchell Livingston 3bccf26f23 by popular demand the return of the advanced bar (now Pieces Bar) 2007-11-04 15:01:34 +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 78d95148dc add a warning and improve some commented out code....nothing to see here 2007-10-14 14:24:34 +00:00
Mitchell Livingston 045c31018b remove unused variables 2007-10-12 21:36:01 +00:00
Mitchell Livingston 66bf641f5d streamline the minimal status string code a little 2007-09-30 13:41:26 +00:00
Mitchell Livingston f5bd7f17ce didn't mean to commit some experimental, nonworking code; also, only create the string attributes when needed 2007-09-28 12:58:31 +00:00
Mitchell Livingston 6a976eed1c clicking on the peer progress indicator will toggle between progress bar and a number for progress, inspired by beelsebob 2007-09-28 12:55:28 +00:00
Mitchell Livingston 8825a6029d more cleanup from advanced bar removal 2007-09-27 02:46:48 +00:00
Mitchell Livingston dd86bc5adf remove some leftovers from the advanced bar 2007-09-27 02:29:32 +00:00
Mitchell Livingston c9688d89f8 use LSMinimumSystemVersion instead of custom version check, because on < 10.4 it will never reach that custom code 2007-09-26 23:49:21 +00:00
Mitchell Livingston 98575a0169 say goodbye to the often-misunderstood "advanced progress bar" 2007-09-26 19:36:25 +00:00
Mitchell Livingston a222ba1774 fix progress bar inversion 2007-09-26 18:53:11 +00:00
Mitchell Livingston b50f4189f9 add "failed hash" field to activity tab 2007-09-26 18:32:32 +00:00
Mitchell Livingston faff3145ce remove the remaining extra drawing and use of non-integers in the regular bar 2007-09-26 17:42:45 +00:00
Mitchell Livingston 0743709b51 eliminate some useless drawing for the progress bar, and ensure width is an integer (drawing with pixels is quite annoying) 2007-09-26 17:30:54 +00:00
Mitchell Livingston 9dec223018 attempt to decrease memory usage a bit when window/application is hidden 2007-09-26 04:12:57 +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 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 95345006a0 cell alignment fixes from nickshanks 2007-09-01 16:05:49 +00:00
Mitchell Livingston 8ae9d20712 rename the addition files 2007-08-20 16:34:21 +00:00
Mitchell Livingston 89fc445266 small layout change 2007-08-20 02:26:59 +00:00
Mitchell Livingston 284f9830cc store only a single icon in the Torrent class instead of 2 2007-08-16 04:12:43 +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 7a96fcbb7f flip advanced bar overlay 2007-08-16 03:12:58 +00:00
Mitchell Livingston 02d0203a23 draw the progress bar straight onto the cell instead of using an image 2007-08-16 03:02:27 +00:00
Mitchell Livingston f407e44edc rearrange some of the file viewer code 2007-08-14 22:55:06 +00:00
Mitchell Livingston d8905329bb use optimization level -Os 2007-08-14 19:58:07 +00:00
Mitchell Livingston 067afdf926 small adjustments to TorrentCell 2007-08-14 03:59:47 +00:00
Mitchell Livingston b63ddf0676 a little extra drawing so that there are no gaps in the progress bar 2007-08-14 03:15:03 +00:00
Mitchell Livingston 74f430990b one less warning 2007-08-13 05:03:21 +00:00
Mitchell Livingston e316c297c7 get rid of some warnings 2007-08-13 04:30:52 +00:00
Mitchell Livingston b899afc77a drawing placement is less dynamic code-wise but should be faster 2007-08-11 23:49:26 +00:00
Mitchell Livingston 5c285b8ca3 have the code generate each attributed string once per draw instead of twice 2007-08-11 17:04:10 +00:00
Mitchell Livingston b476e6f8eb combine similar code for attributes in the torrent cell 2007-08-11 04:46:21 +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 963c8ae76f one less redundant call in TorrentCell 2007-08-11 02:12:47 +00:00
Mitchell Livingston 1436214b4e general code cleanup 2007-08-11 01:48:06 +00:00
Mitchell Livingston 9198b9d50d complete structural reorganization of TorrentCell 2007-08-11 01:39:53 +00:00
Mitchell Livingston b88ee80099 silly NSLogs 2007-08-10 03:49:21 +00:00
Mitchell Livingston 943c6e90a4 move the advanced bar code into TorrentCell (finally) 2007-08-10 03:48:18 +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 bccab83fde get progress color gradients when needed instead of at launch 2007-08-08 16:31:10 +00:00
Mitchell Livingston a84f0cd9e6 small optimization in obtaining error image 2007-08-08 16:14:52 +00:00
Mitchell Livingston 076af9872b store the basic attributes of table strings and change them when necessary instead of recreating each time 2007-08-08 15:07:37 +00:00
Mitchell Livingston b8b52f82f6 use a nicer looking error image 2007-08-08 14:48:38 +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 4daada62a4 slightly color the progress bars of waiting (queued)torrents, and adjust the light green color a bit (thanks macHD for the gradients) 2007-07-04 21:50:50 +00:00
Mitchell Livingston a283f4ffad i suck at copy-pasting 2007-07-04 19:09:21 +00:00
Mitchell Livingston ab20e6d645 make sure the windows are closed before removing torrents...avoids a crash-on-quit 2007-07-04 18:14:58 +00:00
Mitchell Livingston b94ddd9bc4 make progress bar yellow when checking cache (color is temporary until someone can make a real yellow one) 2007-07-03 02:26:31 +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 4c1151556d use a function for the progress towards the stop ratio 2007-05-28 18:17:31 +00:00
Mitchell Livingston 2f8eb2edb9 when sorting by progress, if seeding, sort by progress towards meeting set ratio 2007-05-28 03:17:23 +00:00
Mitchell Livingston 6daf00d25a these classes shouldn't have been there, and some formatting fixes 2007-05-24 06:46:59 +00:00
Mitchell Livingston 78ec2e2551 code from nickshanks to generate the progress bars without images, also makes the bars resolution independent 2007-05-23 21:34:14 +00:00
Mitchell Livingston 0ae40e8200 get rid of pointless variable 2007-04-06 15:25:15 +00:00
Mitchell Livingston dcd012a12c don't draw for ratio < 0 2007-04-06 15:15:53 +00:00
Mitchell Livingston 974c69215a update licenses to 2007 2007-04-03 02:22:25 +00:00
Mitchell Livingston f946888316 preference to not give warning about remaining space 2007-03-24 17:31:10 +00:00
Mitchell Livingston 1c0e5ca701 update progress bar when seeding immediately when the stop ratio setting is changed 2007-03-22 19:16:08 +00:00
Mitchell Livingston a1c262ce22 seeding bar shows progress towards ratio 2007-03-22 04:30:08 +00:00
Mitchell Livingston 2944a10d60 some changes to the way text is drawn to the table 2007-01-19 02:06:12 +00:00
Mitchell Livingston 263bf6934d get rid of unneeded code by instead using built-in function 2007-01-18 06:22:15 +00:00
Mitchell Livingston 20eebf6092 remove unneeded function/warning 2007-01-16 04:20:45 +00:00
Mitchell Livingston 9d1f714259 New button images from macHD. Resume without waiting is now orange. 2006-10-02 05:21:10 +00:00
Josh Elsasser 0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00
Mitchell Livingston fae2f2bd2b advanced bar doesn't need to generate it's own border 2006-09-12 00:51:11 +00:00
Mitchell Livingston 25dddde5b7 Advanced bar should work again. 2006-09-12 00:08:30 +00:00
Mitchell Livingston e4ca779e68 Use tableView:objectValueForTableColumn:row: instead of tableView:willDisplayCell:...
This required passing in a dictionary of values to display, but should make it 10.5 compatible and potentially a little more efficient. Those using Leopard please report any issues, because I don't have it to test.
2006-09-11 23:52:03 +00:00
Mitchell Livingston 62164414d6 Use built-in ability for verifying notifications' objects and update message log a little less often. 2006-09-05 02:12:07 +00:00
Mitchell Livingston 6a506622b2 temp fix for crashing 2006-09-04 07:33:25 +00:00
Mitchell Livingston 7297f8232c Display a warning when in debug mode. 2006-09-03 17:06:43 +00:00
Mitchell Livingston 82a33fa0f6 Better compare of IP strings. 2006-08-30 21:40:36 +00:00
Mitchell Livingston 00c85181e6 Make error image smaller so resizing isn't necessary. 2006-08-29 00:13:35 +00:00
Mitchell Livingston e94e0e72f4 Display an error image on the torrent icon when there is an error with the torrent. 2006-08-29 00:09:49 +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 1550251be9 Save minimal status text preference (speed or time) 2006-07-25 01:23:40 +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 30ef4b0a52 simplify rect width and height measurements 2006-07-23 19:22:24 +00:00
Mitchell Livingston 202c8743df Sort by Progress (and therefore State) will now sort completed torrents by ratio.
Added license info to ImageBackgroundView.
Use system control text color for main font color rather than black.
2006-07-18 23:40:37 +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 dc18992d4a small search field in filter 2006-07-16 17:59:20 +00:00
Mitchell Livingston b81f910a72 Better way to determine highlighted color 2006-07-16 17:12:25 +00:00