summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: Queue Enhancements courtesy of travistexdynaflash2007-10-091-15/+9
| | | | | | | | | - Encodes now stick around in the queue's displayed after they have been completed. They are marked with a check mark icon. - The "active" encode is shown with a chasing arrows icon. - Completed encodes have a spotlight icon by them to allow you to show in finder - Support for reordering encodes in the queue via drag and drop. Currently #define'd out because there's currently no easy way to reorder hblib's job list. But some day maybe... git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1017 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove the sanity check for 23.976 framerate and detelecinedynaflash2007-10-091-5/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1015 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Rename iPhone preset to iPhone / iPod Touch0.9.1dynaflash2007-10-081-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1009 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where Source is display with the volume id (ie. disk1) ↵dynaflash2007-09-281-3/+4
| | | | | | instead of the volume name if source is a physical dvd. This bug was introduced pre 0.9.0 with the integrated source scan controller. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@997 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add the auto detected framerate to the "Same as source" item in the ↵dynaflash2007-09-271-4/+66
| | | | | | | | "Frame Rate" popup button. - Note: presets still use "Same as source" if applicable for backwards compatibility. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@994 b64f7644-9d1e-0410-96f1-a4d463321fa5
* A line went missing from Controller.mm in the reorg of that file, youeddyg2007-09-261-0/+5
| | | | | | | | must tell the first pass of a two pass to not participate in the subtitle auto select. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@991 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Various little code cleanup and small alignment fixes in the nib.ritsuka2007-09-231-141/+85
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@983 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: don't reset codecs popup when changing format, if the new format ↵ritsuka2007-09-221-0/+6
| | | | | | supports the specified codecs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@977 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add conditional to 6 channel vorbis to remove < 192 bitrates from ↵dynaflash2007-09-181-0/+11
| | | | | | popup, since vorbis crashes in a fiery wreck. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@972 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enable 6-channel Vorbis audiodynaflash2007-09-181-1/+2
| | | | | | - bitrate checking is not modified, so uses existing minbitrate = 48, maxbitrate = 384 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@971 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use the parent folder if VIDEO_TS is chosen as a source for display ↵dynaflash2007-09-141-13/+19
| | | | | | | | as well as default output movie name. Move some icon files into Resources/icons folder in the Xcode proj file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@964 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New Queue Enhancements courtesy of travistexdynaflash2007-09-141-2/+19
| | | | | | | | | - New hierarchical queue view. - New Start/Cancel and Pause/Resume buttons in Queue toolbar to match those in the main window. - When canceling a job, you now have the option to delete all pending jobs. - This one is the real deal! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@963 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Update Toolbar icons with the HawkPackdynaflash2007-09-131-5/+5
| | | | | | - Thanks hawkman! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@959 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix the target size crash for real, and autovalidate the open source ↵ritsuka2007-09-121-5/+1
| | | | | | toolbar item. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@957 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add warning if "Sleep" or "Shutdown" is going to occur after ↵dynaflash2007-09-121-0/+33
| | | | | | | | encoding is done ala user prefs. - Thanks hawkman! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@956 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix Quit command, especially during encodingdynaflash2007-09-121-45/+68
| | | | | | | - Adds proper warning windows and quits gracefully during all states - Courtesy of travistex git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@955 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix a crash in calculateBitrate:ritsuka2007-09-121-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@954 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix starting an encode when nothing is in the queue bug which was ↵dynaflash2007-09-111-1/+7
| | | | | | | | introduced in 949. - adds "addToQueue" method back to the "Rip" method if the queue is currently empty. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@950 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New queue enhancementsdynaflash2007-09-111-169/+257
| | | | | | | | | | | | | | - clean up work related to starting and stopping of jobs to make sure the behavior is the same in both the queue window and the main window - No longer adds jobs to queue when you've hit Start but then canceled the overwrite warning. - Added overwrite alert when doing an Add to Queue. Was only happening previously when you did a Start. - Stopping a job from either the Queue window or the Main window now goes through the same code path and so the behavior will be identical. - In the main window, the Start button now changes to Start Queue once you've added things to the queue. This helps clear up any ambiguity about what that button will do - Cancel button now named Stop. Recommended by BradleyS and/or hawkman I think because this button no longer cancels everything in the queue, just the current job. Wording in the stop warning dialog has been improved (mentions job title). - The "Show Alert When Done" options now work when you have started the queue from the Queue window. - Uses the term "passes" in main window - Added unique icons for each pass type. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@949 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added buffer management and changed fifo sizes. Changed job->subtitle_scan ↵eddyg2007-09-111-4/+3
| | | | | | to job->indepth_scan, and fixed memory init bug in denoise.c. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@945 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New preferences window. We need some new icons for the toolbar.ritsuka2007-09-101-22/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@942 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fixed bitrate calculation for target size.ritsuka2007-09-091-7/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@941 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fixed main window not showing updated filters settings after closing ↵ritsuka2007-09-091-19/+12
| | | | | | | | the picture window. HandBrake gui is updated even when the user is pressing a button or a menu. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@940 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: ritsuka2007-09-081-34/+35
| | | | | | | | - Better menu item validation - Sheets no long disable every existing menu item - Added a check for preset name length when adding a new preset git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@939 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Use validateMenuItem to autovalidate menu items. Plus small gui ↵ritsuka2007-09-081-71/+68
| | | | | | alignments fixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@937 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui:ritsuka2007-09-081-178/+140
| | | | | | | | | | - Move Picture Settings window in a new nib - Cleanup main window nib, delete some useless hidden NSTextfField - Change "Queue" menu item keyboard shortctus to cmd-2 - Add cmd-? keyboard shortcuts to "HandBrake User Guide" menu item - HandBrake main windows is now shown if the dock icon is clicked and there is no open window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@936 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move x264 advanced options code to a new class ↵ritsuka2007-09-071-987/+16
| | | | | | (HBAdvancedController) and add a new nib to simplify future gui changes git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@934 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue Improvements from travistexdynaflash2007-09-071-50/+30
| | | | | | | | | | | | | | | | | | | - Add view selection widget to choose "encode by encode" or "pass by pass" view - Add "Show Detail" button to toggle detailed view on/off - Removed #define JOB_GROUPS. You can now control this in the UI and show either "encodes" or "passes". - Revamped the progress strings to give you exact progress. - New terminology (encodes and passes) - New toolbar in queue window (not complete, icons need work) - New files, added to project: Encodes.png EncodesPressed.png Info.png JobPassLarge.png JobPassSmall.png Passes.png PassesPressed.png git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@931 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Ritsuka patch to remove a ton of booleans for the toolbar. Makes the ↵dynaflash2007-09-061-293/+195
| | | | | | | | toolbar in the main window more responsive. - Thanks again Ritsuka ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@927 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: New Active Queue implementation courtesy of travistexdynaflash2007-09-051-29/+129
| | | | | | | | | | | | | - Thanks travistex! - queue is now in a separate window - queue currently shows jobs grouped together as one encode, which is configurable - queue now shows currently encoding job, which is independently cancellable without losing the rest of the queue. - can start and pause encoding in the queue window - queue uses its own nib - progress status needs work - This has a way to go, but needed to get checked in as it changes the current xcode project structure. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@925 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix Auto Naming to use the titile->index value instead of ↵dynaflash2007-09-041-1/+1
| | | | | | | | indexOfSelectedItem in the title popup to reflect the dvd's title number. - Thanks clee! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@919 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui:sr552007-09-041-0/+3
| | | | | | | Fixed mkv file extension not being appending by auto naming Included Ritsuka patch for mkv file size issue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@918 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fixes a minor typo in the x264 options for the QuickTime presetjbrjake2007-08-311-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@910 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Back out the GUI handling code for native language prefs.eddyg2007-08-301-30/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@905 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: minor widget label changesdynaflash2007-08-301-1/+1
| | | | | | | | - In preference window, "Preferred Language" is now "Native Language" - In main window, "Forced" is now "Forced Subs Only" - Denoise status is added to -enableUI so it grays out when the main window ui is disabled esp. during scan. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@903 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix bug where cancelling the browse window for source didnt enable ↵dynaflash2007-08-281-1/+1
| | | | | | Window > Queue properly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@883 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the GrowlDelegate to self, should prevent two instances of the ↵dynaflash2007-08-271-2/+1
| | | | | | HBController object. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@879 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: disable interface during scanning, and if there is no valid title founddynaflash2007-08-271-20/+14
| | | | | | - Prevents crashing when attmepting to access audio variables when a valid source is not present. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@876 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Moved functions from lang.h to lang.c for easy includion in Controller.mmeddyg2007-08-271-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Integrate HBDVDetector directly into Controller.mm and get rid of ↵dynaflash2007-08-271-7/+76
| | | | | | ScanController and its associated files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@873 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added support to the mac gui for auto-selecting subtitles if the main audio ↵eddyg2007-08-271-2/+30
| | | | | | language is not in your native language (via the new preferences box). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@872 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix main window closing to it doesnt crash HB and allow you to get ↵dynaflash2007-08-241-5/+11
| | | | | | | | it back. Also, closing main window now does NOT quit HandBrake. - Courtesy of Ritsuka. Thanks Ritsuka! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@864 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: internal code changesdynaflash2007-08-231-177/+177
| | | | | | - change method names and their corresponding target actions in nibs to conform to the our new obj c coding guidelines git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@853 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix disabling of the subtititles Forced checkbox if user cancels the ↵dynaflash2007-08-231-1/+1
| | | | | | initial scan. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@852 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: internal change to Controller.mmdynaflash2007-08-221-45/+32
| | | | | | | | | - move preset loading code from awakeFromNib to a new method called loadPresets - remove references to unused x264Opts.plist file we never used. This fat boy is going on a diet ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@851 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added handling for the forced subtitle button.eddyg2007-08-211-7/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@846 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add subtitle widgets for eddyg's forced subtitle implementation.dynaflash2007-08-211-0/+17
| | | | | | | - Create checkbox called "Forced" next to the NSPopUp button for subtitle selection with outlet named fSubForcedCheck - Create a new preference checkbox to use subtitles instead of dubbed audio track if so desired. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@845 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Add Subtitle scanning for forced subtitles and normal subtitles from the CLIeddyg2007-08-211-3/+62
| | | | | | | and the MacOS GUI. See the new subtitle language options in the GUI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@844 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Small pre release bug fixesdynaflash2007-08-191-6/+17
| | | | | | | | - Deinterlace On in preferences now sets deinterlacing to "Fast" upon launch - Fixed bug AutoCrop was set to "Custom" upon launch. - Changed verbage in Preference Panel to Activity Window instead of Debug Window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@836 b64f7644-9d1e-0410-96f1-a4d463321fa5
* CLI/MacGui: removes weightb=0 from the turbo option string, because it was ↵jbrjake2007-08-191-2/+2
| | | | | | causing frame count differences for the 2nd pass. Also removes a stray colon from the Broke preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@832 b64f7644-9d1e-0410-96f1-a4d463321fa5