summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.m
Commit message (Collapse)AuthorAgeFilesLines
* Gardening: Clean up trailing whitespaceNomis1012019-11-041-2/+2
| | | | Remove trailing whitespace in "*.c", "*.m", "*.h" and "*.cpp" files.
* Improve preview window sizing.Damiano Galassi2019-10-051-54/+60
|
* MacGui: enable and fix more warnings. Review nullability annotations.Damiano Galassi2019-08-121-5/+5
|
* MacGui: add touch bars in the preview window, improve touch bars in the main ↵Damiano Galassi2018-10-101-4/+3
| | | | and queue windows.
* MacGui: fix another round of deprecation warnings. Remove drawer code.Damiano Galassi2018-06-101-2/+2
|
* Fix: fix another deprecation warning and add a missing alloc message.Damiano Galassi2018-06-091-8/+9
|
* MacGui: improve NSLocalizedString comments.Damiano Galassi2018-06-091-21/+15
|
* MacGui: set the minimum deployment target to 10.10. Remove Growl and use ↵Damiano Galassi2018-06-081-5/+0
| | | | macOS standard notifications. Remove deprecated API usage and code that doesn't compile anymore (QTKit).
* MacGui: fix preview HUD initial position if the window size is different ↵Damiano Galassi2016-12-241-1/+1
| | | | than the default one.
* MacGui: fix build with 10.12sdk, disable QTKit because is no longer available.Damiano Galassi2016-06-171-0/+4
|
* MacGui: fallback to QTKit if a preview is not playable with AVFoundation.Damiano Galassi2016-05-191-27/+38
|
* MacGui: use AVFoundation as the first option for the preview playback. Add ↵Damiano Galassi2016-05-031-562/+215
| | | | volume and tracks controls to the player hud.
* MacGui: do not stop the preview encoding when the showWindow: is called and ↵Damiano Galassi2016-04-221-1/+3
| | | | the window is already on screen.
* MacGui: do not set the preview window frame origin to a value outside the ↵Damiano Galassi2016-04-091-4/+1
| | | | screen area.
* MacGui: pass the main window undomanager to the preview window.Damiano Galassi2016-01-151-0/+30
|
* MacGui: fix the picture panel not updating correctlyDamiano Galassi2015-10-101-1/+7
|
* MacGui: fix the preview window position between restartDamiano Galassi2015-10-091-1/+19
|
* MacGui: fix the build on Xcode 6.4 for realDamiano Galassi2015-10-081-2/+2
|
* MacGui: move some code out of HBPreviewController.m. Remember the windows ↵Damiano Galassi2015-10-061-350/+160
| | | | size when going back from the Scale To Screen mode
* MacGui: read the actual preview count so we don't try to load a non existing ↵Damiano Galassi2015-09-291-0/+5
| | | | image
* Remove a workaround for the 10.6 sdkgalad872015-08-251-6/+0
|
* MacGui: move the picture and filters settings to the main window.ritsuka2015-07-271-1/+23
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7379 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove che previews cache in HBPreviewGenerator when a setting ↵ritsuka2015-05-131-3/+0
| | | | | | changed and not in HBPreviewController git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7173 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: run the Xcode "convert to modern objective-c" on the entire project.ritsuka2015-04-091-5/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7075 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: changed the Preview Window and Picture Panel behaviour to avoid the ↵ritsuka2015-04-071-9/+17
| | | | | | hide and show thing when loading a new title, now they can always be opened even if no title is loaded. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7065 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: clean up the preview controller, and fix the preview not updating ↵ritsuka2015-03-171-29/+26
| | | | | | when a new title is selected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6998 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: convert the mac gui to Objective-C ARC.ritsuka2015-03-171-32/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: properly deregister the job observers, and refactor a bit the ↵ritsuka2015-02-041-30/+28
| | | | | | HBAudioTrack notification. Refactored HBPreviewController to take a single HBPreviewGenerator instance in input. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a method to return a CGImageRef for a preview in HBCore, and ↵ritsuka2015-01-261-2/+2
| | | | | | skip the alpha to use less memory. Use a dispatch_source as a timer in HBCore so we will be able to run the update loop on its own thread. Remove the pointer to hb_handle_t, no class outside HBCore uses it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6816 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: enable and fix more compiler warnings in the Xcode project.ritsuka2015-01-191-7/+7
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6772 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: simplify the toolbar/menu validation methods, plus some cosmetics.ritsuka2015-01-141-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6748 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: reorganize createMovieAsyncWithImageIndex:andDuration: method. and ↵ritsuka2015-01-131-4/+5
| | | | | | add an additional check before switching the preview window HUD. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6740 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove some unused #import. Move again more things in HBController ↵ritsuka2014-12-231-3/+5
| | | | | | to HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6644 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the last usage of title->job.ritsuka2014-12-211-1/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6636 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: integrated HBPicture in HBPictureController and started to move ↵ritsuka2014-12-201-62/+30
| | | | | | things over to HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6628 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add json APIsjstebbins2014-12-161-6/+6
| | | | | | | | | | There are several changes to job and title structs that break current windows interop code. The interop code should be changed such that it only uses json APIs. So if there is any missing features (or bugs) in these APIs, please let me know. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6602 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: when a live preview is cancelled, wait for libhb to end its work ↵ritsuka2014-09-191-2/+8
| | | | | | before reverting back the hud. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6418 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed the preview controller HUD style on the next OS X release.ritsuka2014-08-221-19/+73
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6347 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
* macui/cli/libhb: cleanupjstebbins2014-06-181-3/+3
| | | | | | | | | | | | macui: Simplifies code in Controller.m and fixes a few bugs macui: Fixes "Windows 8 Phone" preset aspect ratio problem macui: round up to next mod boundary when limiting to title dimensions - crop libhb: Eliminates hb_fix_aspect and hb_set_size functions. libhb: Makes hb_validate_size a passthru to hb_set_anamorphic_size cli: eliminage use of hb_validate_size git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6215 b64f7644-9d1e-0410-96f1-a4d463321fa5
* macui: fix PcitureController geometry calculationsjstebbins2014-06-101-70/+24
| | | | | | | | simplifies the code and makes it work better also updates preview window size calculations git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6209 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Release the cached images when the preview window is closed.ritsuka2013-12-031-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5912 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Refactor HBPreviewController. Rename the actual class to ↵ritsuka2013-11-041-1096/+726
| | | | | | HBPreviewController, and move the image and video creation code to a separate HBPreviewGenerator class. Update the preview duration list as Rodeo suggested. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5874 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: refactor PictureController. kill a bit of dead code (~500 lines), ↵ritsuka2013-11-021-6/+14
| | | | | | switch some ivars to properties, hide the private methods and rework the deinterlace logic. Plus UI alignment. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5869 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Read events from the mouse scroll wheel in HBPreviewController.m to ↵ritsuka2013-08-041-0/+17
| | | | | | change the preview image. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5690 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Don't expose rate, mixdown, dither and encoder arrays to the UIs.Rodeo2013-05-301-2/+2
| | | | | | | | | | | | | | | | | | | | - instead, make these lists available through enumerators: --> hb_*_get_next(<type> *last); - this should give us more flexibility to populate the lists at runtime, using the implementation(s) of our choice, whether they use arrays or not, without requiring UI modifications - use consistent naming for getters --> hb_get_best_foo() becomes hb_foo_get_best(), and so on - hb_*_get_from_name() and hb_*_ sanitize_name() sanitize the requested value to a supported one if it's unavailable - adds an additional, passthru-specific fallback mechanism - adds a list of video containers git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5526 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Fix a crash that happens when the Preview window backingScaleFactor ↵ritsuka2013-03-191-1/+2
| | | | | | changes but the title is not set. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5344 b64f7644-9d1e-0410-96f1-a4d463321fa5
* hb_system_sleep: refactoring.Rodeo2013-03-181-3/+3
| | | | | | | | | | | | Also: - release power assertions before freeing them - actually free the power assertions in hb_close() (previously unused) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5340 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: improve hb_system_sleep support.Rodeo2013-03-181-4/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5338 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Live Preview extend the live preview maximum duration to 240 seconds ↵dynaflash2013-02-191-0/+8
| | | | | | | | ( 4 min.) from the previous 120 seconds ( 2 minutes). - Uses 15 second incremements as previous. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5258 b64f7644-9d1e-0410-96f1-a4d463321fa5