summaryrefslogtreecommitdiffstats
path: root/macosx/HBOutputPanelController.m
Commit message (Collapse)AuthorAgeFilesLines
* MacGui: fix another round of deprecation warnings. Remove drawer code.Damiano Galassi2018-06-101-2/+2
|
* MaGui: fix activity text color in dark mode.Damiano Galassi2018-06-071-1/+6
|
* MacGui: check if the activity log is not nil before adding it to ↵Damiano Galassi2016-01-161-2/+5
| | | | HBOutputRedirect.
* MacGui: enable core animation in the activity window so the bottom corners ↵Damiano Galassi2015-09-041-7/+0
| | | | of the window will be rounded like they should, and move the search bar setting directly in the xib because we no longer need to support 10.6
* MacGui: run the Xcode "convert to modern objective-c" on the entire project.ritsuka2015-04-091-1/+1
| | | | 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-16/+2
| | | | | | 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: convert the mac gui to Objective-C ARC.ritsuka2015-03-171-5/+5
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: add a preference to toggle the log cleanup. Use NSURL directly where ↵ritsuka2015-02-211-20/+7
| | | | | | possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6934 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: refactor the stderr/stdout redirect code to be more modular.ritsuka2015-02-201-129/+31
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6927 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: do not make the output panel textview scroll to the bottom if the ↵ritsuka2015-02-181-5/+8
| | | | | | window is not visible. The scroll operation is expensive. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6923 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: refactored some duplicated code.ritsuka2015-01-111-61/+52
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6728 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a leak of the output log file path string.ritsuka2015-01-101-7/+21
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6719 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: use the inline find bar in the activity window.ritsuka2015-01-071-0/+6
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6691 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fix a bunch of regressions (various crash when in some textfields, ↵ritsuka2014-12-301-2/+2
| | | | | | encode log going to the wrong directory). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6676 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: fixed a warning in HBOutputRedirect and removed an unused ivar.ritsuka2014-10-311-0/+3
| | | | git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6488 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: moved two methods used by the whole app to HBUtilities.m:ritsuka2014-07-161-10/+4
| | | | | | | - appSupportPath: - writeToActivityLog: git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6232 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Raise the TextStorageUpperSizeLimit and TextStorageLowerSizeLimit x ↵dynaflash2010-01-131-2/+2
| | | | | | | | | 3 to accomodate larger logs in the activity window. Recommended by BradleyS and approved by me. - TextStorageUpperSizeLimit 125000 - TextStorageLowerSizeLimit 120000 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3069 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Replace deprecated -createDirectoryAtPath:attributes: with ↵dynaflash2009-09-161-2/+6
| | | | | | -createDirectoryAtPath:withIntermediateDirectories:attributes:error: git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2828 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Change the format for individual activity log file names.dynaflash2009-06-261-1/+1
| | | | | | - Put the output file's base name first .... should make searching for logs easier as per lingui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2625 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Fix activity log headers to show correct version when clearing the ↵dynaflash2009-06-021-3/+3
| | | | | | window as well as the session log. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2472 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Report the svn version and arch in the session activity log and the ↵dynaflash2009-03-031-1/+1
| | | | | | | | individual encode log. - ie. [11:25:22] macgui: Handbrake Version: svn2207 x86_64 (2009030301) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2209 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Picture Filters separate hud inspector initial implementationdynaflash2009-01-261-0/+7
| | | | | | | | - Separates the filters out from the picture settings inspector into their own inspector in preparation for more advanced filters - Gingerbread is shaky but wanted to get the functionality into the svn due the the number of files modified or added. - Adds a toggle action to Picture Settings, Picture Filters and the activity window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2099 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: correct month output in the names of the individual encode logsdynaflash2008-12-041-1/+1
| | | | | | - Duh! In struct tm, tm_mon is the month number from 0 to 11, so we needed to be using tm_mon + 1 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2005 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Add the svn and build number to the individual encode log headersdynaflash2008-11-151-1/+4
| | | | | | - thanks for noticing and reminding me cvk_b. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1920 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Acivity Logs for individual encodes initial implementationdynaflash2008-10-301-2/+79
| | | | | | | | | | | | | | | | - Individual activity logs are saved in the file format "YYYY-MM-DD HH-MM-SS mymoviename.txt". - Default directory is "~/Library/Application Support/HandBrake/EncodeLogs/". - Advanced preference available to alternatively put them in the users output movie directory with the output movie (by default set to "off"). - Renamed the existing contextual menu items for the Activity Window to better reflect choices (function remains the same) as follows: -- "Copy All Output" -> "Copy Window Contents". -- "Clear Output" -> "Clear Window Contents". -- "Open Log File" -> "Open Log File For This Session". -- "Clear Log File" -> "Clear Log File For This Session". - Added "Open Individual Log File Directory" to the Activity Window contextual menu to open this directory with the Finder - Also commented out some macgui based activity log messages that were used to troubleshoot the new queue. - Note: the individual activity logs are in addition to the existing session based activity log. If you do a scan of a new source during encoding, the new source scan log messages will be intermixed with the encode log messages as I have no clue how to separate stderr/stdout based on which instance of libhb is sending the messages. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1881 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGUI: Make HBOutputPanelWindowController an NSWindowController subclass. ↵ritsuka2008-05-131-34/+33
| | | | | | Patch by blindjimmy. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1458 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Write version info the the activity log and activity windowdynaflash2008-03-171-2/+13
| | | | | | | - 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: Activity Logdynaflash2007-11-161-2/+10
| | | | | | | | - Add "Clear Log" to the activity window contextual menu - Clears the log and prints a new date/time header in the log - Useful for starting a new log without having to relaunch HB. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1063 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Move app support directory check to -init in controller.mmdynaflash2007-11-151-12/+2
| | | | | | | | - Makes ~/Library/Application Support/HandBrake available to HBOutputPanelController immediately - Elimates duplicate code to check for app support directory for both the presets as well as the activity log (as well as any other future features that will require this directory) - Also fixed issue where clicking "Discard" in the update alert closes the main window and won't let it come back (this will be totally unnecessary once the Sparkle update system is implemented). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1061 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Activity Window Logging Initial Implementationdynaflash2007-11-141-7/+85
| | | | | | | | | | | | - stderr and stdout are now written to a .txt file as well as displayed in the activity window - Each line from stdout and stderr is written as it comes out of libhb (instead of in batches) so that in the event of a crash, we see the very last log message just like in the cli output - Log file is located at: ~/Library/Application Support/HandBrake/HandBrake-activitylog.txt - Uses .txt file as .log files default to open in console (text editor is more user friendly to n00bs?). - For initial implementation, log file is overwritten for each session, and the current date and time is printed at the top of the log. So, log is one session long, for now. - Activity window is also now a normal window (not an inspector) so that you can minimize it and the picture preview window is not half covered up by it on a smaller (mbp) display - Added "Open Log File" to the Activity Window contextual menu which opens the log file in the users default text editor git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1058 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: Increase the Activity Window text storage to double its current ↵dynaflash2007-08-231-2/+8
| | | | | | capacity for more complete logs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@855 b64f7644-9d1e-0410-96f1-a4d463321fa5
* MacGui: hot scrolling action for the Debug Output logging window. Thanks for ↵jbrjake2007-07-241-0/+2
| | | | | | the patch, Ritsuka! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@728 b64f7644-9d1e-0410-96f1-a4d463321fa5
* Debug output window is now opened automatically if it was visible when HB ↵cleaner2007-06-061-0/+8
| | | | | | was closed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@603 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: 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: Debug Window to read libhb output like cli in inspector windowdynaflash2007-05-211-0/+95
- 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