summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreferencesController.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: convert the mac gui to Objective-C ARC.ritsuka2015-03-171-14/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a preference to toggle the log cleanup. Use NSURL directly where ↵ritsuka2015-02-211-0/+1
| | | | | | possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6934 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: center the prefs window in the showWindow: method.ritsuka2015-01-221-2/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6786 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: enable and fix more compiler warnings in the Xcode project.ritsuka2015-01-191-9/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6772 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove a deprecated api call.ritsuka2015-01-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6716 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove some NSString -> NSURL conversions. Added a default size ↵ritsuka2015-01-091-6/+10
| | | | | | value and folder expanded value for the presets drawer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6698 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed an issue where the preset drawer would not open if the "Preset ↵ritsuka2014-11-111-1/+1
| | | | | | out of date" alert were displayed. Renamed some prefs key to avoid conflicts with previous versions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6512 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed a couple of unused preferences keys (CheckForUpdates, ↵ritsuka2014-08-241-59/+46
| | | | | | DisableDvdAutoDetect, DefAdvancedx264Flags) and the empty TOOLBAR_PICTURE tab. Added a new checkbox to hide the Advanced tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6353 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: initialize the languages list before the window in the ↵ritsuka2014-08-181-2/+1
| | | | | | prefsController, so the popup in the audio tab will show the actual languages list. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6305 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: forgot a file in rev 6300 commit.ritsuka2014-08-161-0/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6302 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Expanded the auto name feature to make it as powerful as the WinGUI ↵ritsuka2014-07-111-3/+78
| | | | | | counterpart. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6228 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Varius warnings fixes:ritsuka2013-10-251-5/+4
| | | | | | | | | | - NSUInteger and NSInteger instead of int (where the Cocoa 64bit api uses them). - Cast to int when needed because NSInteger on 64bit is defined as long. - NSURL instead of NSString when possible. - Replaced some deprecated methods/functions. - numberWithInteger instead of numberWithInt. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5854 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: get rid of now obsolete @"UseCoreAudio" preference and related widgetsRodeo2013-06-201-1/+0
| | | | | | | | MacGui doesn't include faac anymore. Mapping from faac to Core Audio is done by libhb's fallback mechanism. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5594 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Patch -Replace some deprecated API Calls ↵sr552013-06-011-4/+4
| | | | | | https://reviews.handbrake.fr/r/504/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5543 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update the in-app icons to the new graphicssr552013-03-181-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5342 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add Auto Passthru support.Rodeo2012-01-241-0/+1
| | | | | | | | | | By default, all available passthru codecs are allowed, and the fallback is the AC3 encoder. Advanced settings can be enabled in Preferences > Audio, but are disabled by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make AAC and MP3 passthru fall back to the AAC and MP3 encoders, ↵Rodeo2011-08-181-1/+0
| | | | | | | | | | respectively (instead of dropping them like DTS/DTS-HD). Drop the never-used AC3PassthruDefaultsToAC3 preference (it defaulted to true and was never wired to the GUI). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4186 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: In Preferences, Instead of the old "Use iTunes / iPod friendly file ↵dynaflash2011-01-191-1/+1
| | | | | | | | | | | | extension for mp4" checkbox we allow three choices: - Auto (Default): will use .mp4 unless any of the conditions are met for Apple devices to use .m4v such as AC3 audio or chapters, etc. - .m4v: will set the extension to .m4v regardless of settings. - .mp4: will set the extension to .mp4 regardless of settings. Basically anything other than Auto forces either the .m4v or .mp4 file extension. Again "Auto" is default. Note: This deprecates the old preferences plist key "DefaultMpegName" which was just a bool and adds "DefaultMpegExtension" which is a string. As a result users that had the old "Use iPod/iTunes friendly (.m4v) file extension for MP4" checkbox checked will need to select ".m4v" in the new preferences dialogue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3758 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use libhb for mixdown limits as well as defaults.dynaflash2010-11-171-1/+0
| | | | | | - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3679 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use libhb for audio limits as well as defaults.dynaflash2010-10-081-0/+2
| | | | | | - Patch by circlone! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3585 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Bluray supportjstebbins2010-09-081-0/+1
| | | | | | | | | | | | | | | | | | Unencrypted BD directory trees only. Doesn't support iso images. Also, no PGS subtitle support yet. Chapters and angles are supported. Adds a new contrib libbluray. Adds new option to hb_scan() for duration of short titles to filter. This applies to BD and DVD multi-title scans only. Does not apply to any single title scans. Fixes memory leak during scan. hb_buffer_close() was not freeing all buffers in a chain of buffers passed to it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Rework how we get encode and queue done alerts.dynaflash2010-07-261-0/+1
| | | | | | | | | - Add separate checkbox for system alert sound in Preferences > General > When Done (previously it was automatic only when "When Done" included the alert panel") - System alert sound will play whenever the specified Alert When Done event occurs if its checked (this includes the Growl alerts which come up as encodes roll off of the queue) which addresses the sound part of this forum thread http://forum.handbrake.fr/viewtopic.php?f=22&t=17347#p80456. Thanks to BradleyS for the suggestion. - Also fix an issue introduced in the multi instance queue commmit (ref 3450) where the Alert Window would come up one encode too early instead of at the end of the queue if you use the alert window for when queue is completed. This addresses forum thread http://forum.handbrake.fr/viewtopic.php?f=12&t=17367 thanks to noved for picking up on it. - Get rid of a touch of commented code from rev 3450 which is worthless. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3461 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make .m4v (Use iTunes Friendly Naming) default in preferences.dynaflash2010-07-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3429 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add the ability to send the finished encode to any application the ↵dynaflash2010-01-121-3/+48
| | | | | | | | | | user chooses instead of just "Send to MetaX". - Retains a checkbox to acivate sending the finished encode - Adds a file name textfield and a browse button so user can choose the app to send the finished encode to. - Defaults to MetaX as this would be the only app already existing in the users prefs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3068 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: make crf default for x264dynaflash2009-10-191-1/+0
| | | | | | - this removes the optional preference and no longer sets job->crf = 1; git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2890 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use libdvdnav by default.dynaflash2009-10-131-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2880 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Disabled the Picture panel in the preferences window, some minor ↵ritsuka2009-06-191-1/+1
| | | | | | alignment and size changes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2575 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Preference to use CoreAudio in place of FAAC when choosing a preset.dynaflash2009-05-291-0/+1
| | | | | | | | - Defaulted to "On". - Effectively allows the macgui to use core audio by default while maintaining the cross platform faac encoder in the built in preset's internally. - Also means that one can manually choose faac after selecting a preset if so desired. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2460 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Preset Import / Export initial implementation and auto updating of ↵dynaflash2009-05-081-1/+2
| | | | | | | | | | | | | | | | | | | built in presets. - Preset Import / Export: -- Export is only available to custom user presets. -- Export is only the selected preset at this time. -- Exported presets will be tagged with their build number. -- Import of mutiple presets. --- Compatible with LinGui presets. --- NOT compatible with WinGui presets at this time. - Built-In preset auto-updating: -- Adds the key/value pair to the UserPresets.plist file for key "PresetBuildNumber". -- If the HandBrake.app build number as defined in the Info.plist key "CFBundleVersion" is > the built in presets "PresetBuildNumber" then the - (IBAction)addFactoryPresets:(id)sender is called to automagically update the built in presets. -- An alert window is shown along with a system beep ( can be turned off in Preferences -> Advanced for svn mavens and devs) to tell the user that the built in presets are going to be updated. -- NOTE: First launch of this build will initiate a built in preset update even though the built in presets are the same, since the build number will be added to the built in presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2405 b64f7644-9d1e-0410-96f1-a4d463321fa5
* add libdvdnav supportjstebbins2009-04-271-0/+1
| | | | | | | | | | | emulates the vm of a dvd player in order to navigate the disc more reliably it is optional and disabled by default CLI option '--dvdnav' enables. GUI's have a new option in preferences. When dvdnav is enabled, you can also select angles (cli '--angle') git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2355 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Constant Quality Slider now QP/RF based.dynaflash2009-02-101-0/+1
| | | | | | | | | | | | | | | | | - Constant Quality Slider now uses QP/RF values instead of the long maligned % scale. - Nearest percentage is also shown for reference. -- For reference, PercentRFConversion on the wiki is a table of corresponding values for the old and new scales. - Slider changes scale base on the chosen encoder. -- x264: 0-51 -- FFmpeg and Xvid: 1-31 -- Theora: 0-63 - x264 Specific - Slider allows for fractional granularity (other encoders just whole ints). -- Advanced Preference to adjust the granularity from 1.0,0.50,0.33,0.25,0.20 with a default of 0.25. - Existing presets using the % based values converted to the nearest QP/RF value (within the granularity of the slider). -- Example: A current preset using x264 at 62% will now actually use 61.76% since the nearest RF value converted to 62% is 19.50 with the slider set to 0.25 granularity. -- New presets created will store the QP/RF value instead of the % value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2135 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: save the size of the presets drawer in the preferences.ritsuka2009-01-141-2/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2083 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add a preference so we can specify what we do at launch, choices are:dynaflash2008-12-121-0/+1
| | | | | | | | | - Do Nothing - Open Source - Open Source (Title Specific) - Pref defaults to Open Source git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2020 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove custome decomb option from preferences and Picture Settingsdynaflash2008-11-301-1/+0
| | | | | | | - Remove the text field to enter a custom decomb string in the Preferences > Picture window - Change the NSPopup for decomb to a checkbox in Picture Settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1975 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implement variable number of preview framesdynaflash2008-11-301-0/+1
| | | | | | | - Set in Preferences -> Advanced and defaulted to 10 - Allows for up to 20 previews per title for now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1972 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Cleanup HBPreferncesController and the preferences nib a little. ↵ritsuka2008-11-261-34/+53
| | | | | | Original path by blindjimmy git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1956 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Acivity Logs for individual encodes initial implementationdynaflash2008-10-301-0/+1
| | | | | | | | | | | | | | | | - Individual activity logs are saved in the file format "YYYY-MM-DD HH-MM-SS mymoviename.txt". - Default directory is "~/Library/Application Support/HandBrake/EncodeLogs/". - Advanced preference available to alternatively put them in the users output movie directory with the output movie (by default set to "off"). - Renamed the existing contextual menu items for the Activity Window to better reflect choices (function remains the same) as follows: -- "Copy All Output" -> "Copy Window Contents". -- "Clear Output" -> "Clear Window Contents". -- "Open Log File" -> "Open Log File For This Session". -- "Clear Log File" -> "Clear Log File For This Session". - Added "Open Individual Log File Directory" to the Activity Window contextual menu to open this directory with the Finder - Also commented out some macgui based activity log messages that were used to troubleshoot the new queue. - Note: the individual activity logs are in addition to the existing session based activity log. If you do a scan of a new source during encoding, the new source scan log messages will be intermixed with the encode log messages as I have no clue how to separate stderr/stdout based on which instance of libhb is sending the messages. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1881 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Logging Level - set to "1" in prefs.dynaflash2008-10-201-0/+1
| | | | | | - Currently cannot increase in the preferences panel, will add later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1854 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use fast numerators in HBPreferencesController, remove an hard tab ↵ritsuka2008-08-081-12/+10
| | | | | | and replace float with CGFloat. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1617 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove legacy preferences since they are now controlled via the presets.dynaflash2008-08-041-3/+0
| | | | | | | | | | | - Remove the Chapter Markers preference - Remove the Set Deinterlace to on upon scan preference -- Note: this means that for custom presets that do not use picture filters, Deinterlace will not be used upon scan since there is no preference to use it anymore, otherwise the default preset will control it. - Remove the Use Picture Par upon scan -- Note: this means that for custom presets that do not use picture settings, Anamorphic will not be used upon scan since there is no preference to use it anymore, otherwise the default preset will control it. - Also correct the label for custom Decomb string to read Decomb instead of Deblock "duh" . git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1605 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: FIx a memory leak.ritsuka2008-07-161-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1571 b64f7644-9d1e-0410-96f1-a4d463321fa5
* git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1471 ↵jbrjake2008-05-291-0/+1
| | | | b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Fix toolbar item leaks for main and preferences windows. Patch by ↵ritsuka2008-05-071-2/+1
| | | | | | blindjimmy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Clean up HBPreferencesController, remove an unused method, and use ↵ritsuka2008-04-301-19/+10
| | | | | | standard icons for the General and Advanced panel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1450 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Un-Banish the 64 bit mp4 checkbox from the Siberia known as the ↵dynaflash2008-02-211-2/+1
| | | | | | | | preferences now that we have a device and a preset designed specifically for 64 bit mp4's. - Don't say it jbrjake :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1310 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the preference to turn off verbose output in the activity window.dynaflash2008-02-131-2/+1
| | | | | | | | - non verbose output is of no use whatsoever to the macgui - uses "HB_DEBUG_ALL" for hb_init - removed preference from preferences window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1259 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Be Gone x264 (h.264 iPod) encoder drop down!dynaflash2008-01-211-1/+0
| | | | | | | | | | | - 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: Update Toolbar icons with the HawkPackdynaflash2007-09-131-1/+1
| | | | | | - Thanks hawkman! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@959 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Reorganized prefs window. Re-added pref-general.png to copy bundle ↵ritsuka2007-09-111-1/+1
| | | | | | resoruces phase. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@951 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Added two not-so-good icons made by me for the prefs window toolbar.ritsuka2007-09-111-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@946 b64f7644-9d1e-0410-96f1-a4d463321fa5