summaryrefslogtreecommitdiffstats
path: root/macosx/HBCore.m
Commit message (Collapse)AuthorAgeFilesLines
...
* MacGui: run the Xcode "convert to modern objective-c" on the entire project.ritsuka2015-04-091-12/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7075 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix the error variable in canScan:error: , it was dereferenced one ↵ritsuka2015-03-191-2/+2
| | | | | | time too many. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7006 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: convert the mac gui to Objective-C ARC.ritsuka2015-03-171-15/+4
| | | | 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-1/+1
| | | | | | 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: set the paused/working state immediately, so the pause toolbar item ↵ritsuka2015-01-281-0/+2
| | | | | | will be update correctly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6824 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: disable the cancel button while the queue is scanning because there ↵ritsuka2015-01-271-11/+4
| | | | | | 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-52/+136
| | | | | | 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: clean up HBCore, add a way to register a block as error handler.ritsuka2015-01-231-51/+78
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6799 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the public hb_state property in HBCore, fix a bug in HBVideo ↵ritsuka2015-01-201-0/+3
| | | | | | and change some strings in the queue job's description. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6777 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: enable and fix more compiler warnings in the Xcode project.ritsuka2015-01-191-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6772 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove startProgressHandler:completationHandler: method in HBCore. ↵ritsuka2015-01-191-13/+8
| | | | | | Switched HBPreviewGenerator to encodeJob: . git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6771 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved the queue code from HBController to HBQueueController, ↵ritsuka2015-01-191-84/+71
| | | | | | 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: Move the audio/subtitles selection logic out of the view ↵ritsuka2015-01-131-0/+1
| | | | | | 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-48/+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: use a smaller timer internal while scanning to make the UI more ↵ritsuka2015-01-111-5/+7
| | | | | | responsive. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6727 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use NSURL where possible, replace a api call not available on 10.6.ritsuka2015-01-071-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6694 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change the queue to work with serialized HBJob objects, remove the ↵ritsuka2014-12-271-1/+63
| | | | | | 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: add some more logs in HBCore.ritsuka2014-12-211-0/+10
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6632 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use the right string format specifier in HBCore.ritsuka2014-12-201-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6618 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a "name" property to HBCore to easy debugging multiple ↵ritsuka2014-12-201-7/+11
| | | | | | instances. Add a missing retain to the titles property. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6616 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added a new HBTitle class to wraps the hb_tltle_t parts used by the ↵ritsuka2014-12-031-28/+52
| | | | | | 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: added more methods to HBCore.ritsuka2014-12-011-10/+42
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6574 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: improvement to the HBCore class, use it in HBPreviewGenerator. Added ↵ritsuka2014-11-291-96/+202
| | | | | | 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-3/+3
| | | | | | | | 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
* MacGUI: Make a copy of HBCore in macosx folder.ritsuka2008-01-111-0/+270
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1188 b64f7644-9d1e-0410-96f1-a4d463321fa5
* IHB: A new xcode project file, plus some experimental changes to test HBCore.ritsuka2008-01-111-271/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1187 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Proposal for replacing UpdateUI timer in HBController. HBCore is a ↵cleaner2007-06-101-0/+271
more ObjC-like interface to the core libhb library. It provides notifications of libhb state changes via NSNotificationCenter. Interfaces for scanning, encoding, bindings etc. can be added later. Note: this class is not used in HB (yet). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@605 b64f7644-9d1e-0410-96f1-a4d463321fa5