Commit Graph

303 Commits

Author SHA1 Message Date
Mitchell Livingston 63c06c99b1 add ability to add and remove to the rpc access list 2008-06-04 04:48:17 +00:00
Mitchell Livingston 84f922af92 pieces bar color adjustment; dead code removal 2008-05-29 21:50:16 +00:00
Mitchell Livingston 63470e90cd handle removing with rpc 2008-05-27 19:05:48 +00:00
Mitchell Livingston 3a1c463fee simplify the drawing of group colors for transfers 2008-05-27 16:07:12 +00:00
Mitchell Livingston 131a79c702 allow transfers to be dragged when status fields are hit; trivial efficiency improvements when drawing torrent cells 2008-05-27 06:05:05 +00:00
Mitchell Livingston 9f3a13f1b4 improvement for showing the pieces bar for transfers with few pieces (less than 324) 2008-05-27 05:27:42 +00:00
Mitchell Livingston 510570091c no need to have the bitmap as an instance variable since it is no longer saving colors between reload 2008-05-27 05:08:09 +00:00
Mitchell Livingston cd886da2ac trivial efficiency 2008-05-27 04:49:08 +00:00
Mitchell Livingston a24eabaa24 simplify the pieces bar by not drawing the gradient over it 2008-05-27 04:25:00 +00:00
Mitchell Livingston 3eb3d890ec small potential speedup for the pieces bar 2008-05-27 04:20:25 +00:00
Mitchell Livingston cc3f907115 minor adjustments/code cleanup of the new group drawing code 2008-05-14 22:57:46 +00:00
Mitchell Livingston f59a61576c adjust the look of the group colors 2008-05-14 21:35:37 +00:00
Mitchell Livingston 9c8e002ec1 update NEWS, remove unused variable 2008-05-10 19:34:17 +00:00
Mitchell Livingston a423636ed3 the "selected" status string and the minimal view's "remaining time" status string are now toggled from the main action menu instead of being clickable 2008-05-10 19:24:28 +00:00
Mitchell Livingston 5acb4297ae experiment in improving calculation of the availability bar 2008-04-16 12:32:07 +00:00
Mitchell Livingston 67ea41051f mac build compiles again 2008-04-11 17:52:05 +00:00
Mitchell Livingston 65b3856f61 for determining table text color when selected, remove the Leopard code since the Tiger code is accurate 100% of the time 2008-04-10 19:52:27 +00:00
Mitchell Livingston e66074c1a6 (1.1x) a little extra safety when determining space needed to download 2008-04-09 18:40:22 +00:00
Mitchell Livingston 2d3ec18f08 only show "selected" in the progress bar (and allow toggling) for multifile torrents 2008-03-31 18:33:34 +00:00
Mitchell Livingston bc188e86f0 eliminate some Leopard checks 2008-03-23 18:47:35 +00:00
Mitchell Livingston c402442786 decouple the group controller with the group window, and as a result only have the groups window loaded when it's opened 2008-03-23 00:56:43 +00:00
Mitchell Livingston 3aae015468 small height adjustment 2008-02-19 05:49:41 +00:00
Mitchell Livingston dd0bf1fa8f better encapsulate the collapsed group values 2008-02-07 16:20:24 +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 d8fe88ae9e fix potential future display bug in the table cell 2008-02-04 13:48:55 +00:00
Mitchell Livingston 10061504df don't sort when there is 1 or less items 2008-01-23 21:42:37 +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 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 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