summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
* MacGui: adds a bunch more presetsjbrjake2007-07-241-0/+8
| | | | | | | | | | | | | | | - HB-Normal (a new default, not yet active) - HB-Classic (the default up until now) - HB-QuickTime - HB-Film - HB-Television - HB-Animation - HB-Bedlam (maxed out settings, crazier than MeGUI's HQ-Insane) - HB-iPhone Also touched up some of the existing ones' descriptions and increased the motion estimation and subpixels for the PS3. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@724 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Active Queue Initial Implementationdynaflash2007-07-161-2/+3
| | | | | | | | | - Warning: currently, when adding jobs during encoding, the main window progress bar and task info gets hosed, if a workaround via libhb cannot be easily obtained, a cocoa workaround is available for checkin. - Can now add jobs during encoding - Scan progress bar is a barber pole until scanning progress during encoding is fine tuned. - Needs further testing if DVD Auto Detect is turned on. If conflicts with drive arise, automatically turning off dvd auto detect when adding jobs during encoding is ready for checkin. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@695 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Small fix in main windowdynaflash2007-07-091-1/+2
| | | | | | - gray out the auto crop field during encode git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@665 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add auto crop value to main windowdynaflash2007-07-061-1/+3
| | | | | | | | - shows if you are using Auto or Custom cropping in the Video tab of the main window. - Prepares controller.mm to better use custom/auto cropping values particularly with presets. - Required since auto crop is not currently stored in a title or job variable, and proper use of cropping for presets requires the preset to know what cropping to actually use. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@651 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add description field and tooltips for Presetsdynaflash2007-06-291-1/+2
| | | | | | | | - Add description NSTextField to the Add New Preset Panel - Added descriptions for the Built-In Presets (be sure to use "Update Built-In Presets" in the Presets menu to get descriptions) - Added Tooltips to the presets drawer which shows the description of the preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@643 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Built In Presets - Added iPod Low-Resdynaflash2007-06-281-1/+2
| | | | | | - Changed current iPod to "iPod High-Res" and changed its opt string to keyint=300:keyint-min=30:bframes=0:cabac=0:ref=1:vbv-maxrate=1500:vbv-bufsize=2000:analyse=all:me=umh:subme=6:no-fast-pskip=1 as per rhester git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@642 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Close Main Window issue fixed.dynaflash2007-06-191-1/+1
| | | | | | | | - Can now close the main HB window while HB is running and then re-open it with the "Main Window" selection in the "Window" toolbar menu without disturbing the current encode. - Note: should probably add "Main Window" to the Dock Icon Context menu as well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@626 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enable + 4GB Mpeg-4 file outputdynaflash2007-06-141-1/+2
| | | | | | | | | | | | - Add a checkbox under "Format" field to allow > 4 gb file output. - Slightly raised the Format and Codecs popups to allow for checkbox (not totally conviced this is a good place for it, but should work for now). - checkbox auto hides if any format other than mpeg-4 is chosen. - checkbox unchecked by default. - automatically unchecks if h.264 ipod is chosen Note: It Might make sense to add some kind of global in preferences that controls whether or not that feature even presents itself at all, and default it to off so its only available if a user enables it in prefs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@619 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Turbo option for x264 two pass encodingdynaflash2007-06-131-2/+2
| | | | | | | | - Adds a Turbo checkbox under the 2-pass checkbox in the video tab if x264 is selected and 2-pass is checked, otherwise the Turbo checkbox is hidden and deselected - Appends ":ref=1:subme=1:me=dia:analyse=none:weightb=0:trellis=0:no-fast-pskip=0:8x8dct=0" to a given x264 option string on the first pass of a two pass encode if the Turbo checkbox is checked. - in testing, roughly doubles the first pass encoding speed using the HB-AppleTV preset opt string on a 2 pass encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@607 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: switches the x264 option widgets for mixed-refs, weightb, brdo, ↵jbrjake2007-05-271-7/+7
| | | | | | | | bime, b-pyramid, no-dct-decimate, and no-fast-pskip to be checkboxes, which makes more sense than popup buttons for booleans. I've never worked with switches before, so hopefully I didn't break anything. Also never checked in this many GUI changes at once. So maybe I did break something =) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@594 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds deblocking widgets for the x264 advanced options tab. God this ↵jbrjake2007-05-221-0/+3
| | | | | | one was a pain. Haven't decided yet whether to include a boolean to turn deblocking on and off. Not sure where I'd stick it right now, at least. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@593 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Debug Window to read libhb output like cli in inspector windowdynaflash2007-05-211-0/+5
| | | | | | | | | | | - Thank You Cleaner!! - Adds Debug Output to Window menu - Adds Verbose pref to preferences menu - MacGui now reads output from libhb like cli - May add pref to open Debug Output window upon launch - All credit goes to Cleaner, Thank You! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@592 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: finishes out the b-frame x264 options by adding widgets for bime and ↵jbrjake2007-05-191-0/+4
| | | | | | direct-pred. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@591 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds x264 option widgets for b-rdo, weight, and b-pyramid. And a ↵jbrjake2007-05-161-0/+6
| | | | | | little layout reorganization to take advantage of the space freed up by dynaflash's last commit. Yes, I know the dividing lines are ugly. They are temporary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@588 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds x264 option widget for merangejbrjake2007-05-151-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@586 b64f7644-9d1e-0410-96f1-a4d463321fa5