summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.mm
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Queue - Add the estimated bitrate to the queue display when ↵dynaflash2008-10-271-1/+1
| | | | | | displaying target size info. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue - Add drc info for the audio tracks thanks to NightStorm for ↵dynaflash2008-10-011-0/+37
| | | | | | bringing it to my attention. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1798 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue - Fix drag'n drop so that when dragging over an item, it ↵dynaflash2008-09-261-67/+33
| | | | | | | | | doesn't auto expand. - Also fix some really hosed up formatting - Remove the unused moveObjectsInQueueArray method from HBQueueController ( we moved that to Controller.mm back in 1703 but left it "just in case"). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1778 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Update labels for the mp4 options in both the main window and the ↵dynaflash2008-09-261-3/+3
| | | | | | | | | | | queue readout. - "64 Bit MP4" -> "Large file size" - "HTTP Optimized MP4" -> "Web optimized" - "Insert iPod Atom" -> "iPod 5G support" Less technical and hopefully more descriptive to the users (one of those rare instances where jbrjake prefers to be less technical) :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1768 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue display - fix display of deinterlace modesdynaflash2008-09-241-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1755 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: queue - add the file output name to the first title line in the ↵dynaflash2008-09-241-2/+24
| | | | | | | | | queue, and make the framerate chosen more descriptive. - Output names makes it easier to distinguish multiple encodes from the same source when the item is collapsed in the queue. - Include info on constant frame rate and vfr detelecine in the video section. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1754 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: update the deblock filter setting display in the queue.dynaflash2008-09-231-11/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1751 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Re-enable deleting encodes with the delete key if hilighted.dynaflash2008-09-221-1/+12
| | | | | | | - Currently one at a time, multiple selections are shut off for queue sync reasons . - Note: To delete a finished encode, click on it and hit your delete key ( since the action icon is an "open file in finder" magnifying glass) as this is the only way currently to delete a finished encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1744 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add encoding status readout to the queue windowdynaflash2008-09-221-0/+9
| | | | | | - is fed info from controller.mm instead of the old setup which had another NSTimer polling libhb just for the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1742 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: "Stop" command modificationsdynaflash2008-09-181-1/+2
| | | | | | | | | | | - Clicking on the "stop" icon in the toolbar now produces a different alert window with three choices - " Continue Encoding " default, just dismisses the window and continues on its merry way. - " Cancel Current and Stop " Cancels the current encode and stops the queue - " Cancel Current and Continue " Cancels the current encode and moves to the next pending encode (if there is one). - Also fixed an issue with deleting a canceled encode at the top of the queue list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1718 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue allow proper deleting of encoding queue items and proper ↵dynaflash2008-09-181-3/+49
| | | | | | deleting of previously cancelled items. Also fixed Pause. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1716 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Resilient Queue: Initial Implementationdynaflash2008-09-161-1827/+676
| | | | | | | | | | | | | | | | - Completely overhauls how encodes are setup by the MacGui - All encodes are now stored in an NSMutableArray (QueueFileArray) and saved in a plist (~/Library/Application Support/HandBrake/Queue.plist) - A separate instance of libhb (fQueueEncodeLibhb) is used for queue processing (includes single encodes) - fHandle still takes care of all user intiated scans and encode parameters - libhb now only stores multiple passes for a single encode instead of storing the entire queue - If HB crashes, or if you stop encoding while there are still pending encodes in your queue, upon next launch you will be prompted to reload the previous queue from the Queue.plist - Removed the current encoding information at the top of the queue window to make room for a larger list as I thought it to be redundant - The queue list is now re-arrangeable via drag-n-drop (pending encodes only) - Known issues and bugs: -- If you delete a previously cancelled encode then try to restart with a new encode, nothing happens. Throw off the sync of the currently encoding job. -- Probably alot more since its a total overhaul of how the MacGui has handled encoding since titer originally wrote it :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1703 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Some small enhancements and clean ups in HBQueueController ritsuka2008-08-071-198/+159
| | | | | | | | - Removed white spaces and hard tabs. - Changed all the enumerators to use the new fast enumerators available in objective-c 2. - Changed intValue to integerValue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1613 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use nil instead of NULL. Patch by blindjimmy. ↵ritsuka2008-07-281-5/+5
| | | | | | http://handbrake.djgraphite.com/r/33/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1586 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: convert HBQueueController to be a subclass of NSWindowController - ↵dynaflash2008-06-171-22/+25
| | | | | | kudos again to blindjimmy git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1515 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: replace handbrake.m0k.org references with handbrake.fr in the entire ↵dynaflash2008-04-151-1/+1
| | | | | | macosx/ directory git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Fixed some crashes in the queue on x86_64ritsuka2008-04-081-24/+24
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1393 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix errant encode done growl alert and send to MetaX function when ↵dynaflash2008-04-081-7/+16
| | | | | | | | finishing the first pass of a two pass encode. - We now only send the alerts after an encode finishes as opposed to when a job *within* an encode finishes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1390 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enhance Growl notifications and send to metaX so that each encode is ↵dynaflash2008-04-071-1/+23
| | | | | | | | handled as it comes off of the queue. - Previously only the last encode of a queue gave the finished growl notification and was sent to metaX. Now if specified by the user they happen as the encodes progress through the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1388 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implement per track audio settings.dynaflash2008-04-071-8/+8
| | | | | | | | | | | | | | | | | | | | - Expands the number of audio tracks the macgui can encode to 4. - Everything except drc is now set on a per track basis - Be Gone self limiting "Codecs" PopUp ! - Can now use any audio codecs that the container will support in the same encode - The previous "AAC + AC3" bizarre hybrid is now deprecated and you simply set them up per track - Implement full audio list readout in the queue, tracks are now show one per line in a list like fashion - Queue is no longer hard coded for just two tracks. - Preset code updated to regress to handle previous presets that utilized the codecs popup to determine audio scheme to use - Preset code now handles everything except language selection. - The Format, Video Encoder and Audio codes are all now stored in the appropriate NSPopUp tags for very easy retrieval. - Crazy format, codecs struct is now gone as we get that from the tags. - AC3 Passthru properly shows the input bitrate and 48 khz samplerate in the appropriate popups - Added Theora video encoder to OGM container - Added libtheora to the libhb dylib - NOTE: The check against trying to use AC3 Passthru on a DTS track is broken on the encoder popup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1385 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Update to use the new audio layout.saintdev2008-04-011-31/+61
| | | | | | | This only updates the current interface, nothing new added. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1367 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add HB_AMIXDOWN_AC3 to HB QueueController so it reports the new ↵dynaflash2008-02-171-2/+3
| | | | | | hybrid sound track(s) correctly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1279 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Adds Loose Anamorphic information to the queue displaydynaflash2008-01-291-10/+30
| | | | | | - patch by travistex git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1238 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Put the correct subtitle language in the Queue for the Mac GUI.eddyg2008-01-221-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1220 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Warn of duplicate output filenames when adding to the queue.dynaflash2008-01-141-3/+23
| | | | | | - Thanks travistex git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1192 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add preset name used (or custom) to the queue and activity logdynaflash2008-01-091-275/+364
| | | | | | | | | - Courtesy of travistex - Uses "Custom" if the settings do not reflect a preset - Changed some names of functions in HBQueueController and added some comments - The main controller now notifies the queue controller whenever jobs are added to libhb. This allows the queue to find out about such jobs without having to query libhb's job list periodically. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1179 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue Update - thanks travistexdynaflash2007-12-171-244/+328
| | | | | | | | | | | - The primary change is that HBJob now copies the relevant fields out of hb_job_s that it needs. It no longer keeps a pointer reference to libhb's job. - The only time the queue looks at libhb's jobs is when scanning the job list in order to build of the GUI queue display. - Removed all uses of hb_current_job(). - Canceled jobs now stay listed in the queue, with a canceled icon. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1130 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue Enhancements courtesy of travistexdynaflash2007-10-091-241/+657
| | | | | | | | | - Encodes now stick around in the queue's displayed after they have been completed. They are marked with a check mark icon. - The "active" encode is shown with a chasing arrows icon. - Completed encodes have a spotlight icon by them to allow you to show in finder - Support for reordering encodes in the queue via drag and drop. Currently #define'd out because there's currently no easy way to reorder hblib's job list. But some day maybe... git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1017 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue - fixes issue where starting a job and then adding to the ↵dynaflash2007-09-261-18/+58
| | | | | | | | queue without the queue window open, then opening the queue window fails to show currently encoding job. - Thanks travistex! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@990 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue update adds auto wrap to detail lines so that detail does not ↵dynaflash2007-09-241-1287/+733
| | | | | | | | get truncated. - Also deletes some unused icons from the xcode project as well as from the svn including some from rev 984 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@985 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue improvements from travistexdynaflash2007-09-171-34/+463
| | | | | | | | | - Detail info for each pass has been cleaned up. Each pass only displays info relevant to its pass. No line wrapping yet. :-( - In the gui, "subtitle scan" changed to "in-depth scan". Is that what we want to call it? - Fixed cases where single pass jobs were identified incorrectly in the queue. - Removed incessant updating of the queue gui. The gui now only updates when something changes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@968 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New Queue Enhancements courtesy of travistexdynaflash2007-09-141-64/+337
| | | | | | | | | - New hierarchical queue view. - New Start/Cancel and Pause/Resume buttons in Queue toolbar to match those in the main window. - When canceling a job, you now have the option to delete all pending jobs. - This one is the real deal! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@963 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New queue enhancementsdynaflash2007-09-111-339/+614
| | | | | | | | | | | | | | - clean up work related to starting and stopping of jobs to make sure the behavior is the same in both the queue window and the main window - No longer adds jobs to queue when you've hit Start but then canceled the overwrite warning. - Added overwrite alert when doing an Add to Queue. Was only happening previously when you did a Start. - Stopping a job from either the Queue window or the Main window now goes through the same code path and so the behavior will be identical. - In the main window, the Start button now changes to Start Queue once you've added things to the queue. This helps clear up any ambiguity about what that button will do - Cancel button now named Stop. Recommended by BradleyS and/or hawkman I think because this button no longer cancels everything in the queue, just the current job. Wording in the stop warning dialog has been improved (mentions job title). - The "Show Alert When Done" options now work when you have started the queue from the Queue window. - Uses the term "passes" in main window - Added unique icons for each pass type. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue improvementdynaflash2007-09-071-150/+151
| | | | | | | | - Now displays the Title number, chapters, and pass information along with the source name in the main line of the list view - This should help see at a glance just what is happening using any of the given views - Thanks again to travistex! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@935 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue Improvements from travistexdynaflash2007-09-071-74/+511
| | | | | | | | | | | | | | | | | | | - Add view selection widget to choose "encode by encode" or "pass by pass" view - Add "Show Detail" button to toggle detailed view on/off - Removed #define JOB_GROUPS. You can now control this in the UI and show either "encodes" or "passes". - Revamped the progress strings to give you exact progress. - New terminology (encodes and passes) - New toolbar in queue window (not complete, icons need work) - New files, added to project: Encodes.png EncodesPressed.png Info.png JobPassLarge.png JobPassSmall.png Passes.png PassesPressed.png git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@931 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New Active Queue implementation courtesy of travistexdynaflash2007-09-051-0/+841
- Thanks travistex! - queue is now in a separate window - queue currently shows jobs grouped together as one encode, which is configurable - queue now shows currently encoding job, which is independently cancellable without losing the rest of the queue. - can start and pause encoding in the queue window - queue uses its own nib - progress status needs work - This has a way to go, but needed to get checked in as it changes the current xcode project structure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@925 b64f7644-9d1e-0410-96f1-a4d463321fa5