Commit Graph

219 Commits

Author SHA1 Message Date
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
Mitchell Livingston 0f851c5fd1 Show green in top part of advanced bar to represent available but not-yet downloaded (patch from denisx on irc).
Make filter bar font larger.
2006-07-16 03:45:55 +00:00
Eric Petit 277b85a24d Don't repeatedly call htonl 2006-07-12 17:03:11 +00:00
Mitchell Livingston de20500392 tweak Minimal spacing a bit 2006-07-06 00:33:24 +00:00
Mitchell Livingston aa54615b21 Some refinement in Small View. 2006-07-05 22:47:48 +00:00
Mitchell Livingston ba78ad49aa Start of Small Table View (accessible from View menu). 2006-07-05 22:36:27 +00:00
Mitchell Livingston cb9a16a0bd Removed the order number...that was for my testing (maybe it can fit in the interface at another time...) 2006-07-02 22:01:06 +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 338b2a6a19 Make more images static. 2006-06-16 01:50:10 +00:00
Mitchell Livingston 84ae6d401d Might as well make size more precise. 2006-06-16 00:35:11 +00:00
Mitchell Livingston c1e764a03a This might fix bar overlapping (but who really cares since it can't be seen on normal builds anyways) 2006-06-15 16:01:26 +00:00
Mitchell Livingston 24acb44310 Potentially get rid of (unnoticeable) overlap in simple progress bar. 2006-06-15 06:24:03 +00:00
Mitchell Livingston 69fee0da51 Differentiate between valid amount downloaded and total amount downloaded, showing the valid amount in the main window. 2006-06-14 03:00:27 +00:00
Mitchell Livingston 4c9421cfa4 Make the right end blue if the whole bar is blue. 2006-06-14 01:53:24 +00:00
Mitchell Livingston 064b33066a Setting the size for the images that will start large initially was redundant. 2006-06-13 01:10:48 +00:00
Mitchell Livingston 4d20e5c525 Moved myself up in the credits, tweaks here and there 2006-06-13 00:12:46 +00:00
Mitchell Livingston 66c9fffb82 This should make the borders of the new progress bar a bit more consistent. 2006-06-12 23:36:25 +00:00
Mitchell Livingston 0098328648 The advanced bar is a bit more glossy. 2006-06-12 17:25:50 +00:00
Mitchell Livingston 19940c00de This look for the progress bars matches the new smooth aqua look a lot more and is generated from images instead of drawing the bar from scratch.
The advanced bar should also be easier on the eyes now that the overlay isn't as extreme.

Thanks to FOOOD for the images.
2006-06-12 16:58:04 +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 08e4a347a2 Plus, not minus. :-/ 2006-06-10 03:38:32 +00:00
Mitchell Livingston ca14feb88b Make the progress bar a bit longer to look better with the last commit. 2006-06-10 03:33:44 +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 58ec8a3b19 Show tracker errors again 2006-04-08 15:56:26 +00:00
Eric Petit a1830a25bf Merge from branches/new_api:r161 2006-03-23 12:39:39 +00:00