summaryrefslogtreecommitdiffstats
path: root/macosx
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: ScanController modification so it skips the opening scan choice ↵dynaflash2007-06-202-19/+75
| | | | | | | | | | | | sheet and goes right to the file browse window if the "DVD Auto Detect" is turned off in the preferences. Saves a few clicks on selecting source files. Also, small change to controller.mm so that if an invalid source is selected, it shows up instead of the dvd name. Scan panel if no auto detect could use a bit of fine tuning, but it works. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@627 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Close Main Window issue fixed.dynaflash2007-06-195-5/+25
| | | | | | | | - Can now close the main HB window while HB is running and then re-open it with the "Main Window" selection in the "Window" toolbar menu without disturbing the current encode. - Note: should probably add "Main Window" to the Dock Icon Context menu as well. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@626 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Chapter Popup fix condition where user can select a start chapter ↵dynaflash2007-06-193-2/+13
| | | | | | | | | | | greater than the end chapter - Old behavior would result in a 00:00:00 encode - Now checks upon change and defaults to a single chapter rip relative to the start chapter. - Also fixed audio bitrate title in gui window from (Hz) to (khz) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@625 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Pref for Encode Done alert addeddynaflash2007-06-183-13/+26
| | | | | | | - Added combobox to the Preferences nib so user can select "None", "Alert Window", "Growl Notification", "Alert Window and Growl Notification". - Defaults to "Alert Window" if user has never set it before. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@624 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Disable DVD Drive Auto-Detect option in preferences.dynaflash2007-06-147-22/+52
| | | | | | | | | | - this feature allows you to use other dvd aware apps (mactheripper, dvd player, etc.) while using HB to encode a folder on your hard drive. - checkbox in prefs nib to disable dvd drive auto detect - when checked, hb does not poll for available drives at all. - can still manually navigate to a dvd and select it though. - is unchecked by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@622 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove Preference introduced in rev 620 to make users enable 64bit ↵dynaflash2007-06-142-4/+1
| | | | | | | | mp4 option. The option is available at all times as per jbrjake. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@621 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: + 4 GB Mpeg-4 modificationdynaflash2007-06-144-2/+6
| | | | | | | - adds a preference in the preferences window under advanced to turn on the option to use 64 bit formatting. - default is unchecked, so unless the user checks this preference, they will never even see the option in the main window, and HB will ignore it all of the time. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@620 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enable + 4GB Mpeg-4 file outputdynaflash2007-06-145-30/+59
| | | | | | | | | | | | - Add a checkbox under "Format" field to allow > 4 gb file output. - Slightly raised the Format and Codecs popups to allow for checkbox (not totally conviced this is a good place for it, but should work for now). - checkbox auto hides if any format other than mpeg-4 is chosen. - checkbox unchecked by default. - automatically unchecks if h.264 ipod is chosen Note: It Might make sense to add some kind of global in preferences that controls whether or not that feature even presents itself at all, and default it to off so its only available if a user enables it in prefs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@619 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add Turbo option for x264 two pass encodingdynaflash2007-06-135-47/+88
| | | | | | | | - Adds a Turbo checkbox under the 2-pass checkbox in the video tab if x264 is selected and 2-pass is checked, otherwise the Turbo checkbox is hidden and deselected - Appends ":ref=1:subme=1:me=dia:analyse=none:weightb=0:trellis=0:no-fast-pskip=0:8x8dct=0" to a given x264 option string on the first pass of a two pass encode if the Turbo checkbox is checked. - in testing, roughly doubles the first pass encoding speed using the HB-AppleTV preset opt string on a 2 pass encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@607 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Proposal for replacing UpdateUI timer in HBController. HBCore is a ↵cleaner2007-06-102-0/+323
| | | | | | 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
* Debug output window is now opened automatically if it was visible when HB ↵cleaner2007-06-062-0/+12
| | | | | | was closed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@603 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Removed obsolete 'DefAdvancedx264FlagsShow' preference settingcleaner2007-06-062-1/+0
| | | | | | | - Added 'verbose debug output' preference that was missing in [601] git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@602 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - Moved preferences window from MainMenu.nib to Preferences.nibcleaner2007-06-0612-448/+165
| | | | | | | | | | | - Moved languages from PrefsController.m to Preferences.nib - Renamed PrefsController to HBPreferencesController - Implemented bindings in Preferences.nib - Enabled autocomplete in audio language combobox git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@601 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Moved initialization of default preferences from [PrefsController ↵cleaner2007-06-053-24/+31
| | | | | | | | | awakeFromNib] to class method [PrefsController registerUserDefaults], which is called from [HBController init]. This fixes problem with preferences when using HB for the first time, or after deleting the user defaults file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@599 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Typo fix and test of commit rights.cleaner2007-06-051-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@598 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make Debug window non editable.dynaflash2007-06-042-2/+2
| | | | | | - can still copy and paste contents, but cannot edit it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@597 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add stdout to the Debug Inspector windowdynaflash2007-06-041-1/+4
| | | | | | - thanks again to Cleaner git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@596 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: update scancontroller to help fix the HB floating window issue.dynaflash2007-05-301-31/+18
| | | | | | -Thanx Cleaner git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@595 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: switches the x264 option widgets for mixed-refs, weightb, brdo, ↵jbrjake2007-05-275-137/+86
| | | | | | | | bime, b-pyramid, no-dct-decimate, and no-fast-pskip to be checkboxes, which makes more sense than popup buttons for booleans. I've never worked with switches before, so hopefully I didn't break anything. Also never checked in this many GUI changes at once. So maybe I did break something =) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@594 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds deblocking widgets for the x264 advanced options tab. God this ↵jbrjake2007-05-225-7/+97
| | | | | | one was a pain. Haven't decided yet whether to include a boolean to turn deblocking on and off. Not sure where I'd stick it right now, at least. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@593 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Debug Window to read libhb output like cli in inspector windowdynaflash2007-05-2114-15/+475
| | | | | | | | | | | - Thank You Cleaner!! - Adds Debug Output to Window menu - Adds Verbose pref to preferences menu - MacGui now reads output from libhb like cli - May add pref to open Debug Output window upon launch - All credit goes to Cleaner, Thank You! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@592 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: finishes out the b-frame x264 options by adding widgets for bime and ↵jbrjake2007-05-194-2/+151
| | | | | | direct-pred. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@591 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove x264 option "No DCT-Decimate" value from option strings for ↵dynaflash2007-05-181-2/+2
| | | | | | | | any Built In HB Presets as they all use a target bitrate as per jbrjake. Please update built in presets for this to take effect. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@589 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds x264 option widgets for b-rdo, weight, and b-pyramid. And a ↵jbrjake2007-05-165-3/+107
| | | | | | little layout reorganization to take advantage of the space freed up by dynaflash's last commit. Yes, I know the dividing lines are ugly. They are temporary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@588 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: move "Duration" to the title/chapter line for source and move ↵dynaflash2007-05-163-2/+3
| | | | | | | | "Output" section up into that space. Increase the height of the tabbed views to free up space for more tabbed info. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@587 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds x264 option widget for merangejbrjake2007-05-155-3/+43
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@586 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix file suffix creation for .ogm (the break was misplaced in the ↵jbrjake2007-05-151-2/+2
| | | | | | | | case statement, so it'd always be null instead of .ogm). Thanks for pointing it out, cleaner! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@585 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use subq for subpixel motion estimation instead of subme. This helps ↵jbrjake2007-05-151-2/+8
| | | | | | | | avoid those string-searching issues touched on in the past two commits. This will have to be revisited when I add a "bime" option, because that will probably conflict with what dynaflash added in the last commit to sort this problem out. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@584 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: fix bug in Advanced x264 option widgetsdynaflash2007-05-151-3/+11
| | | | | | | | Modify the test to see if an optName already exists to avoid conflict with similar name patterns in the -X264AdvancedOptionsChanged: method where we test for the presence of the optNameToChange in the existing string. This change starts on line 2215. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@583 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: x264 options widget for motion estimation. This is the first widget ↵jbrjake2007-05-155-9/+129
| | | | | | | | to use strings for values instead of numbers, so it's a little wonky. Right now, if you don't have a motion est. value specified, but you do have another option with "me" in the name (like "subME" or "b-fraMEs"), the widget will be unresponsive. Hopefully I'm not accidentally breaking anything with this commit. Had to revert, update, and rewire some stuff after I tried to commit and realized I'd missed a revision. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@582 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: more cosmetic whitespace changes for the x264 option stuff in ↵jbrjake2007-05-151-151/+157
| | | | | | controller.mm git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@581 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: pretty up the x264 option section of controller.mm by using uniform ↵jbrjake2007-05-151-232/+237
| | | | | | white space (soft 4-space tabs) and adding a few carriage returns in clutch places for human legibility. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@580 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: Fix broken connection from previous commitdynaflash2007-05-103-5/+4
| | | | | | - add preset panel outlet wrong type. is now back to NSPanel git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@579 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: adds mixed-refs pop-up for the advanced x264 options.jbrjake2007-05-105-3/+34
| | | | | | In the future I'll commit more than one widget at a time, but I wanted a little template changeset I can reference for further additions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@578 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Advanced Tab only shows x264 opt widgets when x264 is selected as ↵dynaflash2007-05-095-11/+33
| | | | | | | | | the codec. Otherwise, displays a message to that effect. - Put the x264 options in a custom NSView which hides it and its contents unless x264 is selected - add field at the top to show the status of the Advanced Tabs contents which is triggered in the - CodecsPopUpChanged method. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@576 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Main Window Layout Changedynaflash2007-05-092-1/+1
| | | | | | | - Moved the Codecs popup from below Format to the right of Format. They are now on one line. - Expanded the height of the NSTabView to allow for more controls in each tab git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@575 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: here's the .nib part of the r573 commit, which didn't take.jbrjake2007-05-092-1/+1
| | | | | | ::shakes fist in rage at RapidSVN:: git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@574 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rearranges the x264 option widgets in preparation for adding more, ↵jbrjake2007-05-091-6/+6
| | | | | | and gives them tool tips so they're a little more accessible to the average user. Oh yeah, and instead of "Unspecified" I've hard-coded in for display what the default option values are. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@573 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Advanced Options tabdynaflash2007-05-081-0/+8
| | | | | | - fix bug where setting an option when the string field is empty caused a malformed value. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@572 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: Advanced Tab - Initial Implementationdynaflash2007-05-085-8/+368
| | | | | | | | | | | | | | | | | | - add gui "widgets" to control the x264 advanced option string. - Not all options are "widgetized" yet. - Modifies those it has widgets for, leaves the rest of the string intact. - This rev, only sets opts that have an integer value. - Adding widgets requires adding values to controller.h as well as these methods in controller.mm: -X264AdvancedOptionsSet: adds the actual values for the given outlet in the nib -X264AdvancedOptionsStandardizeOptNames: standardizes the opt names that have multiple connotations -X264AdvancedOptionsSetCurrentSettings: Reads and sets the widgets according to the current string whether pasted in by user, set by preset, or set by field in preferences -X264AdvancedOptionsChanged: Changes the string based on the widget used, including "Unspecified" which just removes it from the string altogether. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@571 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Updated the input channel layouts to store the source LFE information as ↵maurj2007-05-061-6/+7
| | | | | | | | | well as the non-LFE layout. This is so muxavi.c can output the correct channel count for AC3 passthru for all AC3 sources. Updated Controller.mm, scan.c and work.c to use these revised layouts. Added a new property to the work object, to remember the source audio codec for audio work objects. This enables encfaac to detect an 6-channel AC3 source to apply the QuickTime 6-channel audio mapping (as opposed to a DTS source, which doesn't need it). Fixed the Dolby Pro Logic I/II downmix mappings in libdca and updated the libdca patch. Uploaded a new set of pre-built darwin contribs (0014) with this patch applied. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@570 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Enabled DTS channel mixdowns by moving to a more generic input channel ↵maurj2007-05-041-26/+12
| | | | | | layout set of constants. Updated Controller.mm to use these generic input layout constants when deciding which mixdowns to offer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@565 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Added support for DTS audio. DTS audio streams (of 5.1 audio and below) ↵maurj2007-05-021-0/+22
| | | | | | | | | will be detected and decoded. This requires a new library - libdca (and patch) - which is included (in patched form) in a new version of the pre-built UB Darwin contribs (0012). These have been uploaded to download.m0k.org/handbrake/contrib/ . I haven't yet added any code to Controller.mm to recognise the DTS streams as supporting mono / 6ch DPL1 / DPL2 downmixes. Note: running Jam on the new library required me to update some tools on Mac OS X - possibly libtool, autoconf, automake. Not sure which made the difference, but these were the ones I updated. it won't jam successfully without this. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@559 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: x264 Advanced preset strings, if user has specified a default string ↵dynaflash2007-04-301-33/+33
| | | | | | | | in prefs, it is used and the most recent one (whether manually entered or from a preset) is not used. -Built in presets now use all values in their dictionary to make the .plist more compatible for export to the CLI git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@557 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Advanced Tab initial implementationdynaflash2007-04-305-61/+48
| | | | | | | | | | | - Sets groundwork for more robust x264 advanced options implementation - currently strings are displayed and editable via textfield for x264 encodes - for right now, the x264 string from preferences is ignored, need to figure out best way to implement that string. - New Preset now takes the value from that field in advanced, negating the need for the field in "Add new Preset" window. - NOTE: this also implements the new "Use Picture Settings" in presets to allow for "None", Use Current","Use Max from source". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@556 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: Change the Growl encode done notification to be the same as the ↵dynaflash2007-04-271-1/+1
| | | | | | onscreen notification. Thanks jbrjake! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@555 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: Growl Support initial implementationdynaflash2007-04-2713-16/+1766
| | | | | | | | | | - include Growl.framework in xcode project - Growl notify when encode is done - fix cancelled encode finished bug - may want a user pref to let them select if they want a notification and what type, on screen or grow. or both - right now, its both. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@554 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macGui: Encode Done Notification initial implementationdynaflash2007-04-262-11/+15
| | | | | | | - System alert sound as well as an NSAlert window to notify the user their encode is completed. - No dock icon bounce yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@553 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets and Main Menudynaflash2007-04-253-2/+69
| | | | | | | | | - Add PSP built in preset for jbrjake ;) - Move "Presets" main menu item to the left of "Window" - Use "Update Built-In Presets" to use PSP preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@551 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue modificationsdynaflash2007-04-255-33/+26
| | | | | | | | | | | - Queue is now integral to encoding - removed "Enable Queue" Checkbox - made "Add to Queue" and "Show queue" always usable - Rip method in controller.mm always calls addToQueue even for one rip, but then automatically rips it. - Added queue status field. - fixes bug in 0.8.5 where having queue enabled and clicking rip with nothing in the queue causes HB to do nothing. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@550 b64f7644-9d1e-0410-96f1-a4d463321fa5