summaryrefslogtreecommitdiffstats
path: root/win/C#/frmActivityWindow.cs
Commit message (Collapse)AuthorAgeFilesLines
* WinGui:sr552010-01-091-7/+7
| | | | | | - Don't throw errors when the activity window is disposing. Should probably find a better solution to this at some point. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3058 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-091-1/+0
| | | | | | - Compile error fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3057 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-091-167/+111
| | | | | | - Refactor the Activity window code. Hopefully the code is not thread-safe which should fix a couple of display problems with the log view. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3056 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-191-2/+2
| | | | | | | - Shave ~0.5s of the application startup time by not initialising an XmlSerializer when it's not needed. This is quite expensive. - Make sure the Activity window is initialised before we try set it's title. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3035 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-051-14/+14
| | | | | | - Some improvements to error messages, about window, minor code style fixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3006 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-021-10/+13
| | | | | | - Make sure the Activity window resets correctly on action or source change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2998 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-301-3/+19
| | | | | | | - ActivityWindow Make sure the correct log is selected (Last action: scan or encode) - Make closing the window more responsive. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2993 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-281-4/+13
| | | | | | - Cleanly close the ActivityWindow so that HandBrake.exe does not remain active after the main application window has been closed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2990 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-281-11/+31
| | | | | | - Some updates / fixes to the new Activity Window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2989 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-251-138/+127
| | | | | | | | - Large performance improvements in the Activity Window when working with large log files. This should make the window less laggy when using batch folder scan. - New scan process handling code which pipes the data direct into the application. GUI now displays "Scanning title x of x" to give the user feedback on the process. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2983 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-09-301-6/+8
| | | | | | - Add a notice to the log to indicate if the user has used a custom query. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2854 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-09-211-5/+4
| | | | | | - Possible fix for some exceptions / issues in the Activity window that may occur under unusual conditions that may prevent the log file from being read properly git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2834 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-09-131-0/+7
| | | | | | | | - Fix some tooltips in the options and make the "use m4v" tooltip clearer. - Fix an error in the activity log window where an error message would repeat every few seconds if a log file wasn't found. - Fix main window display on High Dpi Panels. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2819 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-09-071-71/+63
| | | | | | - Some fixes to the ActivityWindow. CLI query should always be displayed now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2807 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-07-241-113/+41
| | | | | | - Some minor improvements to the ActivityWindow. The window now correctly views the correct log when a user starts a new scan or new encode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2727 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-07-231-10/+27
| | | | | | | | | - getCliProcess(): This is now massively faster at returning the process ID of HandBrakeCLI. This means that the GUI updates it's elements far faster instead of the noticeable few seconds pause when an encode starts. This also fixes an error message that would appear if the CLI process quit before the GUI was setup. - Code re factoring in Main.cs. Reduced the amount of code needed for a few functions. - Combined the Encode and Queue handler. This just makes things a bit easier when other parts of the GUI need the encode process info. The new CLI handling code is not in yet. - Added the CLI build environment to the About window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2726 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: sr552009-07-151-3/+3
| | | | | | | | | | | | - The options panel (frmOptions) is now completely wrapped in TableLayoutPanels. - The rest of the GUI has been changed to Tahoma, 8pt font. - QueueHandler and it's related classes have been refactored and documented. - new option has been added that prompts the user before encoding when the query under the "Query Editor" tab does not match the GUI settings. It can be disabled in the options window. - A bug where "last_encode_log.txt" failed to be read has been fixed that was caused by exiting the CLI window shortly after starting the encode. Thansk to darkassassin git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2693 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-06-121-20/+4
| | | | | | | - Move all DllImports into win32.cs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2523 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:WinGui:sr552009-05-231-2/+3
| | | | | | | - Stop button, now allows the CLI to cleanly exit by sending ctrl-c rather than killing the process. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2444 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-05-131-2/+4
| | | | | | | - Fix Activity Log window not updating for scan log - Fix Process Affinity not being set for encodes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2417 b64f7644-9d1e-0410-96f1-a4d463321fa5
* # Newsr552009-05-071-9/+18
| | | | | | | | | | | | - DTS support on the audio tab - Angle support added to the source options # Changed - Chapter Markers are not selectable when only 1 chapter is selected or available - Last Encode and scan logs now stored in application data folder. This will make them more persistent. - Option to open the HandBrake log folder from the Activity window right click menu git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2398 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-04-221-86/+68
| | | | | | | | | - Queue: Can now store unlimited number of audio tracks in presets. It is no longer limited to 4. - Activity Window: Fixed a bug where it was looking at the wrong class for checking the status of encoding. - Activity Window: Improved update / display performance dramatically by removing a List data structure. - Misc: Old code removed / code tweaks git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2349 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-01-301-2/+9
| | | | | | | - Fixed broken struct in the activity window that was causing memory issues. - Few code tweaks in program.cs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2108 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-01-291-22/+15
| | | | | | - Code cleanup git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2106 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-01-081-6/+0
| | | | | | - Code cleanup. Remoes old using tags, removes unused code, cleans up some functions to make them shorter/more readable etc. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2069 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGuisr552009-01-031-6/+4
| | | | | | - Decoupled the Activity window from frmMain and frmQueue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2056 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-12-151-1/+1
| | | | | | - MainWindow now uses the Queue for encoding. Essentially works the same as the MacGUI. You start an encode in either window, and the other shows the encoding status. This prevents users from starting 2 encodes at once (1 Queue, 1 Main Window) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2032 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-11-271-7/+67
| | | | | | | | | - Removed RAM limitation code on startup. - Gets rid of the SystemInfo Class. It's no longer required. Since the ram limitation code has been remove, only the activity window needs access to the information, so, the code has been moved to frmActivityWindow.cs - Removed some redundant code from frmMain.cs. Cleaned the startup code block up a bit. - Re-structured frmMain.cs. Moved the code around into more logical regions. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1964 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-11-121-45/+82
| | | | | | - Fix a potential crash in the Activity window where the window handler may not be initialized in time for the function setText to use it. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1918 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-301-0/+8
| | | | | | - Simple right click context menu for the activity window. Allows users to copy text. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1885 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-061-1/+4
| | | | | | - Another small improvement to the activity window. If the user has only selected a small block of text, then the copy to clipboard function now only copies that, rather than the full log. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1818 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-041-4/+4
| | | | | | - Few more improvements to the ActivityWindow. Hopefully makes it a bit more user friendly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1808 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-041-4/+10
| | | | | | | | | - Added Copy to Clipboard button back to the Activity Log Window. Now works on Vista. - Activity window now loads the load file for the last action. e.g If the last action was a scan, it'll load the scan log and if the last action was an encode, it will display the encode log. That should make it a little bit easier to use / understand. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1807 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-051-11/+94
| | | | | | - Select which log file to view from the Activity Window rather than the tools menu / task bar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1667 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-271-4/+6
| | | | | | - Code Refactoring and optimization to numerous files git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1655 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-161-79/+51
| | | | | | | | - One elusive cross-thread bug in the Activity window fix (hopefully) + some tweaks to the log display - Nicer Exception Handling Message box errors for frmReadDVD. - frmMain Minimize to taskbar no tooltip text exception fixed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1634 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-091-0/+9
| | | | | | | | | | - Added Memory and screen bounds to the activity log. - Removed some x264 code from frmMain. The x264 widgets are now populated from the designer file. - Removed some duplicate code from x264Panel.cs - Added the macgui's animate function to x264Panel.cs - Setup the Audio panel to default the sample rate to audio on audio track change. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1621 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-041-2/+11
| | | | | | | | | | | - Activity log - Added CPU description, temp dir, install dir and data dir to the WinGUI log header. - Renamed rssReader to appcast reader - Added option for stable builds to check unstable appcast. - Unstable builds check both appcasts so will always show the latest release - Added some containers to frmMain. - Fixed (I think) an issue with a regex which prases the CLI version information. It may not detect public release build information up correctly. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1606 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-07-101-24/+72
| | | | | | | | - Activity log window code changed significantly. Now, instead of refeshing the whole log every 5 seconds, it only adds the new lines of log output. - Fixed bugs where the autoUpdate thread could keep running after the windows had been closed, causing exceptions to occur. - Removed some debug code from frmMain git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1562 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-07-041-1/+1
| | | | | | | | - Drive detection lists DVD title in Source Menu (Optional Feature) - Updated the help menu to match the macgui. - Added "cancel" button to frmReadDVD so if the CLI get's stuck, user can cancel the scan without restarting the GUI git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1555 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-06-271-4/+15
| | | | | | | | | | | | | | | | | - Added: Resolution calculation for non anamorphic encodes in the GUI. - Added: Ability to minimize to the system tray. Includes popup notifications of encoding status. - Added: Duration calculation based on Title and selected chapters. - Added: Some more code comments and summaries - Change: Activity window now only refreshes if there is an active HandBrakeCLI.exe running. - Change: Browse button/ File mode checkbox for Source Selection Removed. Replaced with a Source Dropdown button in the main toolbar. (works a bit like the magui but still uses the 2 different dialog boxes) - Change: Removed "Recommended Crop" label and simply let the dropdown set the cropping values. Added DVD resolution Label. - Fixed: Preset loader now selects longest title and set's chapters to Auto. Before it would load in the last setting used which is bad. - Fixed bug in the presetLoader() function with the 2nd audio channel track selection. Final Note: Quite a bit of code has been moved around in this checkin to clear things up a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1541 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-05-171-13/+21
| | | | | | | - Changes -a auto to -a 1 (The CLI was throwing an error message with auto) - Misc other changes and code cleanup. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1463 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-05-151-6/+17
| | | | | | - Fixed: http://forum.handbrake.fr/posting.php?mode=reply&f=12&t=6088 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1462 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-05-071-12/+17
| | | | | | | | | - Activity window no longer prevents main window UI interaction. - Fixed bug which would keep HandBrake in memory after the program was closed. It was still running but not visible. - Removed old files git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1455 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-05-071-22/+4
| | | | | | | | - Got rid of the DVD info window. DVD information can now be read from the activity window. - Removed some unused code calls to frmDvdInfo. - Changed frmActivityWindow design, removed all buttons, text window now expands as the window size grows. Basically, the window is identical to the MacGUI window now. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1454 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-04-301-1/+1
| | | | | | - Fixes copy to clipboard crash on vista. However it does not fix the fact that content is not copying. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1452 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-04-061-9/+44
| | | | | | - Activity window now updates every 3 seconds during an encode, so the user can now watch the encode log as it is generated by the CLI. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1384 b64f7644-9d1e-0410-96f1-a4d463321fa5
* - New Audio Panel (Query Parser, Query Generator, Preset Loader Functions ↵sr552008-04-041-8/+14
| | | | | | | | | | | | | | | all updated) This includes minor changes to the UI (e.g in the 'Output Settings' box) - UI Improvments for Windows Vista and XP where non Classic theme is used. - Activity Window can now view the log whilst an encode is going. (Doesn't live update... yet TODO!) - Changed Radio File/Folder option for Source Browse to a single checkbox. Folder view by default. Check "File mode" for file selection dialog. - Misc other UI changes - Update checker won't display an error message during statup if one occurs whilst checking the update. The message was hidden behind the splash screen. This is now not a problem. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1375 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-01-091-0/+82
- Added an Activity window which can view a verbose log from the CLI after an encode has completed. (it would be nice if someone could find a way of making this live!) - The main GUI window now has an icon based toolbar similar to the macGUI instead of having standard buttons along the bottom for Encode and Queue. - Some of the controls on the Options panel have had transparent backgrounds added so they don't look out of place on theme'd computers. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1181 b64f7644-9d1e-0410-96f1-a4d463321fa5