Commit Graph

372 Commits

Author SHA1 Message Date
Mitchell Livingston 339b2ae85a typo 2007-02-04 08:01:37 +00:00
Mitchell Livingston 05a5e16ff8 fix a stupid mistake 2007-02-02 18:11:37 +00:00
Mitchell Livingston 3b7de9ceec same as last change for ratio option 2007-02-02 17:54:24 +00:00
Mitchell Livingston 5d2ae4eb61 simplify options for download limits in inspector with 3 check states: mixed for system defaults, checked for override with limit, and no check for no limit 2007-02-02 17:33:32 +00:00
Josh Elsasser 263bf6ff0c Check for private flag in main dict too. 2007-01-27 22:37:10 +00:00
Mitchell Livingston 8ee2e36f0a fix for when filtering and a transfer goes from checking (download) to seeding without refreshing the filter 2007-01-20 03:59:50 +00:00
Mitchell Livingston 04345733d9 at creation of file hierarchy determine the state of folders 2007-01-18 03:54:56 +00:00
Mitchell Livingston cf9ccc6c73 add checks to file table for file selection...disabled until they actually can be used 2007-01-17 23:19:53 +00:00
Mitchell Livingston 5f5206a1b1 don't recreate the file list each view 2007-01-17 20:50:42 +00:00
Mitchell Livingston 80698ed38d use proper subclass for file table and give accurate path for files 2007-01-17 17:44:03 +00:00
Mitchell Livingston 93c55ebc5c reveal files in files table works again 2007-01-17 17:29:42 +00:00
Mitchell Livingston 839a026fe7 re-add tooltips to file table 2007-01-17 07:46:17 +00:00
Mitchell Livingston 99c63daaea show file size in file table again 2007-01-17 07:26:33 +00:00
Mitchell Livingston 02274a0e60 if it is a multifile torrent don't show the base folder 2007-01-17 06:54:43 +00:00
Mitchell Livingston 091aec4abe show accurate number of total files 2007-01-17 06:43:07 +00:00
Mitchell Livingston b7e3c9af5a first go at using an outline view for files....what a pain parsing the file names 2007-01-17 06:25:35 +00:00
Mitchell Livingston 348f35f505 retain/release arrays instead of using mutable arrays, and file table only shows files when a single torrent is selected 2007-01-17 02:43:07 +00:00
Mitchell Livingston f99964e0b1 another localization 2007-01-15 18:50:59 +00:00
Mitchell Livingston fbeb566c2f when adding new files and the download/incomplete folder doesn't exist, give a sheet to choose new location/cancel 2007-01-15 18:36:08 +00:00
Mitchell Livingston 29bf2677ec sort ratio separate from progress 2007-01-15 04:41:01 +00:00
Mitchell Livingston a7c4c4474b i should've compiled first 2007-01-15 04:10:34 +00:00
Mitchell Livingston 833494672f this will help later 2007-01-15 04:09:56 +00:00
Mitchell Livingston fe558f6dbd proper pluralization 2007-01-14 22:12:39 +00:00
Mitchell Livingston 84518d962d typo fix 2007-01-14 20:24:52 +00:00
Mitchell Livingston f21822df05 don't download if folder doesn't exist, instead of just the volume to make it more compatible with new io code 2007-01-14 20:22:51 +00:00
Eric Petit e5e6a8b5df Merge io branch into trunk 2007-01-14 12:00:21 +00:00
Mitchell Livingston 5c4d35d0ac specify "download" instead of "start" 2007-01-09 15:31:14 +00:00
Mitchell Livingston b714a13056 typo 2007-01-09 15:25:07 +00:00
Mitchell Livingston c5a1a89df0 when a download finishes, stop and make wait if the seeding queue is full 2007-01-09 03:46:21 +00:00
Mitchell Livingston 806693281f separate queue for seeding torrents 2007-01-09 03:25:13 +00:00
Mitchell Livingston 39cccec3d5 clean up queue code some more 2007-01-09 01:31:56 +00:00
Mitchell Livingston fcf6161e85 simplify queueing core a bit...will make things easier later 2007-01-09 01:09:23 +00:00
Mitchell Livingston becb19f763 global bandwidth limits only apply to transfers that are not set to overide them 2007-01-08 21:53:55 +00:00
Mitchell Livingston 11dcbf4e85 since the default values really don't matter, set torrent speed limits to global limits by default 2007-01-08 15:20:18 +00:00
Mitchell Livingston 58209af347 small improvement 2007-01-08 15:18:05 +00:00
Mitchell Livingston c6b6e93265 let's make things simpler: no need for default individual torrent bandwidth limits...global limits and inspector options are enough 2007-01-08 15:11:15 +00:00
Mitchell Livingston d6104b6f71 move ratio from mac code to libT code 2006-12-30 19:24:09 +00:00
Mitchell Livingston 0389289d16 fixed tabbing behavior in prefs 2006-12-28 21:24:19 +00:00
Mitchell Livingston d7f1933087 redone options tab of inspector...current settings for "stop at ratio" won't carry over 2006-12-28 00:29:05 +00:00
Mitchell Livingston b31ee4f03c individual download/upload speed caps accessible under options in the inspector 2006-12-27 02:57:55 +00:00
Mitchell Livingston 469214cde4 remove unneeded function 2006-12-26 22:33:02 +00:00
Mitchell Livingston 4471ce12c5 manual announce in mac gui...only useable once per minute for each torrent 2006-12-26 21:02:00 +00:00
Mitchell Livingston d7c9da2c8f display actual upload/download rate in inspector for individual peers 2006-12-18 06:25:40 +00:00
Mitchell Livingston 8eb2ec59c2 expanded tooltips in peer inspector window 2006-12-18 04:12:01 +00:00
Mitchell Livingston 3374ce9a32 merge multitracker branch:
Adds announce list, support for code 301/302 redirect, improvements to mac inspector, better queueing with errors, random extra wait of up to a minute between announces, and other changes.
2006-12-17 16:36:27 +00:00
Josh Elsasser 44f8325312 Merge scrape branch:
Automatically scrape trackers as needed.
  If tracker supplies a trackerid then use it (untested).
  Use tracker's min interval, clamped to the same range as interval.
  Show total completed downloads in the MacOS X frontend.
