summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.mm
Commit message (Collapse)AuthorAgeFilesLines
* MacGUI: Fix toolbar item leaks for main and preferences windows. Patch by ↵ritsuka2008-05-071-3/+2
| | | | | | blindjimmy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1453 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Remove the "toolbar" variable from Controller. Patch by blindjimmy.ritsuka2008-04-261-13/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1446 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Generate the Application Support path using API calls. Patch by ↵ritsuka2008-04-261-14/+14
| | | | | | blindjimmy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1445 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Add a return type to controller's init method. Patch by blindjimmy.ritsuka2008-04-261-1/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1444 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Remove last traces of "_" macro and TranslateString. Patch by ↵ritsuka2008-04-261-38/+20
| | | | | | blindjimmy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1443 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: make sure to strip off any source file extensions from the output ↵dynaflash2008-04-251-19/+20
| | | | | | | | | file name. - Fixes an issue where a .mpg file would come out as "mymovie.mpg.mp4" in the destination field. - Also cleans up some formatting in my previous commit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1441 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio Tab - Make sure that selecting a subsequent audio track does ↵dynaflash2008-04-251-0/+28
| | | | | | not re-enable the sample rate, bitrate, and drc settings on a previously selected AC3 Passthru track. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1440 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: only enable audio tracks if the previous tracks have been chosen.dynaflash2008-04-241-3/+34
| | | | | | - prevents a scenario in which you could have track 1 and track 4 selected with 2 and 3 as "None". git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1435 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: replace handbrake.m0k.org references with handbrake.fr in the entire ↵dynaflash2008-04-151-1/+1
| | | | | | macosx/ directory git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix AC3 Passthru bitrate setting in audio tab when using a legacy ↵dynaflash2008-04-141-31/+33
| | | | | | | | | preset from the old audio system. - Now properly sets the source track input bitrate as the output bitrate in the NSPopUpButton so it displays correctly in the audio tab as well as the queue and allows you to make new presets from an older one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1414 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Get rid of some harmless warnings in Controller.mm during compiling.dynaflash2008-04-111-11/+18
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1403 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Do not call customSettingsUsed until we have an intelligent way to ↵dynaflash2008-04-101-1/+4
| | | | | | determine selected audio variables compared to presets so that presets stay selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1399 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implement per audio track drcdynaflash2008-04-081-19/+103
| | | | | | | | - Uses a small circular slider for each track - Stops on ticks for .25 granularity - Presets regress from global drc to apply it to all tracks if used in past custom preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1397 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix broken Add Preset function for adding custom presets.dynaflash2008-04-081-27/+36
| | | | | | - Was broken in rev 1385 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1396 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Sanity Check AC3 passthrough against any input audio that is not AC3.dynaflash2008-04-081-2/+2
| | | | | | - Previously only sanity checked against DTS. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1395 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Enhance Growl notifications and send to metaX so that each encode is ↵dynaflash2008-04-071-29/+32
| | | | | | | | handled as it comes off of the queue. - Previously only the last encode of a queue gave the finished growl notification and was sent to metaX. Now if specified by the user they happen as the encodes progress through the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1388 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix the DTS source audio mixdown for an attempted AC3 passthru audio ↵dynaflash2008-04-071-3/+26
| | | | | | | | | track - Since AC3 Passthru will not work with a DTS audio source track, we us mp3 dpl2 for avi and aac dpl2 for mkv and mp4. - Revert HandBrake.plist to pre 1385 as it was errantly checked in with that commit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1386 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implement per track audio settings.dynaflash2008-04-071-472/+906
| | | | | | | | | | | | | | | | | | | | - Expands the number of audio tracks the macgui can encode to 4. - Everything except drc is now set on a per track basis - Be Gone self limiting "Codecs" PopUp ! - Can now use any audio codecs that the container will support in the same encode - The previous "AAC + AC3" bizarre hybrid is now deprecated and you simply set them up per track - Implement full audio list readout in the queue, tracks are now show one per line in a list like fashion - Queue is no longer hard coded for just two tracks. - Preset code updated to regress to handle previous presets that utilized the codecs popup to determine audio scheme to use - Preset code now handles everything except language selection. - The Format, Video Encoder and Audio codes are all now stored in the appropriate NSPopUp tags for very easy retrieval. - Crazy format, codecs struct is now gone as we get that from the tags. - AC3 Passthru properly shows the input bitrate and 48 khz samplerate in the appropriate popups - Added Theora video encoder to OGM container - Added libtheora to the libhb dylib - NOTE: The check against trying to use AC3 Passthru on a DTS track is broken on the encoder popup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1385 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where a new encode would retain one audio track from the ↵dynaflash2008-04-021-1/+2
| | | | | | previous encode if there was one. Bug introduced in rev 1367. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1369 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix audio issue where both tracks would use the first source audio ↵dynaflash2008-04-021-4/+4
| | | | | | track regardless of what source track was chosen. Bug introduced in rev 1367 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1368 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Update to use the new audio layout.saintdev2008-04-011-159/+205
| | | | | | | This only updates the current interface, nothing new added. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1367 b64f7644-9d1e-0410-96f1-a4d463321fa5
* "If one would give me six lines written by the hand of the most honest man, ↵jbrjake2008-03-221-10/+65
| | | | | | | | | | I would find something in them to have him hanged." - Banishes libdvdcss, removing DVD decryption from HandBrake's binaries. - For decrypttion, the MacGui and Mac CLI now will load at runtime VLC's dynamic library of dvdcss if the media player's available on the user's system. - Linux users can build with a statically linked lib of dvdcss by using ./configure --libdvdcss, which will download it from a remote third party (videolan.org). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1354 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Write version info the the activity log and activity windowdynaflash2008-03-171-0/+4
| | | | | | | - writes the Handbrake version number and build number to the activity window and log text file upon startup (this no longer occured out of libhb once we updated the update system to Sparkle) - Add writing the version info upon clearing of either the log file or the window, this way we have version info from users even if they have cleared the top of the logs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1344 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Clean up some formatting and errant comments left over from some of ↵dynaflash2008-03-071-17/+12
| | | | | | the snippets I robbed out of HBQueueController on the drag and drop preset commit. :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1335 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Initial implementation of drag and drop in the presets drawer.dynaflash2008-03-071-6/+158
| | | | | | | | | | - Allows drag and drop arrangement of custom user presets - Does not allow reordering of built in presets. - Sorting of presets now done only by type ie. built in and custom user. - Provides functionality for future nested presets and drag and drop arranging. - Subclasses the presets outline view for better control over drag and drop behavior git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1334 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Presets - change the cursor highlighted color of the preset name to ↵dynaflash2008-03-061-1/+1
| | | | | | black, so when changing the name, you can see the letters. The old white made it almost impossible.... duh! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1331 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where renaming a preset does not reflect the new name ↵dynaflash2008-03-061-12/+5
| | | | | | | | | immediately in the preset drawer - call [fPresetsOutlineView reloadData]; - use "-sortPresets" method instead of sorting it in its own method git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1330 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: move the presets sorting into a new method "-sortPresets" so it can ↵dynaflash2008-03-061-5/+11
| | | | | | be done independently of adding a preset in preparation for drag and drop preset arranging capability. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1329 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where prepareJob was not sensing MKV in the Format popup ↵dynaflash2008-03-051-1/+1
| | | | | | | | | | | correctly. - Takes care of the no mkv chapter issues reported here: http://forum.handbrake.fr/viewtopic.php?f=12&t=5120 - Thanks for the diagnostic testing and bringing it to our attention simoncoul ! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1327 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Be Gone rotten 64-bit preferences check. Be Gone!dynaflash2008-02-211-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1312 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Un-Banish the 64 bit mp4 checkbox from the Siberia known as the ↵dynaflash2008-02-211-16/+4
| | | | | | | | preferences now that we have a device and a preset designed specifically for 64 bit mp4's. - Don't say it jbrjake :) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1310 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix and issue for auto adding the .m4v file extension for the aac + ↵dynaflash2008-02-211-9/+17
| | | | | | | | ac3 encoder for mp4 where reselecting mp4 format would reset the extension back to .mp4 and not .m4v - Moves this to a new method called codecsPopUpChanged: so it is easier to call form multiple methods git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1309 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix issue where canceling the open source window, then re opening it ↵dynaflash2008-02-211-2/+2
| | | | | | | | and selecting a source or cancelling is could cause a crash. - Patch courtesy of Xeri git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1308 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Change Home Page, Forum, and Wiki links in the help menu to use ↵0.9.2dynaflash2008-02-191-3/+3
| | | | | | handbrake.fr git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1303 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: As per newer vfr implementation. No longer disable the framerate ↵dynaflash2008-02-191-7/+1
| | | | | | popup and no longer force it to 29.967 fps. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1295 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Sanity check the input codec is AC3 when selecting AC3 pass through to avoid ↵eddyg2008-02-181-1/+1
| | | | | | crash when it is mpega or lpcm etc. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1290 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make sure that mp4's using ac3 passthru whether by itself or in ↵dynaflash2008-02-181-0/+9
| | | | | | combination with aac use the .m4v file extension as otherwise quicktime will not play it at all. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1286 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix DPL2 + AC3 mixdown crash if the input audio source is DTSdynaflash2008-02-171-1/+1
| | | | | | - Since DTS cannot pass thru AC3, revert to just DPL2 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1275 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Change aac/ ac3 hybrid to utilize the codecs popup and only offer ↵dynaflash2008-02-161-8/+25
| | | | | | | | | | one mixdown for each additional choice. - adds AVC h.264 / AAC + AC3 Audio and AVC h.264 / AC3 - First corresponds to the dpl2 + ac3 passthru mixdown - Second corresponds to the AC3 pass thru mixdown git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1272 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Mcdeint is broken, so avoid using it as a deinterlacer. No more "Slowest," ↵jbrjake2008-02-161-17/+26
| | | | | | "Slow" becomes yadif without spatial checks, "Slower" becomes yadif with spatial checks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1269 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow mac gui to select AC-3 + AAC at the same time, still needs CLI work ↵eddyg2008-02-161-4/+59
| | | | | | for the same. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1267 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Allow multiple output audio tracks from a single DVD audio track.eddyg2008-02-151-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1266 b64f7644-9d1e-0410-96f1-a4d463321fa5
* AC3 from DVD via HB converted to M4V for viewing on ATVeddyg2008-02-141-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1261 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the preference to turn off verbose output in the activity window.dynaflash2008-02-131-4/+2
| | | | | | | | - non verbose output is of no use whatsoever to the macgui - uses "HB_DEBUG_ALL" for hb_init - removed preference from preferences window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1259 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix picture sizing issue in presets where creating a preset using an ↵dynaflash2008-02-071-2/+13
| | | | | | HD source (ie. 960 x 544) and then using that preset on a smaller source (ie. dvd) would cause the smaller source to be upscaled to the larger size. Now preset is restricted to scale no larger than the current source regardless of size when it was created. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1252 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add the Forced subtitles checkbox to custom user presetsdynaflash2008-02-071-0/+5
| | | | | | | | - uses [preset setObject:[NSNumber numberWithInt:1] forKey:@"SubtitlesForced"] to turn the forced checkbox on in the preset - Not added to any built in presets - checkbox is unchecked for any preset that doesnt explicitly have it set. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1251 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix bug where switching titles with vfr on changes the framerate ↵dynaflash2008-01-231-4/+3
| | | | | | | | from 29.97 which is required by vfr. - Note: mostly cosmetic to the gui as libhb is pretty much ignoring the framerate specified by the gui when vfr is on anyway. But the gui should reflect as much as possible what libhb is doing behind the scenes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1233 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: comment out two unused variables from legacy update system to quell ↵dynaflash2008-01-221-2/+3
| | | | | | build warnings, will remove completely after 0.9.2 is released. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1229 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove one last section of code which generated the old update alert ↵dynaflash2008-01-221-14/+0
| | | | | | window, duh! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1226 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Remove deprecated -updateAlertDone method used in the old updating ↵dynaflash2008-01-221-31/+9
| | | | | | | | scheme - Deprecated due to the Sparkle updater implementation git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1225 b64f7644-9d1e-0410-96f1-a4d463321fa5