Commit Graph

376 Commits

Author SHA1 Message Date
Mitchell Livingston 1067a001d9 create the display icon of torrents when needed (so if you only use minimal or regular view, it won't create the other icon) 2007-07-03 01:49:21 +00:00
Mitchell Livingston 9fc1829ac5 have the badger not set up all of the badge images and other data at launch...instead wait until it's needed 2007-07-02 22:39:16 +00:00
Mitchell Livingston 0f4aa186d5 • do an initialization only when needed
• get rid of an unnecessary variable and need for release
2007-07-01 17:32:55 +00:00
Mitchell Livingston 2e599065ff simplify Torrent's dealloc 2007-07-01 15:18:03 +00:00
Mitchell Livingston 08879e11f3 a little code cleanup 2007-07-01 13:27:26 +00:00
Mitchell Livingston 6ebb14f416 Don't make other actions rely on dealloc being called...it's not reliable. This should make quitting faster in many instances. 2007-07-01 05:23:07 +00:00
Mitchell Livingston f62addb8aa get rid of a warning 2007-06-30 21:53:45 +00:00
Mitchell Livingston e20d8f6e3e fix the warning for remaining size coming up when it shouldn't 2007-06-30 20:36:02 +00:00
Mitchell Livingston 19c7d8367a if a transfer is checking decrease the queue count for both queues but don't start the transfer 2007-06-30 16:13:10 +00:00
Mitchell Livingston e478bee3fa fix #240: make sure internally-saved torrent files are only deleted when the torrent is removed, not when quitting...hopefully this will also mean that old torrents won't remain forever in app support 2007-06-29 21:25:32 +00:00
Mitchell Livingston 0554c3f391 fix #239: avoid a loop when trying to cancel adding a torrent in the choose location dialog 2007-06-29 21:13:55 +00:00
Mitchell Livingston 6c7a16397e make sure all history items are actually saved, and don't start all transfers at app launch 2007-06-29 04:38:33 +00:00
Mitchell Livingston 7d6137931f remove some nslogs 2007-06-29 01:59:14 +00:00
Mitchell Livingston 3ff4e7799a hopefully fix a nasty memory leak and a bunch of redundant code 2007-06-29 01:49:41 +00:00
Mitchell Livingston cb82ea8e26 don't crash when restoring torrents on launch, and allow removing then re-adding the same torrent 2007-06-29 01:01:55 +00:00
Mitchell Livingston 61897560d9 rename checking status info to match last commit 2007-06-28 00:03:04 +00:00
Mitchell Livingston 6d7f628bf2 get the mac version building...still buggy 2007-06-27 23:57:02 +00:00
Mitchell Livingston 71470aa852 commit my current work...still doesn't compile (calls some non-existent functions :)) 2007-06-27 22:12:10 +00:00
Mitchell Livingston f39eb233f8 reflect some of the changes in libT (some, which means it still doesn't compile ;)) 2007-06-27 00:42:06 +00:00
Mitchell Livingston f36d558ad4 fix #233 (move menu item applies to all items) 2007-06-25 22:26:33 +00:00
Mitchell Livingston 18cd986789 my bad 2007-06-25 01:20:13 +00:00
Mitchell Livingston eef469a3de don't allow single-file torrents to have priority/download check changed 2007-06-25 01:15:25 +00:00
Mitchell Livingston 28cd39da13 only show the priority chooser when moused over (the text is a placeholder and the window has to currently be made active for it to appear) 2007-06-23 22:00:09 +00:00
Mitchell Livingston 49889c1cb5 • allow to recheck cache even when torrent is active
• play around with the priority color
2007-06-23 15:14:37 +00:00
Mitchell Livingston ab4a1cd2f7 don't show priority colors for finished files 2007-06-22 01:16:50 +00:00
Mitchell Livingston 8547e53c79 add a control to the pieces view 2007-06-20 23:53:09 +00:00
Mitchell Livingston c17c6eba58 simplify some of the repetitive queue code a bit 2007-06-20 00:54:05 +00:00
Mitchell Livingston 34b2b2e698 if a torrent switches from seeding to downloading still apply this to the queue 2007-06-20 00:04:20 +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 90f9a9c716 update filter correctly when switching from waiting to check state to seeding 2007-05-29 21:56:38 +00:00
Mitchell Livingston de37792d9a update files to recognize the new "waiting to check" state 2007-05-28 18:37:47 +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 c8ac8e312b make stalled check work for minutes, not seconds 2007-05-28 16:40:56 +00:00
Mitchell Livingston 0f9766145b patch from Charles Kerr: perform file checking one at a time (fixes #124) 2007-05-28 15:23:28 +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 dd92bb8295 make some of the new code more the current style 2007-05-28 02:53:30 +00:00
Mitchell Livingston b679945ea6 add the beginnings of ipc to the mac front end 2007-05-28 02:27:13 +00:00
Mitchell Livingston fdcdba42c1 typo fix 2007-05-26 07:21:14 +00:00
Mitchell Livingston 553ecbff41 every check counts 2007-05-26 06:35:16 +00:00
Mitchell Livingston 10fb28ad4c add ability to start next transfer in queue if one becomes stalled 2007-05-26 06:16:43 +00:00
Mitchell Livingston 0397fbd6dd display "last activity" in inspector 2007-05-25 20:33:43 +00:00
Mitchell Livingston 4481e184cf display date completed info in the inspector 2007-05-25 19:45:14 +00:00
Josh Elsasser 81a6d96d6e Remove tr_handle_t argument from tr_torrentClose(). 2007-05-23 04:45:20 +00:00
Mitchell Livingston 8705d4326f make sure to use the speed limit of 0 when moving the torrent data file 2007-05-16 03:44:08 +00:00
Mitchell Livingston 3af24be44e separate code for determining if there is a download with same name and location 2007-05-11 18:56:59 +00:00
Mitchell Livingston e7687c676d show an error when moving the file fails 2007-05-10 23:50:28 +00:00
Mitchell Livingston 894c606162 expand upon the code for setting download and incomplete folders 2007-05-10 18:29:36 +00:00
Mitchell Livingston 92f637e017 show nothing under "client" in the peer table for unconnected peers 2007-05-10 03:24:45 +00:00
Mitchell Livingston 04691c6f3e don't allow a folder to be moved inside itself 2007-05-09 16:14:30 +00:00
Mitchell Livingston 8f918ad819 make consecutive move sheets show correctly 2007-05-09 14:52:52 +00:00
Mitchell Livingston 2d20ae7e32 add option to change download location 2007-05-09 05:07:44 +00:00
Mitchell Livingston 7b64e68386 cleaner way of moving torrent from incomplete folder 2007-05-09 04:40:43 +00:00
Mitchell Livingston 93bb89e3d3 efficiencies in processing peer info in inspector 2007-05-09 03:49:27 +00:00
Mitchell Livingston a4fe974a38 removed extra 0 on times that weren't working with localization anyway 2007-05-09 03:11:37 +00:00
Mitchell Livingston ba3e33dcad green color for advanced bar and pieces view will now require 4 peers instead of 1 to get darker 2007-05-07 17:27:27 +00:00
Mitchell Livingston fd586f4380 disable option to pause torrents that are checking to avoid freezes 2007-05-07 04:28:17 +00:00
Mitchell Livingston d7007dd1f2 some tidying up 2007-05-06 17:18:11 +00:00
Mitchell Livingston d40fddb8cf allow localization of "not connected" peer client string 2007-05-04 19:23:34 +00:00
Mitchell Livingston 2f82b2f4fa change slightly which values are sent for display in the inspector (i.e. don't send values that won't be displayed), in peer table's tooltip show N/A instead of 0 for port when not available, and don't show progress for non-connected peers 2007-05-04 18:42:26 +00:00
Mitchell Livingston 305ccf1cd5 add ability to remove torrent cache 2007-04-28 01:34:39 +00:00
Mitchell Livingston 1b9a631362 fix for change in pref name 2007-04-25 03:17:06 +00:00
Mitchell Livingston c31578423d warning when starting up with message log set to debug 2007-04-25 03:00:43 +00:00
Mitchell Livingston 0cf1d27b04 get error messages working again 2007-04-23 18:49:28 +00:00
Mitchell Livingston ea839e8ca9 expand the last commit a bit so that ratio is calculated with the actual downloaded amount if amount downloaded in T is 0. This should eliminate ever showing infinity for ratio. 2007-04-20 23:51:15 +00:00
Mitchell Livingston 7b78590acf Disable the stop ratio once it is reached (while seeding). 2007-04-20 23:07:10 +00:00
Mitchell Livingston a463c12bde expand incomplete folder path 2007-04-19 06:05:32 +00:00
Mitchell Livingston 8dc2126bfe • When typing the name of a torrent to highlite it, scroll to it too.
• Add a localized string and remove a warning.
2007-04-18 21:17:47 +00:00
Mitchell Livingston 546f93177b better handle non-UTF8 error messages 2007-04-11 18:26:38 +00:00
Mitchell Livingston e6ad008831 if stop ratio is infinity and there is a ratio to stop at, stop 2007-04-07 21:08:00 +00:00
Mitchell Livingston 304d735e7d get valid downloaded number from new left variable 2007-04-04 01:05:04 +00:00
Mitchell Livingston 974c69215a update licenses to 2007 2007-04-03 02:22:25 +00:00
Mitchell Livingston 2201bf3912 attempt to fix ticket #206 2007-04-01 13:25:32 +00:00
Mitchell Livingston 71f0a16c26 updated localizable strings file 2007-04-01 01:49:00 +00:00
Mitchell Livingston 37ff93ecee consistency 2007-03-31 20:19:19 +00:00
Mitchell Livingston dbd4fdc61c mixed enable, disable 2007-03-31 20:09:29 +00:00
Mitchell Livingston 1bb5140467 Add preference option to disable PEX in Mac frontend. 2007-03-31 20:08:10 +00:00
Mitchell Livingston 57e28bd661 store date completed internally 2007-03-31 01:00:51 +00:00
Mitchell Livingston 18c690e825 rename date to date added 2007-03-30 18:58:18 +00:00
Mitchell Livingston de3dc82ab2 better way of storing if torrent was active 2007-03-28 12:53:45 +00:00
Mitchell Livingston 0061d83fd6 remaining disk space warning now has an option to never ask again 2007-03-24 17:41:57 +00:00
Mitchell Livingston f946888316 preference to not give warning about remaining space 2007-03-24 17:31:10 +00:00
Josh Elsasser 09c87aad84 Merge PEX branch, I hope this works. 2007-03-23 08:28:01 +00:00
Josh Elsasser 92637d591e Optionally return the info hash after attempting to load a duplicate torrent. 2007-03-22 18:07:22 +00:00
Mitchell Livingston a1c262ce22 seeding bar shows progress towards ratio 2007-03-22 04:30:08 +00:00
Mitchell Livingston 305675cc3b tiny consistency changes 2007-03-11 22:12:01 +00:00
Mitchell Livingston df6877d104 "creator" was set to "comment" by a typo in [1524] 2007-03-06 03:39:48 +00:00
Mitchell Livingston 1713e5ff88 avoid retaining tons of copies of the folder icon 2007-03-05 16:51:32 +00:00
Mitchell Livingston cf1e916cc0 store folder icons for now 2007-03-05 02:46:48 +00:00
Mitchell Livingston 5b0332ea4b store file list icons to increase speed under the file tab 2007-03-05 02:31:20 +00:00
Mitchell Livingston 258d61e1c9 forgot a return 2007-03-02 02:20:37 +00:00
Mitchell Livingston 82da9ce667 hide error message in inspector if it is no longer applicable 2007-03-02 01:57:55 +00:00
Mitchell Livingston 81cda31d78 move torrent check code to the Torrent class 2007-03-02 01:34:06 +00:00
Josh Elsasser 67826df085 Use a tr_tracker_info_t * directly in tr_info_t and tr_tracker_t. 2007-02-27 04:00:38 +00:00
Mitchell Livingston 16cd689de2 small efficiency change and some improvements for the invisible file checkboxes 2007-02-23 19:17:31 +00:00
Mitchell Livingston c21833ab06 show individual file progress in inspector 2007-02-23 13:40:30 +00:00
Mitchell Livingston 841e7dbf64 simplify code a tiny bit more 2007-02-14 15:45:13 +00:00
Mitchell Livingston c08050a074 combined essentially the same code (an extra conversion and multiplication shouldn't hurt) 2007-02-14 15:41:01 +00:00
Mitchell Livingston 60d0c333ff avoid some calculations of piece availability if there are no peers 2007-02-14 02:05:46 +00:00
Mitchell Livingston 7d569e7981 piece availability should not be considered if no peers have it 2007-02-14 02:02:44 +00:00
Mitchell Livingston 595763c344 clicking on download/seeding complete growl notifications will reveal in finder 2007-02-11 23:38:36 +00:00
Mitchell Livingston c9d2f7005c Sounds pulldowns only get sounds from the built-in system sound folder. This should avoid an Apple error (and resulting crash) with some wav files on Intel macs. 2007-02-09 15:02:25 +00:00
Mitchell Livingston 131fa9011d efficiency is advanced bar drawing 2007-02-09 14:33:57 +00:00
Mitchell Livingston 3f57aea897 the advanced bar's "mini progress bar" should be more accurate 2007-02-09 05:19:08 +00:00
Mitchell Livingston 92ea12482d when ratio setting is global save it as such 2007-02-09 02:34:30 +00:00
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