summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.h
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: rename HBController and HBQueueController files.ritsuka2015-01-221-121/+0
| | | | 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-221-49/+15
| | | | | | 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: rename cancel: to cancelRip: so it won't be automatically called ↵ritsuka2015-01-201-2/+0
| | | | | | when the esc key is pressed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6778 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use bindings to enable/disable the main window ui elements.ritsuka2015-01-201-55/+24
| | | | 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-191-1/+0
| | | | 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-67/+18
| | | | | | 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: use NSURL where possible, replace a api call not available on 10.6.ritsuka2015-01-071-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6694 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a bunch of regressions (various crash when in some textfields, ↵ritsuka2014-12-301-1/+0
| | | | | | encode log going to the wrong directory). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6676 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use bindings to toggle the chapters/seconds/frames UI.ritsuka2014-12-291-3/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6669 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: clean up headers and imports.ritsuka2014-12-271-10/+9
| | | | 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-8/+2
| | | | | | Cosmetics in HBController. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6660 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rename PictureController.* to HBPictureController.* .ritsuka2014-12-271-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6657 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change the queue to work with serialized HBJob objects, remove the ↵ritsuka2014-12-271-15/+1
| | | | | | 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: remove some unused #import. Move again more things in HBController ↵ritsuka2014-12-231-6/+0
| | | | | | to HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6644 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the last usage of title->job.ritsuka2014-12-211-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6636 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: refactor a bit of HBController to remove dependency on hb_title_t.ritsuka2014-12-211-2/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6634 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use HBJob when possible.ritsuka2014-12-211-8/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6633 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: integrated HBPicture in HBPictureController and started to move ↵ritsuka2014-12-201-1/+0
| | | | | | things over to HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6628 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove a unused ivar in HBController.ritsuka2014-12-201-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6617 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: merged the two browerFile methods.ritsuka2014-12-041-2/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6582 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added back part of the drag & drop handling.ritsuka2014-12-041-3/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6581 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added back some tooltips to the toolbar items. Remove the ↵ritsuka2014-12-041-1/+1
| | | | | | NSToolbarDelegate protocol from HBController. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6580 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved the main window toolbar to the xib.ritsuka2014-12-031-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6578 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: switched the hb_handle_t references in HBController to HBCore instances.ritsuka2014-12-031-18/+0
| | | | | | Drag & drop to the main window does not work is this rev. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6577 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed 4 unneeded AutoCrop* ivars.ritsuka2014-11-231-6/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6541 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved the "add preset" window to its own window controller class. ↵ritsuka2014-11-231-16/+3
| | | | | | Keep the current settings when changing title or scanning a new file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6538 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed the “Large file size” checkbox.ritsuka2014-08-231-2/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6349 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed an unnecessary NSBox in the Advanced tab.ritsuka2014-08-221-5/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6345 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the tab views directly instead of adding a subview in the main ↵ritsuka2014-08-201-4/+4
| | | | | | window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6325 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added a HBDockTile class to manage the dock tile.ritsuka2014-08-201-6/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6324 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added support for NLMeans denoise. Added the HBFilters class to ↵ritsuka2014-08-191-1/+0
| | | | | | | | 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: select the default preset in the presets drawer at start up. Added a ↵ritsuka2014-08-161-2/+0
| | | | | | missing NSAlert release. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6301 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added the list of the presets at the bottom of the preset menu and a ↵ritsuka2014-08-091-2/+2
| | | | | | | | “New Folder” menu item. Removed the “delete built-in presets” item because it takes just two clicks to remove them manually. Refactored part of HBPreset to a separate HBTreeNode class. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6278 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed the last remaining of the code to load a custom application ↵ritsuka2014-08-081-2/+0
| | | | | | icon. It was used to load a specific icon for the 64bit version, but it’s now unused. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6276 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed a old check on the scan count from the era when the MacGui ↵ritsuka2014-08-081-2/+0
| | | | | | used a single libhb instance to encode and scan, and fixed a bug it was hiding: spurious calls to hb_get_state outside the updateUI loop were masking the HB_STATE_WORKDONE and HB_STATE_SCANDONE states, replaced them with hb_get_state2. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6274 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: improved the presets managementritsuka2014-08-071-67/+8
| | | | | | | Added a class to manage the presets (HBPresetsManager) and moved the presets drawer code to a new view controller (HBPresetsViewController). Removed the limitation of two nested folders and added a way to add to custom folders. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6273 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: simplified the way the audio tracks are stored in the queue.ritsuka2014-08-041-2/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6267 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved two methods used by the whole app to HBUtilities.m:ritsuka2014-07-161-2/+0
| | | | | | | - appSupportPath: - writeToActivityLog: git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Refactored the controller code for the ↵ritsuka2014-07-151-139/+27
| | | | | | | | | | 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
* MacGUI: Refactor HBPreviewController. Rename the actual class to ↵ritsuka2013-11-041-1/+1
| | | | | | HBPreviewController, and move the image and video creation code to a separate HBPreviewGenerator class. Update the preview duration list as Rodeo suggested. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: refactor PictureController. kill a bit of dead code (~500 lines), ↵ritsuka2013-11-021-3/+2
| | | | | | switch some ivars to properties, hide the private methods and rework the deinterlace logic. Plus UI alignment. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Varius warnings fixes:ritsuka2013-10-251-11/+11
| | | | | | | | | | - NSUInteger and NSInteger instead of int (where the Cocoa 64bit api uses them). - Cast to int when needed because NSInteger on 64bit is defined as long. - NSURL instead of NSString when possible. - Replaced some deprecated methods/functions. - numberWithInteger instead of numberWithInt. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5854 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use FSEvent api to create a FSEventStream to keep track of when a ↵ritsuka2013-08-191-0/+4
| | | | | | | | file inside the Queue folder is update. Move Queue.plist inside a folder because FSEvent can only track changes at folder level, so we have a folder with just a file inside. Whenever something happens inside the Queue folder, HandBrake reload Queue.plist. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5720 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: simplify queue display code.Rodeo2013-04-121-0/+1
| | | | | | | | | | | | | Add detailed summaries to the queue item dictionary and use them in HBQueueController. This helps remove a lot of duplicate logic. Uses existing methods pictureSettingsSummary, pictureFiltersSummary and new muxerOptionsSummary. Also add a few height rows for long lines that often wrap to a second row. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5398 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: main and queue window improvements.Rodeo2013-04-121-6/+7
| | | | | | | | | | | | | | | | Merge fPictureSizeField and fPictureCroppingField into fPictureSettingsField (fits on a single line). Rename fVideoFiltersField to fPictureFiltersField. Move the two text fields closer to each other now that there is more room. Also align their contents using tabs. This should look better overall. Add pictureSettingsSummary and pictureFiltersSummary to generate the text summaries used in the fields above. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5395 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rename a variable.Rodeo2013-04-121-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5393 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add missing tooltips . Align and fix issues.dynaflash2013-01-271-1/+3
| | | | | | | - Patch by sanmarcos … Thanks! - Detail addressed here https://reviews.handbrake.fr/reviewboard.fcgi/r/423/ git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5214 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: retain the current storage width and height and use it when ↵Rodeo2013-01-161-0/+2
| | | | | | | | | | unparsing the x264 options. This is done in calculatePictureSizing as it is called whenever width or height change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5175 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fAudioFallbackPopUp should be an NSPopUpButton.Rodeo2013-01-061-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5164 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fX264MediumPresetIndex is an index, not a pointer.Rodeo2013-01-061-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5163 b64f7644-9d1e-0410-96f1-a4d463321fa5