summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.h
Commit message (Collapse)AuthorAgeFilesLines
* MacGUI: Remove last traces of "_" macro and TranslateString. Patch by ↵ritsuka2008-04-261-2/+0
| | | | | | blindjimmy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1443 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: Implement per audio track drcdynaflash2008-04-081-9/+10
| | | | | | | | - Uses a small circular slider for each track - Stops on ticks for .25 granularity - Presets regress from global drc to apply it to all tracks if used in past custom preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1397 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enhance Growl notifications and send to metaX so that each encode is ↵dynaflash2008-04-071-2/+2
| | | | | | | | 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-16/+44
| | | | | | | | | | | | | | | | | | | | - 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: Clean up some formatting and errant comments left over from some of ↵dynaflash2008-03-071-20/+3
| | | | | | the snippets I robbed out of HBQueueController on the drag and drop preset commit. :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1335 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Initial implementation of drag and drop in the presets drawer.dynaflash2008-03-071-2/+29
| | | | | | | | | | - Allows drag and drop arrangement of custom user presets - Does not allow reordering of built in presets. - Sorting of presets now done only by type ie. built in and custom user. - Provides functionality for future nested presets and drag and drop arranging. - Subclasses the presets outline view for better control over drag and drop behavior git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1334 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: move the presets sorting into a new method "-sortPresets" so it can ↵dynaflash2008-03-061-0/+1
| | | | | | be done independently of adding a preset in preparation for drag and drop preset arranging capability. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1329 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix and issue for auto adding the .m4v file extension for the aac + ↵dynaflash2008-02-211-0/+1
| | | | | | | | ac3 encoder for mp4 where reselecting mp4 format would reset the extension back to .mp4 and not .m4v - Moves this to a new method called codecsPopUpChanged: so it is easier to call form multiple methods git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1309 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove deprecated -updateAlertDone method used in the old updating ↵dynaflash2008-01-221-2/+0
| | | | | | | | scheme - Deprecated due to the Sparkle updater implementation git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1225 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Be Gone x264 (h.264 iPod) encoder drop down!dynaflash2008-01-211-0/+2
| | | | | | | | | | | - Added an "Insert iPod Atom" checkbox right under "HTTP optimized" checkbox which sets job->ipod_atom = 1; in prepareJob if checked (Note: the name of the checkbox is currently up for debate, we are taking suggestions though the current name is most indicative of what it does). -Level is now handled in the advanced panel opt strings for x264 and width is no longer sanity checked by the gui. - Changed the remaining x264 (Main) to just x264 - Modified preset code to account for legacy presets from old dropdowns - Modified built in presets to include "level=30" for iPod / iPhone presets NOTE: Update your built in presets if you want the iPod and iPhone presets to be compatible. - Removed the "Reset Picture to 640 for x264 iPod" preference from the Preferences -> Picture panel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1216 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: establish the source display name in browseSourcesDone instead of ↵dynaflash2008-01-081-0/+1
| | | | | | | | | | showNewScan to alleviate using the same logic twice depending on source type - Also adds the ability to scan .dvdmedia packages - Also changes the xcode project to not report xib messages during building, which previously filled the screen with remedial alignment messages, etc. - .xib warnings and errors are still reported git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1177 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: modify writeToActivityLog to use vargsdynaflash2008-01-081-1/+1
| | | | | | | - thanks travistex - can now accept input like: [self writeToActivityLog: "trying to open a package at: %s", [path UTF8String]]; git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1176 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Macgui: Implement writeToActivityLog method with provides a simple way to ↵dynaflash2008-01-081-1/+1
| | | | | | | | send messages to the activity window and log much like hb_log including a time stamp. - example call : [self writeToActivityLog:"trying to open a package"]; git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1172 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Loose Anamorphic initial implementationdynaflash2008-01-031-14/+8
| | | | | | | | | | - Changes the PAR checkbox to an anamorphic NSPopUp Button with "None", "Strict", and "Loose". - Sanity checks against the ffmpeg encoder, until that gets fixed. - removed six unneeded outlets for picture sizing in Controller.mm. - Previous presets will gracefully degrade to us "Strict" if anamorphic is specified. - I know about the bug where the picture window changes size on the first width drop when resizing Loose Anamorphic, so dont ask ;) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add outlets for the DRC descriptive labels and disable/enable along ↵dynaflash2007-12-181-0/+4
| | | | | | with the rest of the interface. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1132 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: HTTP optimized mp4 implementationdynaflash2007-12-141-2/+6
| | | | | | | | | - New checkbox to enable http optimized mp4's - Shows/Hides depending on the "format" selection - Presets use new objectForKey:@"Mp4HttpOptimize" - Also renamed the outlet for 64 bit mp4's to more descriptive "fDstMp4LargeFileCheck" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1127 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Dynamic Range Control implemented in the audio tab of the main window.dynaflash2007-12-121-1/+8
| | | | | | | | | | - represented by a slider indicating value from 1.0 to 4.0 - Defaults to 1.0 - Granularity of 1/100 - Implemented in presets - If key for drc is not present, preset will automatically return it to its default of 1.0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1118 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Update Presets to use NSOutlineView and change the associated ↵dynaflash2007-12-101-18/+27
| | | | | | | | | | methods to support the NSOutlineView delegate required methods. - Change necessary to move to nested presets. - Layout still to be determined - Method to actually change the setting for the preset changed from -tableViewSelected to more appropriate -presetSelected in Controller.mm git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1115 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Built-In Presets moved to new class: HBPresetsdynaflash2007-12-051-20/+3
| | | | | | | | - Built In Presets are now created and defined in the methods in HBPresets.h and HBPresets.m - May move other preset methods here in the future as well. - Updated Jamfile as appropriate git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1098 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Split Picture settings for new preset up into Size and Filters and ↵dynaflash2007-11-291-0/+1
| | | | | | | | | | add VFR to presets - New Add preset Panel - Now can specify how preset uses picture sizing (includes height, width, keep ar, anamorphic and cropping) separately from whether or not it uses Picture Filters (currently includes Deinterlace, Detelecine, VFR, Denoise, and Deblock (pp7) ) - Allows for greater flexibility in setting up your presets git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1086 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add "Open Source (Specify Title)" featuredynaflash2007-11-191-19/+33
| | | | | | | | | | - Optional way to open your source and specify scanning a specific title only ala the cli. - Should help with sources that tend to crash the macgui while scanning the entire source - Only available via the file menu as an additional menu item - All other open source methods are left untouched so to the average user the gui behaves as before. - In the process eliminated unnecessary -showSourceScanPanel method which simply called -browseSources, now all gui widgets call -browseSources directly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1067 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Added Deblock to filters in Picture Preview Windowdynaflash2007-11-071-0/+2
| | | | | | - Currently uses a checkbox that enables pp7 (default settings) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1046 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue Enhancements courtesy of travistexdynaflash2007-10-091-2/+0
| | | | | | | | | - 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: Various little code cleanup and small alignment fixes in the nib.ritsuka2007-09-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@983 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add warning if "Sleep" or "Shutdown" is going to occur after ↵dynaflash2007-09-121-0/+2
| | | | | | | | encoding is done ala user prefs. - Thanks hawkman! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@956 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix Quit command, especially during encodingdynaflash2007-09-121-0/+2
| | | | | | | - Adds proper warning windows and quits gracefully during all states - Courtesy of travistex git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@955 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New queue enhancementsdynaflash2007-09-111-3/+6
| | | | | | | | | | | | | | - 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: New preferences window. We need some new icons for the toolbar.ritsuka2007-09-101-2/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@942 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: ritsuka2007-09-081-1/+1
| | | | | | | | - Better menu item validation - Sheets no long disable every existing menu item - Added a check for preset name length when adding a new preset git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@939 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use validateMenuItem to autovalidate menu items. Plus small gui ↵ritsuka2007-09-081-15/+1
| | | | | | alignments fixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@937 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui:ritsuka2007-09-081-24/+20
| | | | | | | | | | - Move Picture Settings window in a new nib - Cleanup main window nib, delete some useless hidden NSTextfField - Change "Queue" menu item keyboard shortctus to cmd-2 - Add cmd-? keyboard shortcuts to "HandBrake User Guide" menu item - HandBrake main windows is now shown if the dock icon is clicked and there is no open window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@936 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move x264 advanced options code to a new class ↵ritsuka2007-09-071-57/+6
| | | | | | (HBAdvancedController) and add a new nib to simplify future gui changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@934 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Ritsuka patch to remove a ton of booleans for the toolbar. Makes the ↵dynaflash2007-09-061-5/+2
| | | | | | | | toolbar in the main window more responsive. - Thanks again Ritsuka ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@927 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New Active Queue implementation courtesy of travistexdynaflash2007-09-051-4/+6
| | | | | | | | | | | | | - 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
* MacGui: Integrate HBDVDetector directly into Controller.mm and get rid of ↵dynaflash2007-08-271-7/+5
| | | | | | ScanController and its associated files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@873 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: internal code changesdynaflash2007-08-231-65/+66
| | | | | | - change method names and their corresponding target actions in nibs to conform to the our new obj c coding guidelines git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@853 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: internal change to Controller.mmdynaflash2007-08-221-5/+4
| | | | | | | | | - move preset loading code from awakeFromNib to a new method called loadPresets - remove references to unused x264Opts.plist file we never used. This fat boy is going on a diet ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@851 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add subtitle widgets for eddyg's forced subtitle implementation.dynaflash2007-08-211-0/+2
| | | | | | | - Create checkbox called "Forced" next to the NSPopUp button for subtitle selection with outlet named fSubForcedCheck - Create a new preference checkbox to use subtitles instead of dubbed audio track if so desired. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@845 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Added Main Menu commands, and set enabled states to prevent crashing ↵dynaflash2007-08-191-0/+14
| | | | | | due to conflicting commands. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@831 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Denoise filter initial implementationdynaflash2007-08-141-1/+4
| | | | | | | - Add Denoise NSPopUp to Picture Window - Contains None, Weak, Medium, Strong. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@805 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: nerfs the presets, as collapsible triangle folder thingies are ↵jbrjake2007-08-131-0/+1
| | | | | | waiting for the next release. Also adds one for CRF (shamelessly ripped from Sharktooth's CQ-ASP_Q2_eq(crf) profile for MEGui.) Hopefully I watered the presets down enough, but who knows...they might still encode too slowly for the masses. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@801 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Detelecine initial implementationdynaflash2007-08-131-0/+4
| | | | | | | - Added -VideoFramerateChanged method to controller.mm to detect NTSC Film content to error check detelecine. - Auto detected or manually choosing 23.967 (NTSC Film) disables detelecine checkbox in the picture preview window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@800 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: modifies some presets.jbrjake2007-08-101-0/+4
| | | | | | | | | | | | - Removes "HB-" from the preset names. - Adds Broke preset for people who still encode to CD size. - Adds Blind preset for people who want an encode done *right now*. - Adds Deux Six Quatre preset with commonly found x264 settings. - Changes iPhone preset audio bitrate to 128 (160 is incompatible, unlike on the iPod). - Applies turbo to all existing presets that used 2-pass. - Switches the Animation and Television presets to use "Same as source" fps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@795 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use Ritsuka's gear icon at the bottom of the preset drawer.dynaflash2007-08-021-2/+3
| | | | | | | | - Thanks Ritsuka! - Replaces fugly "Make Default" and "Update" buttons - Contains a contextual menu which currently contains "Make Default" and "Update Built-In Presets" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@779 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enhanced Picture Settings in Presets (esp. cropping)dynaflash2007-07-311-1/+4
| | | | | | | | | | When creating a preset, three choices exist for picture settings: - None: Preset has no effect on any picture settings - Current: Preset will apply whatever picture settings were in effect at the time the preset was created (including deinterlace, par and *cropping) - Source Maximum (post scan): Preset will apply the maximum picture settings for each source and auto crop (basically the same picture settings that were in effect right after the source scan and nothing was modified with auto cropping enabled) Anamorphic and Deinterlace will be set according to general preferences - * Note on cropping with Current set for preset: If cropping was set to "Auto" at the time the preset was created, the preset will then use the sources auto crop values. If, however the cropping was set to "Custom" at the time the preset was created the preset will apply the custom cropping values to each source from when the preset was created. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@765 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Default Presets Initial Implementation dynaflash2007-07-301-3/+10
| | | | | | | | | | - Allows user to set a given preset as a default which will be used upon launch. As well, if user has not specified a preset as the default, HB will use the "HB - Normal" Built-in Preset at launch. - Added the "Make Default" button at the bottom of the Presets Drawer. - Default Preset is shown in Bold in the Presets Drawer - Added a Select Default Preset command to the "Presets" Menu in the Menu Bar. -- Note: the buttons and other display stuff is not set in stone, once again, initial function over form on intitial implementation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@764 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds advanced x264 option widgets for analyse, 8x8dct, and, just for ↵jbrjake2007-07-271-0/+6
| | | | | | | | | eddyg, cabac. Been awhile since I added any of these; hopefully I didn't break anything in the process. God do we need to split these and the presets off to separate source files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@746 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Integrate Source Scanning into Main Window and permanently disable ↵dynaflash2007-07-261-2/+3
| | | | | | | | | | | | | DVD Drive Auto Detect - Choose DVD directly if necessary out of the Browse window - No longer use sheets to show scan progress - Added Scan Progress bar under Source section of main window - Removed the "Browse" button in source section in anticipation of a "Source" icon in Toolbar - For now, use File -> Select Source in Main Menu to get a new source (used to be "Select DVD"). Note: this is the same as 0.7.1 - Removed disable dvd auto detect from the prefs nib git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@742 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: "Ritsuka Bar" toolbar initial implementationdynaflash2007-07-251-14/+20
| | | | | | | | | - Thanks goes to Ritsuka! - Moves the Start/Cancel, Pause/Resume, Presets Drawer and Activity Window (previously debug) controls into a nice toolbar at the top of the main window - Resizes the height of the main window to allow for the progress bar at the bottom during encoding - Small change in that now muxmkv.c is included in the xcode project under libhb resources. Instead of under the main project heading. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@733 b64f7644-9d1e-0410-96f1-a4d463321fa5