summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsManager.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: fix some static anaylizer warnings.Damiano Galassi2016-01-281-1/+3
|
* MacGui: make preset backups when import upgrades presets and load them if ↵Damiano Galassi2015-10-101-25/+112
| | | | UserPresets.json is newer than the HandBrake version.
* MacGui: show better error message to the user if a preset fails to importDamiano Galassi2015-10-101-1/+2
|
* presets: add result to indicate if preset import modified presetsJohn Stebbins2015-10-091-1/+4
| | | | | This information is useful to the frontends in creation of preset backups.
* MacGui: fix the multiple default presets issue.ritsuka2015-07-071-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7348 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix the leaks after using hb_presets_import_json and ↵ritsuka2015-05-301-7/+8
| | | | | | hb_presets_clean_json, add an extension to NSJSONSerialization to convert a char * directly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7245 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use libhb built-in presets and validation functions. Update the ↵ritsuka2015-05-141-182/+114
| | | | | | format and save the presets in UserPresets.json, the old presets are automatically imported if the new presets file is not found. The mac gui now requires 10.7 or later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7181 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix built in presets update on earlier os x versions. The dot is not ↵ritsuka2015-05-011-1/+1
| | | | | | needed in the extension, it worked anyway on 10.10 but not un earlier versions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7142 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: run the Xcode "convert to modern objective-c" on the entire project.ritsuka2015-04-091-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7075 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: convert the mac gui to Objective-C ARC.ritsuka2015-03-171-28/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: load the built-in presets from a plist file. The plist is the almost ↵ritsuka2015-02-231-1338/+24
| | | | | | the same as the LinGui one, but it's a duplicated to avoid having to wait for one gui in case of breaking presets changes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6939 b64f7644-9d1e-0410-96f1-a4d463321fa5
* eliminate job->largeFileSizejstebbins2014-12-231-12/+0
| | | | | | | It is no longer needed since we eliminated mp4v2 support git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6647 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added a missing retain, it caused a crash when selecting a new ↵ritsuka2014-11-241-14/+16
| | | | | | default preset if the old default was a default preset that had been deleted by they built-in presets upgrade. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6551 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a better check for regenerating the built-in presets after a ↵ritsuka2014-11-241-4/+22
| | | | | | user deletes everything. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6549 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved the "add preset" window to its own window controller class. ↵ritsuka2014-11-231-1/+8
| | | | | | Keep the current settings when changing title or scanning a new file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6538 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remapped lavcOption to VideoOptionExtra.ritsuka2014-08-211-12/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6337 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: generalize video preset/tune/profile/level handling to make it works ↵ritsuka2014-08-211-60/+60
| | | | | | with the x265 encoder. Moved the lavc encoder options textfield to the video tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6334 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a divider in the menu after the last built in preset and make ↵ritsuka2014-08-091-0/+2
| | | | | | the default preset bold. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6279 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added the list of the presets at the bottom of the preset menu and a ↵ritsuka2014-08-091-61/+33
| | | | | | | | “New Folder” menu item. Removed the “delete built-in presets” item because it takes just two clicks to remove them manually. Refactored part of HBPreset to a separate HBTreeNode class. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6278 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: improved the presets managementritsuka2014-08-071-0/+1742
Added a class to manage the presets (HBPresetsManager) and moved the presets drawer code to a new view controller (HBPresetsViewController). Removed the limitation of two nested folders and added a way to add to custom folders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6273 b64f7644-9d1e-0410-96f1-a4d463321fa5