2006-12-02 01:46:54 +00:00
Mitchell Livingston 4306c7cfa5 add support in libT and the mac interface for displaying comment, creator, and date created 2006-11-23 01:38:18 +00:00
Mitchell Livingston af170830f7 show sheet where torrent url can be entered, with some basic string to url conversion 2006-11-18 15:47:20 +00:00
Eric Petit 24060a66d9 When checking free space on the hard drive, use the destination folder (the data location may not exist yet and fileSystemAttributesAtPath gives you incorrect values then) 2006-11-17 10:12:15 +00:00
Mitchell Livingston 02fc10a15a update info when changing directory 2006-11-16 23:29:11 +00:00
Mitchell Livingston 468438cb2c string fix fix 2006-11-16 22:17:05 +00:00
Mitchell Livingston fb6bf1e71c string fix 2006-11-16 22:15:50 +00:00
Mitchell Livingston 9b75a6818a warning if move folder doesn't exist, and a few releases 2006-11-16 22:03:51 +00:00
Mitchell Livingston 68fbb93eac Choose a new volume for downloading if the current isn't available. I still need feedback on this. 2006-11-16 21:24:24 +00:00
Mitchell Livingston 0426cbde1f attempt to determine if volume is available....i need feedback on this one 2006-11-16 19:32:01 +00:00
Eric Petit 02ae863f18 No need to show DL/UL rates while checking files 2006-11-16 08:48:58 +00:00
Mitchell Livingston c97aa2b55a No choice but to delete the torrent file when adding when adding with url. 2006-11-13 04:05:24 +00:00
Mitchell Livingston 5f3434788a Peers progress bar in inspector window. Bar should be red when progress is < .33, yellow when < .66, and green when greater. 2006-11-10 04:55:52 +00:00
Mitchell Livingston 52e66c96f8 Don't request more peers if stopping (or changing ports). 2006-11-09 04:38:32 +00:00
Mitchell Livingston b11b48e804 remove option to save a private torrent copy...just do it automatically 2006-11-05 19:08:38 +00:00
Mitchell Livingston 4c36ac4a10 incomplete folder for downloading torrents 2006-11-03 16:01:45 +00:00
Mitchell Livingston 594644c2f2 disable some logs 2006-10-29 17:41:45 +00:00
Mitchell Livingston b95748b998 some cleanup from the previous commit 2006-10-24 20:51:47 +00:00
Mitchell Livingston 72d0964ffc Use localized strings where necessary. Also a fix for the port checker. Thanks to Cédric Luthi for these. 2006-10-24 20:34:13 +00:00
Mitchell Livingston 78ee2deab5 buttons in inspector to reveal data file and (public) torrent file 2006-10-15 19:57:40 +00:00
Mitchell Livingston c521f412ad in info show the number of incoming connections next to total connections 2006-10-13 18:58:12 +00:00
Mitchell Livingston 0ed7d6ab4a Pieces View is working again 2006-10-13 01:34:15 +00:00
Mitchell Livingston 663c671f93 Initial attempt at against the completeness of a specific piece. 2006-10-12 23:34:20 +00:00
Mitchell Livingston de198e1c0a if a transfer does not start because of not enough disk space, start next in queue 2006-10-11 19:01:49 +00:00
Mitchell Livingston 479cb6a2f0 Swap green and blue in the advanced bar/pieces view 2006-10-06 20:45:59 +00:00
Mitchell Livingston 9498b16d59 Tooltips display if peer is from incoming or outgoing connection. 2006-10-06 03:38:31 +00:00
Mitchell Livingston 85a55dbc2e Combine multiple loops into 1 2006-10-05 21:34:22 +00:00
Mitchell Livingston f9560758ed Don't redraw the progress bar completely each time. The number of pieces for the bar is returned to the previous, larger value. 2006-10-05 21:21:30 +00:00
Mitchell Livingston 1155c20553 Faster scrolling at the cost of a bit less detailed advanced bar (if you want more details, use the info window ;)) 2006-10-04 20:07:36 +00:00
Mitchell Livingston f1fa4616a4 Added option in warning window to begin download even if not enough disk space. Also new badge for completed. 2006-09-29 14:46:06 +00:00
Mitchell Livingston ce013148b0 Torrents that have errors aren't counted in the queue, and when a torrent encounters an error the next torrent in the queue will start (even though that torrent might still be active). 2006-09-29 05:30:36 +00:00
Mitchell Livingston c9819b2694 Determine stats before originally starting torrent from history. 2006-09-28 23:32:59 +00:00
Mitchell Livingston 1e5558796b an extra log for extra debugging 2006-09-28 18:07:27 +00:00
Mitchell Livingston f6b456b7c3 hopefully a bit better...now just figure out a way to get the progress before starting a torrent 2006-09-28 17:38:10 +00:00
Mitchell Livingston ae064b1ba7 more logging and an extra check 2006-09-28 17:17:07 +00:00
Mitchell Livingston 1fabd22ddb Log the volume name to help in debugging. 2006-09-28 17:02:41 +00:00
Mitchell Livingston 78d83b063d a little more detailed log to save time converting bytes 2006-09-28 16:54:44 +00:00
Mitchell Livingston de66540961 don't subtract unsigned numbers 2006-09-28 16:50:26 +00:00
Mitchell Livingston 8079b10845 Re-add logs and try using different conversion. 2006-09-28 04:06:38 +00:00
Mitchell Livingston 13b3da143e Remove some logging and add the volume name to space warning. 2006-09-28 00:48:07 +00:00
Mitchell Livingston 9881f7b6ef First attempts at warning about not enough disk space (and stopping the offending torrents). Right now this occurs when the torrent is started. 2006-09-28 00:32:26 +00:00
Mitchell Livingston f680407682 make autostart variable the same as in .6 2006-09-27 14:43:36 +00:00
Mitchell Livingston d3b8ae67bc The advance bar should have the same default number of pieces as the pieces view. 2006-09-25 21:24:25 +00:00
Josh Elsasser 0257761670 Merge nat-traversal branch to trunk. 2006-09-25 18:37:45 +00:00
Mitchell Livingston 0c11cb4319 Add Opera to the clients list. 2006-09-12 01:38:57 +00:00
Mitchell Livingston 4d5300394a small cleanup in advanced bar code 2006-09-12 00:59:25 +00:00
Mitchell Livingston 9e6e31cad1 white instead of "back" color 2006-09-12 00:56:37 +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 4f99187f8c Change the advanced bar width a bit. 2006-09-12 00:26:23 +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 7297f8232c Display a warning when in debug mode. 2006-09-03 17:06:43 +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 78ffb705da unsigned long long for file size 2006-08-21 16:17:36 +00:00
Mitchell Livingston a99e6ab33a Add individual file sizes to info's file table. 2006-08-20 18:32:55 +00:00
Mitchell Livingston da555b7c6f Show swarm speed in inspector. 2006-08-17 03:12:40 +00:00
Mitchell Livingston 199bb19e14 Check for connected peers, as well as better peer table resizing behavior. 2006-08-15 00:59:44 +00:00
Mitchell Livingston d232d371b5 IP address in peer table 2006-08-14 22:59:30 +00:00
Mitchell Livingston ebf7b6eac1 Lock and unlock while accessing peers in libtransmission.
Handle lack of client id in clients.h rather than the gui.
2006-08-14 22:27:34 +00:00
Mitchell Livingston 2eabbc90b5 No need to make peer table make the window key, which also eliminates the need for a subclass. 2006-08-14 03:13:34 +00:00
Mitchell Livingston 402e827a87 Fix for when the returned client string is "unknown client (" 2006-08-13 21:56:20 +00:00
Mitchell Livingston f6eea9e591 Free even more memory. 2006-08-13 21:24:23 +00:00
Mitchell Livingston 62d9f1ebb1 Get peers separately from the rest of the stats. This should also get rid of a memory leak. 2006-08-13 21:16:18 +00:00
Mitchell Livingston e392a84e36 Fix a memory leak. 2006-08-13 19:55:59 +00:00
Mitchell Livingston f76f1c3091 Some changes to getting peers in libtransmission. Now it uses a separate structure for the GUI accessing peers. 2006-08-13 19:43:15 +00:00
Mitchell Livingston 98f63e9133 Basic peer info in info window...more to come. 2006-08-13 15:46:02 +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 c251a5c5df Check for completed download in Torrent class. 2006-07-30 18:37:29 +00:00
Mitchell Livingston ca97d6968a Capitalization change. 2006-07-29 16:58:44 +00:00
Mitchell Livingston c60fd34b30 Capitalization fix. 2006-07-25 01:30:56 +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 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 9abcf3aac0 Make growl notifications a little more verbose. 2006-07-08 14:35:03 +00:00
Mitchell Livingston 6bcb612a95 Post Growl notification when seeding complete.
New name for notification for torrent auto added.
2006-07-08 13:32:36 +00:00
Mitchell Livingston 0dd866888f In minimal view show ratio when seeding. 2006-07-06 00:19:38 +00:00
Mitchell Livingston a5b27acf58 Re-added state to inspector because state isn't visible from minimal view and state can still differ from what's displayed (for example, it might display "waiting to start" when status is "paused"). 2006-07-06 00:03:27 +00:00
Mitchell Livingston 5b20e756f3 Small View is renamed Minimal View...a fitting name 2006-07-05 23:23:46 +00:00
Mitchell Livingston ba78ad49aa Start of Small Table View (accessible from View menu). 2006-07-05 22:36:27 +00:00
Mitchell Livingston d0ed41c842 Predicted time now shows days. 2006-07-05 02:16:46 +00:00
Josh Elsasser 02e5485c0f Move the ETA cap of 99:59:59 from libtransmission to the MacOS X GUI.
Display the ETA better in the GTK GUI.
2006-07-04 22:31:14 +00:00
Mitchell Livingston e7ebf16d43 Start and stop transfers for launch/quit without performing checks for waiting transfers, etc. This should fix saving the incorrect states of running transfers between launches. 2006-07-02 22:59:23 +00:00
Mitchell Livingston a722b11ae8 I don't think these will be needed anymore. 2006-06-25 18:49:29 +00:00
Mitchell Livingston b2a533102f Only say waiting to start if it will eventually start. 2006-06-25 18:42:01 +00:00
Mitchell Livingston 263578b2e5 I forgot to take out the code I was using for testing. 2006-06-25 18:19:49 +00:00
Mitchell Livingston dd5c37cfd7 Auto-start check works correctly (needed the torrent to update beforehand). 2006-06-25 18:17:17 +00:00
Mitchell Livingston 25e1cafe24 let's save these for later... 2006-06-24 04:36:31 +00:00
Mitchell Livingston 4e7d68ac6d Torrents will each store an int to signify it's place in the "custom order" (I need to come up with a better name for that). This functionality will become more useful once it's actually used. 2006-06-24 04:32:17 +00:00
Mitchell Livingston 23dcbc5353 Some more work on queueing. 2006-06-23 22:32:01 +00:00
Mitchell Livingston 765db93b40 Update the inspector when necessary through notifications, which will help once the wait check is added to the inspector. 2006-06-23 18:08:55 +00:00
Mitchell Livingston 14cf4c87e6 The beginning of queueing. Has some work to go, but the basic infrastructure is set up. 2006-06-23 15:06:27 +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 681ba0ed25 Status is now Activity, commented out now-unused method 2006-06-20 17:19:15 +00:00
Mitchell Livingston f633c19c03 No need to force resizing now that window resizing is allowed. 2006-06-20 03:54:35 +00:00
Mitchell Livingston dd7900192a small rearrangement 2006-06-20 03:00:39 +00:00
Eric Petit db26a7e23a Don't assume that a download is a folder if there only is one
file (fixes #36)
2006-06-20 02:34:34 +00:00
Mitchell Livingston cb2eb173d1 Where's the Torrent? Transmission Support Folder 2006-06-19 23:51:04 +00:00
Mitchell Livingston 0a98289601 Alternating row colors in file table 2006-06-17 19:34:08 +00:00
Mitchell Livingston e5e903a921 Added parentheses. 2006-06-16 17:33:16 +00:00
Mitchell Livingston 84ae6d401d Might as well make size more precise. 2006-06-16 00:35:11 +00:00
Mitchell Livingston 72998f58c9 a little safety 2006-06-15 22:07:05 +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 78753134fa Make sure nil is returned on failure. 2006-06-15 05:30:08 +00:00
Mitchell Livingston fb875a5409 Simplify the code a bit. 2006-06-15 05:03:32 +00:00
Mitchell Livingston 23e6c4d5e3 stupid defaults! 2006-06-15 02:46:54 +00:00
Mitchell Livingston c1c071da81 Should save between launches now, among other things. 2006-06-15 02:35:40 +00:00
Mitchell Livingston cac18c2503 By popular demand: the return of "Remove Torrent File." It only applies to the files not moved to the private folder. 2006-06-15 02:07:50 +00:00
Mitchell Livingston 4eb8918f3a Get rid of unnecessary class by merging ellipsis code into StringAdditions. 2006-06-14 20:08:51 +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 66c9fffb82 This should make the borders of the new progress bar a bit more consistent. 2006-06-12 23:36:25 +00:00
Josh Elsasser 0600f3d4aa Add support to libtransmission and the MacOS X GUI for saving private copies of
torrent files.
2006-06-09 19:53:35 +00:00
Josh Elsasser 9a865c00b9 Revert the last commit, it wasn't supposed to go on the trunk. 2006-06-08 04:44:45 +00:00
Mitchell Livingston 41525beaa3 Initial support of moving torrent files in Mac version. Some things are incomplete and it's not yet guaranteed to work (in other words, only I should be even trying to use it). 2006-06-08 04:40:45 +00:00
Mitchell Livingston b3b0935ee7 Fix the dash. 2006-06-07 14:42:54 +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 734845196a Saves in history the date at which the torrent was loaded 2006-04-25 16:31:19 +00:00
Eric Petit de6cc777cc Cosmetic 2006-04-22 16:54:20 +00:00
Eric Petit 229d60507b Use NSLog on Mac OS X for errors, cosmetic changes 2006-04-22 16:44:56 +00:00
Eric Petit 58ec8a3b19 Show tracker errors again 2006-04-08 15:56:26 +00:00
Eric Petit 280cb54a36 Finder-independent trashPath: method 2006-03-28 06:26:13 +00:00
Eric Petit 5165d09994 Fixed the info panel and refined its look 2006-03-27 15:09:29 +00:00
Eric Petit a1830a25bf Merge from branches/new_api:r161 2006-03-23 12:39:39 +00:00