Commit Graph

860 Commits

Author SHA1 Message Date
Mitchell Livingston ef3865ec45 only show the eta string for idle seeding time remaining if the time is less than 2 minutes 2010-08-14 17:32:52 +00:00
Mitchell Livingston c3715ca6ce add a stat for the eta of the seeding idle limit, and use it in the Mac eta display 2010-08-14 15:30:43 +00:00
Mitchell Livingston 8bee7fa23c update Mac build for the change from inactive to idle 2010-07-24 03:19:41 +00:00
Mitchell Livingston feb6e6b785 fix inactivity typo 2010-07-23 11:02:57 +00:00
Mitchell Livingston fd0dd10419 First go at #2560 "inactive seeding time limit". libtransmission and Mac support are currently implemented. 2010-07-16 03:12:57 +00:00
Mitchell Livingston 730283b8f7 whoops 2010-07-11 21:06:28 +00:00
Mitchell Livingston 235caa572b Have libtransmission keep track of idle seconds. Use this value for determining the stalled minutes in the Mac code. 2010-07-11 21:02:30 +00:00
Mitchell Livingston 9e2106b5c4 replace some floats with doubles 2010-07-06 03:40:34 +00:00
Mitchell Livingston ed74e0009b Mac build compiles again 2010-07-06 03:31:17 +00:00
Mitchell Livingston 746f02fc02 #3320 When a download completes at the same time seeding completes, still show a Growl notification and play a sound 2010-06-25 22:19:28 +00:00
Mitchell Livingston 2980120847 #3298 Move percentage string formatting into its own method, and don't append .00 to 100% 2010-06-24 00:00:43 +00:00
Mitchell Livingston ee558fda5a whoops 2010-05-31 14:07:35 +00:00
Mitchell Livingston d0bf7ff409 #3216 Progress Percentage Should Round Down 2010-05-31 14:06:54 +00:00
Charles Kerr 382ae1334c (trunk mac) maybe now? 2010-05-08 08:54:45 +00:00
Charles Kerr 627f458e6a Sync mac client with libtransmission's LDS->LDP changes, maybe 2010-05-08 08:48:28 +00:00
Mitchell Livingston a17dfd02b2 add "local peer discovery" peer info to the inspector 2010-05-01 16:19:40 +00:00
Mitchell Livingston 99084a1190 eliminate a warning 2010-04-24 16:50:18 +00:00
Charles Kerr 044823baf4 (trunk macosx) maybe fix the utils.h breakage? 2010-04-23 16:59:14 +00:00
Charles Kerr d8f49d083c "this time for sure!" 2010-04-14 13:54:18 +00:00
Charles Kerr bb3565df60 blind-leading-the-blind dept: try to fix the mac build from r10480 w/o a mac :) 2010-04-14 13:42:51 +00:00
Charles Kerr 1a7bcbbea2 (trunk) #1869 "new status for torrents that reached the seed ratio" -- add temporary debug messages to help track down the issue leena's reporting in that ticket 2010-04-14 13:36:43 +00:00
Charles Kerr 51ce6c52a9 sync to previous commit 2010-04-14 00:03:34 +00:00
Mitchell Livingston a1c83dc9a8 in the "state" field of the inspector, for paused transfers indicate if waiting in the queue or finished 2010-04-06 02:53:07 +00:00
Mitchell Livingston 05cf5fccef when the ratio is set to unlimited when resuming, reload the inspector 2010-04-02 18:05:39 +00:00
Mitchell Livingston 6a4954e867 #1869 Move the finished state to libtransmission. This setting is now remembered between launches. This also causes torrents that hit the seed ratio to not have this setting changed to unlimited until start. 2010-04-02 17:57:25 +00:00
Mitchell Livingston f3b98a6c18 avoid unnecessary setting of id when calling tr_torrentSetAnnounceList 2010-02-22 00:15:27 +00:00
Mitchell Livingston 0b3f22fc42 replace an invalid comment 2010-02-20 18:32:29 +00:00
Mitchell Livingston 1ed383776f when adding a new tracker, display tier as "New Tier" 2010-02-15 19:26:23 +00:00
Mitchell Livingston 78f6a488d5 remove temporary asserts 2010-02-15 14:56:14 +00:00
Mitchell Livingston 26ccf12b3e #2902 New tracker addition field obscured when trackers vertically fill inspector view 2010-02-14 04:48:12 +00:00
Mitchell Livingston 4524029ab4 add the ability to remove trackers when multiple torrents are selected 2010-02-13 04:30:47 +00:00
Mitchell Livingston 3831b66375 slightly increase the Add window's minimum width 2010-02-12 22:27:42 +00:00
Mitchell Livingston f885922a58 small adjustments to the file inspector's dnd/priority code 2010-02-12 01:32:09 +00:00
Charles Kerr b7b5a0e427 (trunk) #2894 "tr_torrentGetFileDL() and tr_torrentGetFilePriority() should go away" -- get rid of it in the mac client and libtransmission too 2010-02-11 15:05:07 +00:00
Mitchell Livingston 5595666310 a couple more tweaks to displaying peers and webseeds 2010-02-07 17:37:01 +00:00
Mitchell Livingston d835f48828 if no webseeds, avoid some unneeded work when generating the list 2010-02-07 01:56:17 +00:00
Mitchell Livingston e03d7dd658 #2867 Display peers and web seeds for all selected torrents in the inspector 2010-02-06 03:34:49 +00:00
Mitchell Livingston 1dd5dddcec improve how tracker tiers are sent to the inspector code 2010-02-06 02:35:27 +00:00
Mitchell Livingston 5733f139fa if torrent name is unavailable, use hash 2010-02-06 00:20:20 +00:00
Mitchell Livingston 94517feeeb #2860 Display trackers for all selected torrents in the inspector 2010-02-05 02:51:42 +00:00
Charles Kerr 36d97610bd (trunk) #2802, #2716, #2717 -- remember magnet links and their settings between sessions, and allow their trackers to be modified 2010-02-02 22:45:22 +00:00
Mitchell Livingston 12e6074b64 add a temporary assert 2010-02-01 13:01:33 +00:00
Mitchell Livingston 5cece5feb3 #2785 - generate the file list right away instead of lazily, since auto-grouping might rely on it 2010-01-23 00:30:04 +00:00
Mitchell Livingston 4ea2557fed using ABS is better than multiplying by -1 2010-01-17 16:20:28 +00:00
Charles Kerr a77770a51a (trunk) add tr_torrent_stat.id to RPC documentation. Rename tr_tracker_stat.identifier as tr_tracker_stat.id for consistency with tr_torrent.id 2010-01-13 22:40:07 +00:00
Mitchell Livingston 14da64ec06 assorted small cleanup and log removal 2010-01-10 16:26:30 +00:00
Mitchell Livingston 6138daec3f add an identifier to trackers, for use by the ui's (this should hopefully fix the problem for removing trackers with "invisible" trackers) 2010-01-10 02:34:00 +00:00
Mitchell Livingston c4cf9fd5bc even more logs! 2010-01-09 04:43:54 +00:00
Mitchell Livingston 521a1dba2b add some NSLogs to help smoke out http://forum.transmissionbt.com/viewtopic.php?f=1&t=9105&start=105#p43232 2010-01-08 02:48:08 +00:00
Mitchell Livingston b5ad91e3de fix pluralization of "got 1 peer" 2010-01-05 04:34:31 +00:00
Charles Kerr c26c0deed9 (trunk mac) that's what I get for messing with mac code w/o a compiler... 2010-01-04 20:21:01 +00:00
Charles Kerr 7c9b968916 (trunk) sync mac, gtk clients with r9863 2010-01-04 20:18:21 +00:00
Mitchell Livingston a641d038af create file lists lazily 2010-01-02 02:50:22 +00:00
Mitchell Livingston 1fec2fb2d0 happy new year! 2010-01-01 21:12:04 +00:00
Mitchell Livingston ef935d24c0 avoid copying file paths when unnecessary 2009-12-31 18:55:14 +00:00
Mitchell Livingston f2bbae3fd8 some more insignificant changes I have sitting around locally 2009-12-31 03:19:54 +00:00
Mitchell Livingston b32ff10cba assorted code cleanup 2009-12-26 00:02:20 +00:00
Mitchell Livingston 130b4ffd29 add a magnet link "icon" 2009-12-20 14:44:56 +00:00
Mitchell Livingston 5f82580e30 eliminate redundant code 2009-12-13 01:40:53 +00:00
Mitchell Livingston 09442cd88b warnings-- 2009-12-13 01:36:22 +00:00
Mitchell Livingston 3cd939ebca improve the tracker removing code 2009-12-12 04:39:43 +00:00
Mitchell Livingston e3cdefcd8a warnings-- 2009-12-11 04:01:47 +00:00
Mitchell Livingston 888034385c avoid a potential crash when removing transfers 2009-12-07 03:53:52 +00:00
Mitchell Livingston db4b1959aa #2625 Add a menu item to copy a magnet link to the clipboard 2009-12-04 13:35:15 +00:00
Mitchell Livingston 25c8e4f0d0 cap the message log count in the Mac UI 2009-12-02 00:27:07 +00:00
Mitchell Livingston 9ceb3c805d #2621 Percentage of retrieved metadata was between 0 and 1, not 0 and 100 2009-11-28 17:04:03 +00:00
Mitchell Livingston aa4389082a update some fields in the inspector and main window for magnetized transfers 2009-11-27 20:47:03 +00:00
Mitchell Livingston ba9f83aede reload the inspector when the magnet link is retrieved 2009-11-27 16:55:36 +00:00
Mitchell Livingston 174f9d12f9 fix a crash when attempting to add invalid magnet links 2009-11-27 04:28:06 +00:00
Mitchell Livingston 740e696f24 generate the file list when a magnetized transfer retrieves its metadata 2009-11-27 03:44:00 +00:00
Mitchell Livingston 95328f5535 display progress of retrieving metadata on a magnetized transfer 2009-11-27 03:20:19 +00:00
Mitchell Livingston f401399efd register to automatically accept when a user clicks a magnet link 2009-11-26 16:38:21 +00:00
Mitchell Livingston 400ed672fc instead of showing a bunch of zeros, the progress string should say it's a magnet torrent 2009-11-26 06:33:35 +00:00
Mitchell Livingston 40d5904b66 add LTEP to type of peers in the inspector 2009-11-26 06:15:29 +00:00
Charles Kerr be853dd07b (trunk mac) maybe fix the mac build 2009-11-26 05:40:27 +00:00
Mitchell Livingston 761db59640 fix a crash with magnet links and file list 2009-11-26 02:32:02 +00:00
Mitchell Livingston ab4ffba987 add a placeholder magnet link icon 2009-11-26 02:26:51 +00:00
Mitchell Livingston 565d87f8c4 some more tweaks for magnet links 2009-11-26 02:11:00 +00:00
Mitchell Livingston 52ef4a432e support torrents with no trackers in the Mac ui 2009-11-26 00:21:55 +00:00
Mitchell Livingston 34db0dbe0d catch a couple of new cases when dealing with magnet transfers 2009-11-25 05:04:19 +00:00
Mitchell Livingston 7b7dbf58cd start laying a little magnet link groundwork, and remove redundant torrent parse when creating torrent objects 2009-11-25 04:11:52 +00:00
Mitchell Livingston a8fc8b7707 missed one 2009-11-22 01:03:54 +00:00
Mitchell Livingston 1dfd126ae5 tiny changes I have sitting around 2009-11-07 22:58:14 +00:00
Mitchell Livingston c824db3f85 small efficiency change for file inspector stats 2009-11-07 04:48:02 +00:00
Mitchell Livingston 2f94ecf170 the new way of determining the unwanted width of the progress bar wasn't cutting it, so use the old way 2009-11-07 02:22:57 +00:00
Mitchell Livingston 9a2cc68cdc for now, manually update error messages on the Mac client to use the proper wording for the "move file" menu item 2009-11-02 01:33:15 +00:00
Mitchell Livingston e47af45db1 sleep for 0.05 seconds, and use cocoa to do it 2009-11-01 22:26:35 +00:00
Mitchell Livingston 2c3d75fbd2 200 microseconds for real 2009-11-01 22:00:51 +00:00
Mitchell Livingston a03dd39510 attempt to get the move functionality not to hang on Mac by 1. having the while loop wait for 200 microseconds, and 2. making the status variable volatile. 2009-11-01 21:56:50 +00:00
Mitchell Livingston 085302f15f simplify the time machine updating method 2009-10-31 16:25:00 +00:00
Mitchell Livingston 821b215f37 Get rid of another warning 2009-10-31 02:49:59 +00:00
Mitchell Livingston f254b9eb54 change the text at the bottom of the peer info tab from 3 columns to a single line 2009-10-28 21:05:50 +00:00
Mitchell Livingston be61ded9de fix a crash when trying to delete data that doesn't exist 2009-10-26 02:33:23 +00:00
Mitchell Livingston 130c9af1d1 on second thought, the other UI's might want this value sooner or later, and it's cheaper to calculate it in the stat function 2009-10-25 18:49:20 +00:00
Mitchell Livingston a5e0b6e5b2 since the Mac UI is the only one to use it, move percentRatio calculation into the Mac code 2009-10-25 18:45:35 +00:00
Mitchell Livingston cfbcdd8832 one less warning 2009-10-25 16:31:28 +00:00
Mitchell Livingston a84da10766 restore the check for remaining disk space 2009-10-25 13:42:22 +00:00
Mitchell Livingston dc068e920f since Transmission will now create missing directories, don't have the check/pop-up for missing location when starting 2009-10-25 13:20:52 +00:00
Mitchell Livingston 50e140d240 display an error when moving data fails 2009-10-25 03:08:13 +00:00
Mitchell Livingston 960b303046 restore the check of moving a folder into itself 2009-10-25 03:05:25 +00:00
Mitchell Livingston 9c21268250 fix Quick Look from the file inspector 2009-10-22 00:10:41 +00:00
Mitchell Livingston b19c79cff8 more efficient time machine location check 2009-10-21 23:13:02 +00:00
Mitchell Livingston 43639d35f3 block while moving a file (for now) 2009-10-21 22:23:08 +00:00
Mitchell Livingston 793524ac47 update the time machine exclude list when the file is moved through rpc 2009-10-21 22:20:43 +00:00
Mitchell Livingston 0281256288 lets not leak a string 2009-10-21 13:03:37 +00:00
Mitchell Livingston 581afef25a use libtransmission for moving, incomplete directory, and directory controlling in general (still rough around the edges) 2009-10-21 13:01:14 +00:00
Mitchell Livingston 1fec35c944 remove the header from the file table 2009-10-19 01:38:13 +00:00
Mitchell Livingston 0a21057526 avoid an unnecessary copy when generating a single-file torrent's file list 2009-10-18 15:54:18 +00:00
Mitchell Livingston 94627c81f3 only remove a torrent from the queue for a local error, not tracker error; miscellaneous trivial adjustments 2009-10-17 17:15:37 +00:00
Mitchell Livingston 3877b7c1d3 #2503 When sorting by state, separate queued transfers from paused transfers 2009-10-15 23:18:39 +00:00
Mitchell Livingston 53273caef2 add some more switch statement asserts 2009-10-11 17:17:29 +00:00
Mitchell Livingston 2af26e1d7c #2488 when sorting by tracker, first use the tracker that comes first alphabetically 2009-10-11 13:42:10 +00:00
Mitchell Livingston 6b452c1d07 update for the new tracker verification changes, and use a set instead of an array for removing trackers 2009-10-10 19:55:47 +00:00
Mitchell Livingston ecea999554 #2470 Pasting an address (or list of addresses) into the tracker list should add those trackers 2009-10-01 01:15:37 +00:00
Mitchell Livingston 15f1f18e56 prepare for re-adding "remove tracker" functionality 2009-09-29 03:53:57 +00:00
Mitchell Livingston edefc9a10a getting closer to re-adding "add tracker" functionality 2009-09-29 03:02:44 +00:00
Mitchell Livingston 5ea8b6a77a dead code removal 2009-09-28 04:29:38 +00:00
Mitchell Livingston 4284d1fa23 actually return the array of flat trackers from the corresponding method 2009-09-27 15:49:33 +00:00
Mitchell Livingston c3b81a378c let's copy the tracker stat object only once instead of twice on each pulse 2009-09-26 16:46:14 +00:00
Mitchell Livingston 5b7547a0e1 mac build compiles once again 2009-09-26 13:58:40 +00:00
Mitchell Livingston 06df79d02f begin the reorganization of the inspector tracker tab - a lot still left to do 2009-09-26 04:02:39 +00:00
Mitchell Livingston 174a097ebd fix mac build - tracker info tab info is not fully available for now 2009-09-25 22:18:54 +00:00
Mitchell Livingston fd934eeaff remove a warning 2009-09-17 01:15:00 +00:00
Mitchell Livingston 8b4ec4b7b7 remove distinction between built-in trackers and custom-added trackers; add trackers to the end of the list instead of the beginning 2009-09-17 00:33:39 +00:00
Mitchell Livingston 3f00feef10 whoops 2009-09-06 21:19:19 +00:00
Mitchell Livingston b41c9169e8 Simplify the progress bar drawing code using NSDivideRect(). This also allows the bars to have non-integer lengths 2009-09-06 21:09:33 +00:00
Mitchell Livingston 75584d81ac zoom from the inspectors file table when quick looking 2009-09-05 01:58:13 +00:00
Mitchell Livingston 5e2ef3aa89 draft #1 of #2369 - use public API for QuickLook on 10.6 (and drop the hack for 10.5-support) 2009-09-04 04:10:46 +00:00
Mitchell Livingston 912d76dee4 #2370 On 10.6, revaling files in Finder will select multiple files in the same directory 2009-08-30 17:50:05 +00:00
Mitchell Livingston 74bcaba766 require 10.6 (and Xcode 3.2) for development, and kill some more deprecated methods too 2009-08-29 20:28:52 +00:00
Mitchell Livingston ace6821574 remove a couple of 10.6 deprecated methods 2009-08-28 23:40:11 +00:00
Mitchell Livingston 851595b11c get the mac build to compile again 2009-08-05 02:13:45 +00:00
Mitchell Livingston 360f5c49ae recognize tracker errors and warnings 2009-08-05 01:55:37 +00:00
Mitchell Livingston 28419f169f whoops - delete the torrent file if it is NOT the internal torrent file 2009-07-22 14:10:07 +00:00
Mitchell Livingston 91bb087731 #2287 Remove options to delete torrent file when removing, and remove internal storing of torrent file location 2009-07-20 00:40:01 +00:00
Mitchell Livingston 1170ac2c73 count, not size 2009-07-14 00:11:50 +00:00
Mitchell Livingston 810e2f6727 a little safety for when trackerless torrent support is added 2009-07-12 03:28:03 +00:00
Mitchell Livingston 6fd6b4b5b0 potentially (hopefully) fix bug where some users couldn't add torrents 2009-06-10 22:56:24 +00:00
Mitchell Livingston 46df14ffd6 #2123 Remember the manually-added torrent location between launches 2009-05-28 01:08:44 +00:00
Mitchell Livingston bb259225aa safety check for when displaying trackers in the inspector 2009-05-24 14:37:12 +00:00
Mitchell Livingston 1b56f29efb fix r8473 whoops 2009-05-22 12:11:45 +00:00
Mitchell Livingston 0b7007088b cleanup last commit(s) 2009-05-22 02:52:28 +00:00
Mitchell Livingston c36a007cd4 remove a little redundant code from the last commit 2009-05-22 02:26:02 +00:00
Mitchell Livingston d3370ef29e save internal torrent path to history, and prefer that over the hash when loading on startup 2009-05-22 02:08:51 +00:00
Mitchell Livingston a94a34e347 update Mac code for DHT (still doesn't compile) 2009-05-19 22:51:37 +00:00
Mitchell Livingston deeeee3d05 #2045 hold down option key on launch to start with all torrents paused 2009-05-12 00:58:22 +00:00
Mitchell Livingston bada82a96c skeleton for priorities in the Mac UI - still lacks ability to actually change the priority 2009-04-20 02:45:27 +00:00
Charles Kerr c3b24bc471 (trunk) modify tr_torrentParse() and tr_torrentNew() arguments s.t. they use the ctor's session instead of passing it in again. Allow a NULL session pointer for some cases of tr_torrentParse(). 2009-04-02 17:30:29 +00:00
Mitchell Livingston 453e4a3f72 the Mac build works with the new speed limit libT code - still a bit quirky 2009-03-28 17:18:43 +00:00
Mitchell Livingston e81e717e5e r8061 whoops 2009-03-15 20:33:42 +00:00