summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: HTTP optimized mp4 implementationdynaflash2007-12-141-18/+34
| | | | | | | | | - New checkbox to enable http optimized mp4's - Shows/Hides depending on the "format" selection - Presets use new objectForKey:@"Mp4HttpOptimize" - Also renamed the outlet for 64 bit mp4's to more descriptive "fDstMp4LargeFileCheck" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1127 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets (code cleanup)dynaflash2007-12-121-254/+248
| | | | | | - Remove unneeded conditional in -selectPreset used to test if the old NSTableView was enabled or not. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1120 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets Drawer improvementsdynaflash2007-12-121-6/+7
| | | | | | | | | - Get rid of useless NSTabView - Rearrange NSOutlineView so full size is visible, also make 100 px taller - Also made changing the drc slider change the Output from the preset name to Custom, like the other controls do. - Moved -audioDRCSliderChanged from the video controls to the "GUI Controls Changed" section of controller.mm git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1119 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Dynamic Range Control implemented in the audio tab of the main window.dynaflash2007-12-121-5/+21
| | | | | | | | | | - represented by a slider indicating value from 1.0 to 4.0 - Defaults to 1.0 - Granularity of 1/100 - Implemented in presets - If key for drc is not present, preset will automatically return it to its default of 1.0 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1118 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Update Presets to use NSOutlineView and change the associated ↵dynaflash2007-12-101-156/+173
| | | | | | | | | | methods to support the NSOutlineView delegate required methods. - Change necessary to move to nested presets. - Layout still to be determined - Method to actually change the setting for the preset changed from -tableViewSelected to more appropriate -presetSelected in Controller.mm git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1115 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a bracket on same line screw up from the last commit.dynaflash2007-12-071-45/+47
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1105 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix issue in which picture settings filters in presets would'nt set ↵dynaflash2007-12-071-30/+76
| | | | | | | | to "off" if the preset didnt have the key for that filter. - If a filter is not detected in the preset, the preset will assume it should be set to Off or None as the case may be. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1104 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Built-In Presets moved to new class: HBPresetsdynaflash2007-12-051-1193/+12
| | | | | | | | - Built In Presets are now created and defined in the methods in HBPresets.h and HBPresets.m - May move other preset methods here in the future as well. - Updated Jamfile as appropriate git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1098 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Scanning progress bar now shows as indeterminate (barber pole) as ↵dynaflash2007-12-041-13/+13
| | | | | | | | for some reason its progress is not reported since moving to leopard. - Also added a new scanning message right when we call hb_scan for quicker feedback, especially when opening a new source while encoding another one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1097 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Increase size of main window by 200 px wide and 50 px high.dynaflash2007-12-031-9/+17
| | | | | | | | - This should offer more room as we desperately need it. - Should still offer compatibility with 1280 x 1024 display with the presets drawer open and a dock on either the bottom or side - Also added more granularity to the Constant Quality slider, now can choose any whole percentage instead of just even. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1096 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Split Picture settings for new preset up into Size and Filters and ↵dynaflash2007-11-291-49/+112
| | | | | | | | | | add VFR to presets - New Add preset Panel - Now can specify how preset uses picture sizing (includes height, width, keep ar, anamorphic and cropping) separately from whether or not it uses Picture Filters (currently includes Deinterlace, Detelecine, VFR, Denoise, and Deblock (pp7) ) - Allows for greater flexibility in setting up your presets git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1086 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix some warnings for compiling in 10.5dynaflash2007-11-281-6/+6
| | | | | | | - Fix NSMenuItem warnings in -audioPopupChanged in Controller.mm - Fix cString warning in HBDVDDetectore.m git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1082 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix open last used source directory. broken in rev. 1067dynaflash2007-11-211-6/+9
| | | | | | - Fix issue since 1067 where open the browse window to scan a new source would just default to "/" instead of the last chosen source directory. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1073 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add "Open Source (Specify Title)" featuredynaflash2007-11-191-64/+144
| | | | | | | | | | - Optional way to open your source and specify scanning a specific title only ala the cli. - Should help with sources that tend to crash the macgui while scanning the entire source - Only available via the file menu as an additional menu item - All other open source methods are left untouched so to the average user the gui behaves as before. - In the process eliminated unnecessary -showSourceScanPanel method which simply called -browseSources, now all gui widgets call -browseSources directly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1067 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Minor preset changes:jbrjake2007-11-151-8/+8
| | | | | | | | | | - Removes chapter markers from PS3 - Moves the high profile presets to 16 B-frames (adaptive) - Gets rid of erroneous audio bitrate and samplerate during ac3 pass-thru - Removes 8x8dct from the QuickTime preset - Drops Film to 1800kb/s git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1062 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move app support directory check to -init in controller.mmdynaflash2007-11-151-47/+59
| | | | | | | | - Makes ~/Library/Application Support/HandBrake available to HBOutputPanelController immediately - Elimates duplicate code to check for app support directory for both the presets as well as the activity log (as well as any other future features that will require this directory) - Also fixed issue where clicking "Discard" in the update alert closes the main window and won't let it come back (this will be totally unnecessary once the Sparkle update system is implemented). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1061 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: VFR controls initial implementationdynaflash2007-11-101-1/+28
| | | | | | | | | - Adds a vfr checkbox next to the detelecine filter in the Picture Settings Window - Tuns on detelecine and disables its checkbox - Sets Framerate in the main window to 29.967 and disables it - Sets job->vfr = 1 if vfr is checked in -prepareJob git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1052 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change -PrepareJob to -prepareJob to match cocoa coding conventionsdynaflash2007-11-091-3/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1048 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Deblock to the presets systemdynaflash2007-11-071-1/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1047 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Added Deblock to filters in Picture Preview Windowdynaflash2007-11-071-2/+18
| | | | | | - Currently uses a checkbox that enables pp7 (default settings) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1046 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Reorganize Controller.mm methodsdynaflash2007-11-021-1141/+1206
| | | | | | | - Try to divide into logical sections via pragma marks - move preset code to the bottom as its typically accessed less often git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1042 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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