summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: guard against nil denoise values. ritsuka2015-02-081-3/+27
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6886 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-0412-102/+130
| | | | | | 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: rename some variables.ritsuka2015-02-021-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6861 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a "Clear All" and "Clear completed items" menu items to the ↵ritsuka2015-02-022-21/+66
| | | | | | queue contextual menu. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6860 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-013-5/+18
| | | | 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-012-53/+54
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6854 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a HBAudioTrackDataSource protocol to simplify HBAudio interface.ritsuka2015-01-314-21/+30
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6844 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: forgot a file in the previous commit.ritsuka2015-01-311-3/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6843 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a HBChaptersChangedNotification notification, used to notify ↵ritsuka2015-01-314-15/+14
| | | | | | when the chapters are enabled or disabled. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6842 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix an issue where a "none" track could be added to hb_job_t.ritsuka2015-01-312-18/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6841 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: do not apply the same preset to a job two times.ritsuka2015-01-312-8/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6838 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a crash that happens when a new preset is created from a one ↵ritsuka2015-01-301-3/+8
| | | | | | that uses the advanced x264 panel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6829 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: let HBAudioTrackPreset know the current container.ritsuka2015-01-305-2/+68
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6827 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: 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-274-24/+13
| | | | | | 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: set the right crop values in the HB_FILTER_RENDER_SUB filter.ritsuka2015-01-261-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6817 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a method to return a CGImageRef for a preview in HBCore, and ↵ritsuka2015-01-267-155/+179
| | | | | | 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-256-48/+396
| | | | | | titles are added to the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6810 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix subtitles defaults window resizing and delete an empty item in ↵ritsuka2015-01-232-13/+10
| | | | | | the title popup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6802 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: expose a isStream and a timeCode properties in HBTitle.ritsuka2015-01-234-7/+28
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6801 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix HBRangeType enum order.ritsuka2015-01-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6800 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: clean up HBCore, add a way to register a block as error handler.ritsuka2015-01-236-95/+113
| | | | 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: center the prefs window in the showWindow: method.ritsuka2015-01-222-9/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6786 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rename HBController and HBQueueController files.ritsuka2015-01-225-13/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6785 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: move the application delegate to its own class. Removed the "Open ↵ritsuka2015-01-2211-1826/+1800
| | | | | | Source (Title Specific)" menu item, now integrated in the standard open panel. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6784 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: do a mutable copy instead of a copy for the masterTrackArray.ritsuka2015-01-211-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6783 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a number formatter to the seconds and frames textfields.ritsuka2015-01-201-4/+36
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6780 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix the "Cancel encode and stop" alert button.ritsuka2015-01-201-17/+33
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6779 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rename cancel: to cancelRip: so it won't be automatically called ↵ritsuka2015-01-204-17/+6
| | | | | | when the esc key is pressed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6778 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the public hb_state property in HBCore, fix a bug in HBVideo ↵ritsuka2015-01-204-14/+19
| | | | | | 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: use bindings to enable/disable the main window ui elements.ritsuka2015-01-203-111/+101
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6776 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: enable and fix more compiler warnings in the Xcode project.ritsuka2015-01-1913-42/+43
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6772 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove startProgressHandler:completationHandler: method in HBCore. ↵ritsuka2015-01-195-43/+40
| | | | | | 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-1920-2395/+2278
| | | | | | 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: disable the alert on error coderitsuka2015-01-151-11/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6754 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix some leaksritsuka2015-01-155-9/+59
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6753 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: simplify the toolbar/menu validation methods, plus some cosmetics.ritsuka2015-01-144-173/+143
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6748 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a crash when editing a queue item.ritsuka2015-01-131-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6745 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move the audio/subtitles selection logic out of the view ↵ritsuka2015-01-1321-1530/+1807
| | | | | | 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: reorganize createMovieAsyncWithImageIndex:andDuration: method. and ↵ritsuka2015-01-132-36/+33
| | | | | | add an additional check before switching the preview window HUD. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6740 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Simplify frontend useage of hb_add()jstebbins2015-01-123-86/+2
| | | | | | | | | 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: fix frame rate mode description in the queue.ritsuka2015-01-121-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6737 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: refactored some duplicated code.ritsuka2015-01-112-66/+58
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6728 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