10 Commits

Author SHA1 Message Date
Damiano Galassi
bed55e0588
MacGui: move the queue libhb instance to an xpc service. 2019-08-11 09:07:20 +02:00
ritsuka
214fed29cd MacGui: refactor the stderr/stdout redirect code to be more modular.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6927 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-02-20 07:59:38 +00:00
ritsuka
44f7f22f2f MacGui: do not make the output panel textview scroll to the bottom if the window is not visible. The scroll operation is expensive.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6923 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-02-18 07:47:23 +00:00
ritsuka
71e4a6fcb9 MacGui: fix a leak of the output log file path string.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6719 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-01-10 08:38:37 +00:00
ritsuka
e85690352f MacGui: fix a bunch of regressions (various crash when in some textfields, encode log going to the wrong directory).
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6676 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-12-30 07:13:07 +00:00
dynaflash
39a4d09c45 MacGui: Acivity Logs for individual encodes initial implementation
- 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
2008-10-30 18:11:58 +00:00
ritsuka
ecd08ad8b0 MacGUI: Make HBOutputPanelWindowController an NSWindowController subclass. Patch by blindjimmy.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1458 b64f7644-9d1e-0410-96f1-a4d463321fa5
2008-05-13 11:24:27 +00:00
dynaflash
374a7b7ef9 MacGui: Activity Log
- 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
2007-11-16 13:17:00 +00:00
dynaflash
93f4ade648 MacGui: Activity Window Logging Initial Implementation
- 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
2007-11-14 16:37:34 +00:00
dynaflash
7f232a9f43 MacGui: Debug Window to read libhb output like cli in inspector window
- 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
2007-05-21 16:50:21 +00:00