summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: fixed a crash that could happen when the "browse…" button is ↵ritsuka2015-07-041-2/+6
| | | | | | pressed if the destination field is empty. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7340 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: updated the text on some warning messages. ritsuka2015-07-041-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7339 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rename "Source" to "Open Source", and add the "Open Recent" menu item.ritsuka2015-07-041-4/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7338 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add nullability annotations to the headers and use weak where is ↵ritsuka2015-05-301-1/+1
| | | | | | possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7244 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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: allow exporting a preset folder. Add import/export menu item to the ↵ritsuka2015-05-161-47/+8
| | | | | | presets drawer too. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7192 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use libhb built-in presets and validation functions. Update the ↵ritsuka2015-05-141-59/+35
| | | | | | 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: add a new formatter to convert a hb_state_t to a textual representation.ritsuka2015-04-301-16/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7134 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: run the Xcode "convert to modern objective-c" on the entire project.ritsuka2015-04-091-3/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7075 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: changed the Preview Window and Picture Panel behaviour to avoid the ↵ritsuka2015-04-071-19/+8
| | | | | | hide and show thing when loading a new title, now they can always be opened even if no title is loaded. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7065 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a crash in the add preset and add titles to queue sheets ↵ritsuka2015-03-171-4/+3
| | | | | | introduced by the ARC conversion. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: convert the mac gui to Objective-C ARC.ritsuka2015-03-171-47/+19
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: check for duplicated file names when adding a batch of jobs.ritsuka2015-02-281-4/+20
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6946 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: update the file extension too in updateFileName.ritsuka2015-02-041-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6870 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: properly deregister the job observers, and refactor a bit the ↵ritsuka2015-02-041-31/+53
| | | | | | 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: remove two log messages, the way jobs are reloaded from queue is ↵ritsuka2015-02-011-11/+0
| | | | | | almost the same as loading a new source, so these logs are not useful anymore. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6856 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix chapters range auto naming.ritsuka2015-02-011-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6855 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: clean up the methods to update the destination file name and extension.ritsuka2015-02-011-50/+31
| | | | 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-2/+3
| | | | | | when the chapters are enabled or disabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6842 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: do not apply the same preset to a job two times.ritsuka2015-01-311-4/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6838 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use the current settings when adding titles directly to the queue.ritsuka2015-01-281-1/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6823 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: apply auto naming when adding multiple titles to queue too.ritsuka2015-01-271-43/+54
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6820 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: disable the cancel button while the queue is scanning because there ↵ritsuka2015-01-271-1/+1
| | | | | | isn't a way to pause the scan. Use hb_state param.workdone.error to signal the result of an encode operation. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6818 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a method to return a CGImageRef for a preview in HBCore, and ↵ritsuka2015-01-261-1/+1
| | | | | | skip the alpha to use less memory. Use a dispatch_source as a timer in HBCore so we will be able to run the update loop on its own thread. Remove the pointer to hb_handle_t, no class outside HBCore uses it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6816 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a "Add Titles to Queue…" menu item that let select which ↵ritsuka2015-01-251-40/+92
| | | | | | titles are added to the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6810 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: clean up HBCore, add a way to register a block as error handler.ritsuka2015-01-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6799 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix start/pause toolbar items validation.ritsuka2015-01-221-16/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6788 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add back the drawer code I accidentally removed previously.ritsuka2015-01-221-1/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6787 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rename HBController and HBQueueController files.ritsuka2015-01-221-0/+1424
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6785 b64f7644-9d1e-0410-96f1-a4d463321fa5