summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: fix HBJob copy method, plus small performance optimisation in ↵Damiano Galassi2016-11-021-0/+2
| | | | HBAudio and HBSubtitles.
* MacGui: use hb_preset_job_init instead of custom logic for audio, subtitles ↵Damiano Galassi2016-10-291-5/+16
| | | | and picture job settings.
* MacGui: move some kvo helpers to the UIAdditions category.Damiano Galassi2016-03-141-20/+0
|
* MacGui: move the objc libhb wrapper to a separate framework.Damiano Galassi2016-03-111-3/+7
|
* MacGui: add redo/undo supports to the audio part of HBJob.Damiano Galassi2015-10-241-2/+2
|
* MacGui: rewrote the subtitles tab to use bindings, view-based table view and ↵Damiano Galassi2015-10-221-2/+2
| | | | to support undo/redo.
* MacGui: added undo/redo support to the video, picture, filters, chapters and ↵Damiano Galassi2015-10-201-0/+62
| | | | range parts of HBJob.
* MacGui: remove some HBPreset -> NSDictionary conversions and add a mutable ↵Damiano Galassi2015-10-131-14/+15
| | | | version of HBPreset.
* MacGui: use the new deinterlate preset keysDamiano Galassi2015-10-091-2/+2
|
* MacGui: add a duration column to the chapters tableDamiano Galassi2015-10-091-3/+3
|
* MacGui: add a test target to the Xcode project, plus some simple test. Use a ↵ritsuka2015-05-201-0/+1
| | | | | | 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: don't double-sanitize encoder names.Rodeo2015-05-161-1/+1
| | | | | | | | | *_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: use libhb built-in presets and validation functions. Update the ↵ritsuka2015-05-141-9/+2
| | | | | | 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: wrap more hb_title properties in HBTitle.ritsuka2015-05-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7162 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: implemented the NSSecureCoding protocol in HBJob. Added a ↵ritsuka2015-04-221-23/+33
| | | | | | 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: remove HBPicture dependency on HBTitle.ritsuka2015-04-171-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7091 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: run the Xcode "convert to modern objective-c" on the entire project.ritsuka2015-04-091-1/+1
| | | | 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-21/+15
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: properly deregister the job observers, and refactor a bit the ↵ritsuka2015-02-041-23/+3
| | | | | | HBAudioTrack notification. Refactored HBPreviewController to take a single HBPreviewGenerator instance in input. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: clean up the methods to update the destination file name and extension.ritsuka2015-02-011-3/+23
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6854 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a HBChaptersChangedNotification notification, used to notify ↵ritsuka2015-01-311-7/+10
| | | | | | when the chapters are enabled or disabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6842 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: expose a isStream and a timeCode properties in HBTitle.ritsuka2015-01-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6801 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: enable and fix more compiler warnings in the Xcode project.ritsuka2015-01-191-0/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6772 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved the queue code from HBController to HBQueueController, ↵ritsuka2015-01-191-3/+7
| | | | | | reworked the way the queue synchronise itself between multiple instances to be more resilient (hopefully). Modified HBCore to take callback blocks instead of notifications. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6770 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix some leaksritsuka2015-01-151-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6753 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move the audio/subtitles selection logic out of the view ↵ritsuka2015-01-131-545/+20
| | | | | | controllers. Now it's possible to create a HBJob and apply a preset to without the UI classes help. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6741 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Simplify frontend useage of hb_add()jstebbins2015-01-121-0/+1
| | | | | | | | | Modify hb_add() to automatically add all necessary passes, so hb_add() only needs to be called once per job. It now automatically adds subtitle scan and 2-pass encoding passes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6738 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rename HBAudio class to HBAudioTrack.ritsuka2015-01-091-11/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6696 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a case where deinterlace filter would be enabled even if decomb ↵ritsuka2015-01-071-1/+1
| | | | | | was selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6695 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use HB_VCODEC_H264_MASK to check whether to enable or not the iPod ↵ritsuka2014-12-311-1/+1
| | | | | | 5g atom. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6679 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: hide the iPod 5g check box if the codec is not h.264.ritsuka2014-12-301-3/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6678 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a bunch of regressions (various crash when in some textfields, ↵ritsuka2014-12-301-0/+14
| | | | | | encode log going to the wrong directory). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6676 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: pass the fast decode option to the hb_job.ritsuka2014-12-291-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6668 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: clean up headers and imports.ritsuka2014-12-271-0/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6661 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change the queue to work with serialized HBJob objects, remove the ↵ritsuka2014-12-271-41/+77
| | | | | | NSDictionary job representation and the duplicate prepareJob method. Implement NSCopying protocol in HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6655 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: move the UI helper methods to new categories. Implement NSCoding in ↵ritsuka2014-12-231-21/+81
| | | | | | more classes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6643 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the chapter titles directly in HBJob. Move more things over to ↵ritsuka2014-12-221-11/+25
| | | | | | HBTitle and HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6642 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: implement NSCoding protocol in HBJob.ritsuka2014-12-221-2/+51
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6638 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed a number of memory leaks. Do not set some deprecated hb_job ↵ritsuka2014-12-221-15/+22
| | | | | | fields. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6637 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the last usage of title->job.ritsuka2014-12-211-9/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6636 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use HBJob tracks array in HBAudioController and ↵ritsuka2014-12-211-5/+520
| | | | | | HBSubtitlesController. Add a method to convert a HBJob to a hb_job_t. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6635 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: small improvements to HBTitle and HBJob.ritsuka2014-12-201-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6625 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: import some headers directly in HBJob.h.ritsuka2014-12-111-4/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6594 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added a new HBTitle class to wraps the hb_tltle_t parts used by the ↵ritsuka2014-12-031-140/+16
| | | | | | mac gui. Small improvements to the HBCore related classes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6576 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: improvement to the HBCore class, use it in HBPreviewGenerator. Added ↵ritsuka2014-11-291-6/+6
| | | | | | some classes to be used in the near future. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6566 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added support for NLMeans denoise. Added the HBFilters class to ↵ritsuka2014-08-191-0/+191
store the filters settings, previously they were stored directly in the HBPictureController window controller. Removed the filter tab animations for now, they will be added back later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6319 b64f7644-9d1e-0410-96f1-a4d463321fa5