summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.mm
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: fix frame rate mode description in the queue.ritsuka2015-01-121-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6737 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix the number of pass in the job queue description.ritsuka2015-01-101-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6717 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: rename HBAudio class to HBAudioTrack.ritsuka2015-01-091-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6696 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a bunch of regressions (various crash when in some textfields, ↵ritsuka2014-12-301-5/+14
| | | | | | encode log going to the wrong directory). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6676 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: move more things out of HBController.ritsuka2014-12-281-5/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6664 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix the reveal button in the queue.ritsuka2014-12-271-13/+11
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6659 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change the queue to work with serialized HBJob objects, remove the ↵ritsuka2014-12-271-213/+215
| | | | | | 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: moved the HBQueueOutlineView class to its own file.ritsuka2014-11-231-88/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6539 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: modified the way the queue contextual menu selects its target. It ↵ritsuka2014-11-011-8/+39
| | | | | | now uses the clicked row index. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6492 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: store the audio and subtitles defaults in each queue item so they ↵ritsuka2014-08-251-6/+7
| | | | | | can be loaded back from the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6360 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: replaced the last two NSBeginCriticalAlertSheet calls, and two ↵ritsuka2014-08-231-42/+39
| | | | | | NSEnumerators. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6350 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remapped lavcOption to VideoOptionExtra.ritsuka2014-08-211-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6337 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: generalize video preset/tune/profile/level handling to make it works ↵ritsuka2014-08-211-16/+16
| | | | | | with the x265 encoder. Moved the lavc encoder options textfield to the video tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6334 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: general clean up of HBQueueController: removed unused UI elements ↵ritsuka2014-08-181-293/+179
| | | | | | and code, moved the toolbar to the xib, update the obj-c syntax. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6306 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: simplified the way the audio tracks are stored in the queue.ritsuka2014-08-041-32/+24
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6267 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Implemented a configuration panel similar to the win/lin gui one for ↵ritsuka2014-07-291-22/+16
| | | | | | | | | | the subtitles defaults, and added some more options from the other guis (add all, remove all). The SubtitleAddForeignAudioSubtitle setting will be added later after the automatic audio selection is done. Fixed a bug where HandBrake used 50% of cpu time if the subtitles table view was selected. Refactored a big part of HBSubtitlesController to make it works with the new automatic options and to cleaned the table view data source. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved two methods used by the whole app to HBUtilities.m:ritsuka2014-07-161-1/+2
| | | | | | | - appSupportPath: - writeToActivityLog: git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Varius warnings fixes:ritsuka2013-10-251-1/+3
| | | | | | | | | | - 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: fixed a number of leaks/null-deferences/dead-code found by clang ↵ritsuka2013-10-151-34/+46
| | | | | | static analyzer. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5838 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: calculate the actual height of the queue rows. Align the interface ↵ritsuka2013-08-181-119/+13
| | | | | | elements a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5711 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: simplify queue display code.Rodeo2013-04-121-186/+29
| | | | | | | | | | | | | 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: don't mention grayscale twice in the queue display.Rodeo2013-04-121-5/+0
| | | | | | | | Since it's mentioned in the filter summary, we don't need to repeat it in the picture summary. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5394 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Update the in-app icons to the new graphicssr552013-03-181-8/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5342 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: more refactoring, bugfixes.Rodeo2013-01-021-44/+31
| | | | | | | | Apologies if anything breaks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5131 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Initial x264 presets implementation.dynaflash2013-01-011-5/+50
| | | | | | | | | - Note: HB Built-ins are not updated as needs more testing - Backwards compatible afaik for older presets including custom. - Queue Item editing function needs to be updated yet. - Preset import/ export will probably need work as well especially since some kvp's seem to still be up in the air. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5126 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: fix stupid bug introduced in revision 4633.Rodeo2012-05-031-0/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4634 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: lots of stuff I forgot to to in revision 4627, plus a minor code ↵Rodeo2012-05-031-49/+50
| | | | | | cleanup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4633 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix an issue where lavc options were shown and passed when Theora ↵dynaflash2012-02-191-1/+3
| | | | | | was chosen. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4457 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add ffmpeg (lavc) advanced options text box to the advanced panel.dynaflash2012-02-091-1/+21
| | | | | | | - Fix a couple other traps for x264 opts as well. - Add lavcOption Key to the presets as per the LinGui to maintain preset parity. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4443 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add Auto Passthru support.Rodeo2012-01-241-4/+79
| | | | | | | | | | By default, all available passthru codecs are allowed, and the fallback is the AC3 encoder. Advanced settings can be enabled in Preferences > Audio, but are disabled by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4419 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: add "Fast" decomb option.Rodeo2011-12-081-1/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4374 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio Gain Control initial implementationdynaflash2011-05-261-3/+7
| | | | | | | | | | | | | | - Adds a Circular Slider to implement gain from a range of -5 to +15 which is sane by any reasonable measure. - Note: the circular slider with this range puts the default of 0.0 at the three o'clock position on the slider which is kind of wonky. Any ideas to make it more intuitive are welcome. -The accompanying text field readout is left editable so values beyond the sliders range can be specified manually. - Gain is disabled for any passthru options obviously. - Though it has been in cli and lingui for some time, as a note my tests show that anything above +15 can get distorted quite easily. Of course that is open to opinion depending on source, I have yet to see a complaint about the volume of encoded audio being too high but we leave up to -5 there just for the corner cases. - Any existing presets not specifying gain will use a gain of 0.0 which means of course its unmodified. - Also as a sidenote takes care of blindjimmy's patch https://reviews.handbrake.fr/r/99/ as far as /macosx/HBQueueController.m git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4000 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change key for video framerate mode from VideoframerateMode to ↵dynaflash2011-04-281-2/+2
| | | | | | | | VideoFramerateMode to match the lingui. - Good catch Rodeo ... thanks! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3967 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: implement Frame Rate Mode as per the Lingui.dynaflash2011-04-151-6/+6
| | | | | | | - Removes the current Peak Framerate checkbox and replaces it with appropriate Radio Buttons depending on if Same as Source or a specific framerate is chosen in the Frame Rate popup widget. - Gets the macgui up to speed with https://trac.handbrake.fr/changeset/3770 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3930 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make the queue window's wording match that of the main window.dynaflash2011-03-311-2/+6
| | | | | | - Patch by Rodeo. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3892 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Audio ... Allow more than 4 audio tracks.dynaflash2010-09-151-126/+42
| | | | | | | | | | | | | | - Patch courtesy of circleone ... Thanks! - Use a NSTableView to dynamically add/delete audio tracks ala the Subtitle tab. - Sets a 24 track limit until someone tests more than 24 tracks (the libhb 8 track limit was removed as per http://trac.handbrake.fr/changeset/3531). - Replaces the old static 4 tracks to a dynamic array. - Moves macgui audio handling to a separate class. Known caveats: - Borks queue editing which needs a revamp anyway. - Queue window display needs to be adjusted to show more than 4 tracks appropriately. Again, its cosmetic and is not a show stopper. - There may be other possible unknown side effects even though tested on all presets. That said, I feel it needs to get in so that we can get feedback from nightlies. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3532 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix how we get the current instances pid number since ↵dynaflash2010-07-191-2/+5
| | | | | | | | | | NSRunningApplication is a 10.6 only api and therefore breaks 10.5 compatibility (which also borked the nightly build). - Many thanks to ritsuka for pointing this out. - Also adds ability to get the full path to each running instance if we need it in the future. - Note: Adds additional logging to hbInstances which can be removed when we see fit. But for now imho could be useful since we are early in multi-instance queue encoding. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3450 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Initial implementation of new queue sync code which allows ↵dynaflash2010-07-171-46/+46
| | | | | | | | | | | | | | | | | | multi-instance encoding. This allows more than one instances of HandBrake.app to run off of the same queue file. In the case of multi-instance use these changes occur in the queue window: - The delete icon for a given queue item does not exist in the queue window if another instance is doing the encoding. - The encoding icon does not spin if another instance is doing the encoding. - As before if the queue window is for the instance doing the encoding on that item it will be animated and "spins". - The queue window status readout now also includes the output file name for the file being encoded for that instance. Known bugs: - Drag and Drop queue reordering is somwehat borked. Doesn't corrupt queue but can not allow a drop in some instances. - I have tested this over 20 multi instance encodes and not once had an issue, but anytime more than one instance is writing to the same external file anything can happen. Beware! - The session activity log will of course be full of activity log info from all instances in a multi instance scenario. Individual encode logs are unaffected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3443 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Peak Framerate initial implementationdynaflash2010-06-181-0/+7
| | | | | | | | - Adds a checkbox below the fps drop down to allow selecting pfr as long as Same as Source is not selected. - Checkbox is shows and hides based on the fps dropdown. - Uses job->cfr = 2 instead of 1 to enable libhb's pfr mode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3390 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Adjustable picture modulus: Base patch by BradleyS, Thanks BradleyS!dynaflash2010-02-111-0/+2
| | | | | | | - Enables setting modulus for all anamorphic modes (including non-anamorphic) except strict. The job variable "anamorphic.modulus" is repurposed for this and is renamed to simply "modulus" - Other changes: Increases minimum output dimensions to 32x32 pixels in libhb (prevents possible crashes, notably in macgui). Better crop value and maximum crop value calculations to prevent crashes. Some code optimization / refactoring. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3113 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queued item editing initial implementation.dynaflash2010-01-211-4/+46
| | | | | | | | | - Sends a chosen queued item back to the main window for reload ( and rescan ) via contextual menu (right click) - Deletes queued item from queue after being reloaded to main window ( after editing or whatever, send back to queue via Add To Queue Button same as a new source). - New queue window contextual menu also includes delete and show options previously only available via separate icons. - Note: Needs testing particularly in the subtitle area, which is not to say there aren't other bugs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3080 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Interface changes to allow pts or frame based point to point ↵dynaflash2009-12-231-8/+19
| | | | | | encoding on top of our existing chapters based encoding. ... Based upon jstebbins most excellent work. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3042 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Make sure that drc is set to 0 by default (not just in the built in ↵dynaflash2009-11-051-4/+4
| | | | | | | | presets). Patch by Rodeo. - Update the queue readout to only display "Off" for drc when the drc is 0.0 instead of 1.0 ( our previous off ). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2915 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Filtersdynaflash2009-08-261-13/+13
| | | | | | | | - Re order NSPopupButton selections for Detelecine, Decomb, Deinterlace, and Denoise so the first three choices for each are ordered: Off, Custom, Default - Change so off is "Off" instead of "None" - NOTE: This *will* break any custom user presets that use these filters. You will need to recreate them. Built In Presets will be updated properly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2779 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: include deep scan ( subtitle foreign language search) pass ↵dynaflash2009-06-301-4/+9
| | | | | | | | information in both the queue window and on the progress bar for the deep scan pass. - Also removed one queue increment debug log line git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2650 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue - Display varying row heights based on the content of the encode. dynaflash2009-06-231-4/+110
| | | | | | | | - Accommodates varying numbers of subtitles and audio tracks as well as optional lines based on encode settings. - fixes issue where many audio tracks and subtitles can cause the bottom part of the expanded view to get cut off. - Note: seems to be a bit of extra padding especially when using many subtitles, may want to adjust that at some point. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2603 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Queue - Only display audio tracks with a valid track selected ↵dynaflash2009-06-161-17/+28
| | | | | | (removes the useless "None" tracks in the display). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2540 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Multiple subtitle tracks initial implementationdynaflash2009-06-131-0/+34
| | | | | | | | | | | | | | | | | | | | | - Subtitles now get their own tab - "None" track is an empty track, add a new subtitle track by switching it to a valid source track. - First track allows for "Foreign Language Search" which replaces the old "Auto Select". - Remove a previously selected track by setting it back to "None" - Sanity Checks: -- Allow only one Burned In track. -- Text tracks do not allow burned in to be set. -- MP4 specific: --- Allow only one VobSub and force burned in to be set. ---- Trying to set more than one vobsub in mp4 results in a warning, and the first vobsub track is retained. - Presets: Currently subtitles are not recorded into presets (which they never have been). - Live Preview: -- Foreign Language Search is borked for live preview, so is ignored -- Burned in subtitles work for both mp4 and mkv -- Text subtitles work for mp4 if set to default (preview has no way to turn soft subs on/off) -- Text subtitles do not show up in preview window even if checked as default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2530 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: ritsuka2009-03-021-15/+10
| | | | | | | | - Switched some float to CGFloat and int to NSInteger. - Fixed a warning in writeToActivityLog: when compiling with gcc-4.2 - Fixed an issue when dragging items in the queue if the item was not already selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2199 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui; fixed warnings related to 64bit cocoa.ritsuka2009-03-011-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2183 b64f7644-9d1e-0410-96f1-a4d463321fa5