summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: split HBTitle header to make it easier to test. Added some simple tests.ritsuka2015-06-0113-27/+310
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7256 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: do not try to create a NSURL if the path if empty. Encode the right ↵ritsuka2015-06-012-2/+6
| | | | | | type for the deblock filter. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7255 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove a useless cast for the deblock value.ritsuka2015-05-314-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7251 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix custom denoise settings.ritsuka2015-05-311-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7250 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: cast the value of UsesPictureFilters to bool so the dictionary will ↵ritsuka2015-05-301-1/+1
| | | | | | use a bool to represent it internally, and hb_presets_clean_json() won't complain. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7246 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix the leaks after using hb_presets_import_json and ↵ritsuka2015-05-306-18/+72
| | | | | | 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: add nullability annotations to the headers and use weak where is ↵ritsuka2015-05-3035-48/+125
| | | | | | possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7244 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: don't hardcode which encoders support the preset system.Rodeo2015-05-295-12/+25
| | | | | | | Just ask libhb instead. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7243 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix queue reading on 10.7.ritsuka2015-05-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7218 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove a workaround for a bug in 10.6.ritsuka2015-05-211-7/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7217 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the deployment target to 10.7.ritsuka2015-05-214-5/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7216 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a test target to the Xcode project, plus some simple test. Use a ↵ritsuka2015-05-2012-2/+368
| | | | | | forward declaration instead of a #import to in HBJob to allow testing to work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7214 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: better samplerate validation.Rodeo2015-05-192-18/+78
| | | | | | | | | | | Not all encoders support all samplerate, so we filter the list based on the encoder and validate the selected samplerate when switching encoders. Also improve bitrate validation a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7210 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add more tooltips. All the tooltips in ↵ritsuka2015-05-177-78/+91
| | | | | | https://reviews.handbrake.fr/r/60/ minus the ones for the labels. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7206 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: I would commit seppuku, but I am no samurai.Rodeo2015-05-171-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7204 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: make a copy of a preset before showing the export window.ritsuka2015-05-174-8/+20
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7202 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: don't forget the fastdecode checkbox when printing the job's queue ↵Rodeo2015-05-171-2/+17
| | | | | | description. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7201 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove workaround for the case where the output samplerate is auto ↵Rodeo2015-05-161-15/+2
| | | | | | | | | and the input samplerate is not known. libhb now handles it for us. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7200 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: forgot one :(Rodeo2015-05-161-2/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7197 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: don't double-sanitize encoder names.Rodeo2015-05-162-3/+2
| | | | | | | | | *_get_from_name is where the encoder gets sanitized, *_sanitize_name is only required when you need the encoder name instead of its value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7196 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: reset allowed passthru codecs when applying a preset.Rodeo2015-05-161-1/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7195 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: don't hardcode encoder names.Rodeo2015-05-161-38/+39
| | | | | | | | | However unlikely, the names for the passthru encoders could change, and this new code won't need to be updated should that happen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7194 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: allow exporting a preset folder. Add import/export menu item to the ↵ritsuka2015-05-166-86/+123
| | | | | | presets drawer too. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7192 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a missing "not" in the deinterlace conversion from HBJob to ↵ritsuka2015-05-151-1/+1
| | | | | | hb_job_t. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7188 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix deinterlace in preview window.ritsuka2015-05-141-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7187 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix detelecine.ritsuka2015-05-141-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7186 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the built in presets update alert.ritsuka2015-05-143-58/+22
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7185 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: encode the right type for keepDisplayAspect.ritsuka2015-05-141-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7183 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the old presets.plist fileritsuka2015-05-141-1664/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7182 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use libhb built-in presets and validation functions. Update the ↵ritsuka2015-05-1424-619/+896
| | | | | | 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: remove che previews cache in HBPreviewGenerator when a setting ↵ritsuka2015-05-132-3/+4
| | | | | | changed and not in HBPreviewController git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7173 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: limit the preview images cache to ~ the size of 60 1080p images.ritsuka2015-05-121-4/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7171 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use small size for the cropping radio button.ritsuka2015-05-071-42/+42
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7163 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: wrap more hb_title properties in HBTitle.ritsuka2015-05-075-15/+72
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7162 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: cosmetics.ritsuka2015-05-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7161 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix endpoints for point-2-point encoding.Rodeo2015-05-031-2/+2
| | | | | | | libhb expects offsets, not absolute values. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7156 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a couple nasty rounding errors.Rodeo2015-05-032-2/+2
| | | | | | | The results could be off by almost 4% with 30fps sources. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7154 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix autocrop.ritsuka2015-05-011-6/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7144 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: fix the multiple instances alert.ritsuka2015-04-301-16/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7138 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix scan progress bar.ritsuka2015-04-304-17/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7135 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a new formatter to convert a hb_state_t to a textual representation.ritsuka2015-04-306-150/+260
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7134 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: cosmeticsritsuka2015-04-301-1/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7133 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove the "Reload queue" alert. The queue is always reloaded and ↵ritsuka2015-04-223-83/+13
| | | | | | the queue window is shown if there are pending jobs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7113 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: implemented the NSSecureCoding protocol in HBJob. Added a ↵ritsuka2015-04-2227-109/+245
| | | | | | compatibility class to fall back on NSCoding on 10.7 and earlier. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7112 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: update the tooltips of the new auto passthru options.ritsuka2015-04-201-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7106 b64f7644-9d1e-0410-96f1-a4d463321fa5
* ports: add functions for looking up user config directoryjstebbins2015-04-192-7/+8
| | | | | | | These will be used by the CLI for loading custom user presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7105 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add TrueHD, Flac and EAC3 auto passthru options in the default sheet.ritsuka2015-04-184-14/+78
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7093 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix HBPicture copy method.ritsuka2015-04-171-0/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7092 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove HBPicture dependency on HBTitle.ritsuka2015-04-174-53/+79
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7091 b64f7644-9d1e-0410-96f1-a4d463321fa5