summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: fix a bunch of regressions (various crash when in some textfields, ↵ritsuka2014-12-301-36/+22
| | | | | | encode log going to the wrong directory). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6676 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the preset name to custom when a setting in the ↵ritsuka2014-12-291-1/+8
| | | | | | video/picture/filters tab is changed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6671 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use bindings to toggle the chapters/seconds/frames UI.ritsuka2014-12-291-63/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6669 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: move more things out of HBController.ritsuka2014-12-281-46/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6664 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: clean up headers and imports.ritsuka2014-12-271-1/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6661 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove redundant "enabled" property in a few view controller. ↵ritsuka2014-12-271-41/+32
| | | | | | Cosmetics in HBController. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6660 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: change the queue to work with serialized HBJob objects, remove the ↵ritsuka2014-12-271-1243/+342
| | | | | | 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: remove some unused #import. Move again more things in HBController ↵ritsuka2014-12-231-243/+86
| | | | | | to HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6644 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the chapter titles directly in HBJob. Move more things over to ↵ritsuka2014-12-221-43/+37
| | | | | | HBTitle and HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6642 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed a number of memory leaks. Do not set some deprecated hb_job ↵ritsuka2014-12-221-17/+6
| | | | | | fields. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6637 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove the last usage of title->job.ritsuka2014-12-211-333/+0
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6636 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: refactor a bit of HBController to remove dependency on hb_title_t.ritsuka2014-12-211-241/+175
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6634 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use HBJob when possible.ritsuka2014-12-211-106/+70
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6633 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: integrated HBPicture in HBPictureController and started to move ↵ritsuka2014-12-201-229/+80
| | | | | | things over to HBJob. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6628 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: separate the video settings logic from the view controller. There ↵ritsuka2014-12-181-33/+28
| | | | | | are a number of small regression ("Custom" preset and auto naming not updating) that will be fixed in the next commits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6606 b64f7644-9d1e-0410-96f1-a4d463321fa5
* json: add json APIsjstebbins2014-12-161-23/+38
| | | | | | | | | | 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: start a new scan from a drag & drop only if there isn't already one. ↵ritsuka2014-12-041-8/+11
| | | | | | Put back the outputPanel init I had accidentally moved after the HBCore one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6583 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: merged the two browerFile methods.ritsuka2014-12-041-18/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6582 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added back part of the drag & drop handling.ritsuka2014-12-041-68/+66
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6581 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the fTitle to NULL before performing a scan.ritsuka2014-12-031-0/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6579 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved the main window toolbar to the xib.ritsuka2014-12-031-163/+23
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6578 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: switched the hb_handle_t references in HBController to HBCore instances.ritsuka2014-12-031-738/+403
| | | | | | Drag & drop to the main window does not work is this rev. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6577 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: added a missing retain, it caused a crash when selecting a new ↵ritsuka2014-11-241-1/+1
| | | | | | default preset if the old default was a default preset that had been deleted by they built-in presets upgrade. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6551 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: revert part of the previous commit.ritsuka2014-11-231-1/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6543 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove legacy preset key UsesMaxPictureSettings.ritsuka2014-11-231-4/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6542 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed 4 unneeded AutoCrop* ivars.ritsuka2014-11-231-16/+8
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6541 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved the "add preset" window to its own window controller class. ↵ritsuka2014-11-231-124/+77
| | | | | | Keep the current settings when changing title or scanning a new file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6538 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: updated the "add all to queue" alert to say it will use the current ↵ritsuka2014-11-161-1/+1
| | | | | | preset, not the current settings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6523 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: convert the TrackDRCSlider value to a double instead of an int.ritsuka2014-11-131-4/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6513 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed an issue where the preset drawer would not open if the "Preset ↵ritsuka2014-11-111-13/+15
| | | | | | out of date" alert were displayed. Renamed some prefs key to avoid conflicts with previous versions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6512 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: revert the formats names to "MP4 File"/"MKV File" .ritsuka2014-11-021-1/+14
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6501 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: do not set the same value twice in the job dict ↵ritsuka2014-11-021-8/+2
| | | | | | (ChapterStart/ChapterEnd). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6499 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: pass only the tracks array to the addTracksFromQueue: method, no ↵ritsuka2014-11-021-1/+1
| | | | | | need to pass the entire job dict. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6498 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed two useless array creation and made a copy of the ↵ritsuka2014-11-021-2/+2
| | | | | | trackSelectionLanguages ivar before assigning it to the preset dict. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6497 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: remove a unused check for the Mp4LargeFile option.ritsuka2014-11-021-14/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6495 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: workaround for a bug in [[NSApplication sharedApplication] ↵ritsuka2014-10-231-1/+7
| | | | | | applicationIconImage] that happens with 1024x1024 icns on Snow Leopard, the icon in the dock was displayed a bit small. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6459 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed another numbers of warnings.ritsuka2014-10-231-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6458 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix preview deinterlace display. The new deinterlace setting was set ↵ritsuka2014-09-121-3/+3
| | | | | | to the old preview generator instead of the new one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6399 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed the denoise custom options string.ritsuka2014-09-021-2/+2
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6387 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix denies in preview jobs.ritsuka2014-09-011-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6385 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use the menu item tag to select the item of the format popup button.ritsuka2014-08-291-10/+9
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6382 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: set the NSOnState on the selected preset menu item.ritsuka2014-08-291-15/+17
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6381 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed the PresetIndexNum from the queue job dict.ritsuka2014-08-271-17/+4
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6370 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: aligns the time/start textfield in the main window.ritsuka2014-08-251-5/+12
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6361 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: store the audio and subtitles defaults in each queue item so they ↵ritsuka2014-08-251-28/+29
| | | | | | can be loaded back from the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6360 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: toggle the Advanced tab when the prefs setting changes.ritsuka2014-08-251-0/+33
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6355 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed the “Large file size” checkbox.ritsuka2014-08-231-22/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6349 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed auto naming for dvd sources.ritsuka2014-08-221-1/+13
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6346 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: removed an unnecessary NSBox in the Advanced tab.ritsuka2014-08-221-1/+1
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6345 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: renamed HB*Settings classes to HB*Defaults. Added a “…” char ↵ritsuka2014-08-221-1/+1
| | | | | | to the “Configure Defaults” button. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6341 b64f7644-9d1e-0410-96f1-a4d463321fa5