summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesController.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: rewrote the subtitles tab to use bindings, view-based table view and ↵Damiano Galassi2015-10-221-509/+24
| | | | to support undo/redo.
* MacGui: convert the mac gui to Objective-C ARC.ritsuka2015-03-171-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move the audio/subtitles selection logic out of the view ↵ritsuka2015-01-131-433/+71
| | | | | | 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
* MacGui: clean up headers and imports.ritsuka2014-12-271-3/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6661 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove redundant "enabled" property in a few view controller. ↵ritsuka2014-12-271-12/+6
| | | | | | Cosmetics in HBController. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6660 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change the queue to work with serialized HBJob objects, remove the ↵ritsuka2014-12-271-62/+27
| | | | | | 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: fixed a number of memory leaks. Do not set some deprecated hb_job ↵ritsuka2014-12-221-2/+2
| | | | | | fields. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6637 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use HBJob tracks array in HBAudioController and ↵ritsuka2014-12-211-2/+3
| | | | | | 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: use HBJob when possible.ritsuka2014-12-211-9/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6633 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: separate the video settings logic from the view controller. There ↵ritsuka2014-12-181-8/+8
| | | | | | are a number of small regression ("Custom" preset and auto naming not updating) that will be fixed in the next commits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6606 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed a issue that happened on 10.8 when reloading a job from the ↵ritsuka2014-11-021-5/+4
| | | | | | queue: we tried to add an object to an immutable NSArray that for some reason known to the Cocoa framework was a NSMutableArray on 10.9+ , but not on 10.8. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6496 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed some warnings.ritsuka2014-10-301-2/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6486 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: store the audio and subtitles defaults in each queue item so they ↵ritsuka2014-08-251-5/+0
| | | | | | can be loaded back from the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6360 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: renamed HB*Settings classes to HB*Defaults. Added a “…” char ↵ritsuka2014-08-221-3/+3
| | | | | | to the “Configure Defaults” button. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6341 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: implemented the HBViewValidation protocol in each of the main window ↵ritsuka2014-08-101-6/+6
| | | | | | view controllers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6285 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: enabled type select in the languages table view.ritsuka2014-08-031-19/+24
| | | | | | Improved the subtitles defaults selection to avoid adding the same track twice. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6261 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added some tooltips to the subtitles defaults window and made the ↵ritsuka2014-08-011-2/+8
| | | | | | defaults buttons in the subtitles tab more visible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6253 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use the native language if available in the subtitles table and ↵ritsuka2014-07-311-2/+6
| | | | | | languages selection table. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6249 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implemented a configuration panel similar to the win/lin gui one for ↵ritsuka2014-07-291-636/+705
| | | | | | | | | | the subtitles defaults, and added some more options from the other guis (add all, remove all). The SubtitleAddForeignAudioSubtitle setting will be added later after the automatic audio selection is done. Fixed a bug where HandBrake used 50% of cpu time if the subtitles table view was selected. Refactored a big part of HBSubtitlesController to make it works with the new automatic options and to cleaned the table view data source. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Refactored the controller code for the ↵ritsuka2014-07-151-0/+928
video/audio/subtitles/chapters view: Added a xib file and a NSViewController subclass for each tab of the main HandBrake window. Each view controller now to responds to the HBContainerChangedNotification and HBTitleChangedNotification notifications instead of using a custom way to notify changes. Converted the modified .xibs to the Xcode 5.1 format. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6231 b64f7644-9d1e-0410-96f1-a4d463321fa5