summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions/Main.cs
Commit message (Collapse)AuthorAgeFilesLines
* WinGui:sr552010-02-201-212/+229
| | | | | | - Cleanup more StyleCop warnings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3131 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-02-201-101/+170
| | | | | | | | | - Tied Microsoft StyleCop into the build process. - Included a settings file for StyleCop so anyone who picks up the project can use the global project settings. - Started Clearing up Warnings generated by stylecop. - Also included Resharper 5 config files that users can use. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3129 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-311-0/+23
| | | | | | - Refacotring Code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3091 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-301-1/+1
| | | | | | | - Added some code to allow direct execution of the CLI rather than using CMD. This may be useful later on. - Re-factoring. Added Many code comments / Cleaned up some code style issues. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3088 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-241-29/+3
| | | | | | - Quick patch to allow "," to be used in CSV files when importing into the gui. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3085 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-211-3/+2
| | | | | | - Some code refactoring. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3081 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-161-1/+26
| | | | | | - Improve the In-Gui encode status option. by default, the CLI window is not completely hidden when this is set however there is an option to show it to allow "ctrl-c" clean exits. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3073 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-091-12/+12
| | | | | | - Implemented the point to point - seconds mode. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3055 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-12-181-1/+1
| | | | | | | | - Move the Queue Recovery file to HandBrakes appdata folder. Queue Recovery file won't be deleted when temp folder is cleared now. Note that it will not detect the old hb_queue_recovery.xml file in the systems temp folder. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3034 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-11-241-2/+2
| | | | | | - First fix for 0.9.4 : Fix a stupid regex bug git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2970 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-09-141-1/+1
| | | | | | - Fix: DVD volume name now used for autoName function rather than Video_TS folder. (Thanks RandomEngy) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2820 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-09-131-0/+10
| | | | | | - Fix: Don't check version data if the CLI file hasn't actually changed since the last launch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2818 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-09-091-2/+4
| | | | | | - Improve autoName reliability - Thanks exdeus git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2809 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-08-281-12/+12
| | | | | | | | - Fix issue changing file format causing the audio encoder dropdown to be set to "" - Fixed an issue with autoName function and format dropdown with regards to AC3 in the audio list. Also, CC or SRT - Combined a bunch of functions in x264Panel into one. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2784 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-08-251-2/+2
| | | | | | | | | - Fix several issues with Picture Settings panel related to aspect ration and resolution calculation. - Fix issue where file extension could be mp4 when chapters is enabled. Problem in the autoname function. - Fix a regex error in the appcast reader and make it more robust to errors. - Clear up changelog git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2776 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-08-081-1/+7
| | | | | | - Minor Code tweak / correction in Changelog.html git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2754 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-08-021-0/+34
| | | | | | | - Fix subtitle offset control. Was limited to 100. Changed increment to 10ms jumps. - Added Import CSV function for the chapter markers tab. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2746 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-07-231-105/+62
| | | | | | | | | - 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-171-13/+13
| | | | | | | | | | - Added new options: preferred language, "Dub Foreign language audio" and "Use Foreign language audio and Subtitles" - Changed built-in language list to native spellings. - Fixes to CLI Scan Parser AudioTrack.\ - Note: Subtitles panel is not hooked up for this yet. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2709 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-07-081-0/+199
| | | | | | | - Implemented the new External SRTs feature. Added a sub tab set on the subtitles tab. - Few UI tweaks to keep things in-line with the MacGui: git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2672 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-07-041-3/+6
| | | | | | - Remove M4v from format dropdown and add new option "Use iPod/iTunes friendly (.m4v) file extension for MP4 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2662 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-07-041-34/+88
| | | | | | | - Update checker code cleaned up and multi-threaded. (Thanks to darkassassin ) Made some minor changes to this code to fit it in. http://forum.handbrake.fr/viewtopic.php?f=4&t=11353 - Queue window no longer takes focus on each new addition to the queue. ( Quite annoying otherwise ) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2661 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-06-261-0/+20
| | | | | | | | | - Removed the group boxes on the main window to save a bit of space. - Main Window source display is the source filename or folder only. The text box is no longer used. - Added two new options: "Clear Log History" and "View Log Directory" - Changed log file format to "DateTime DestFileName.txt" to "DestFileName DateTime.txt" git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2626 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-06-191-1/+1
| | | | | | | - Cleans up the appcast reader code a bit more, removing all globals. - Small fix to preset loader to make sure audio bit-rate is set to auto for AC3 tracks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2576 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-06-171-0/+3
| | | | | | | - Updated the appcast checker to handle the modified appcast format. - New option to set the number of days between update checks on startup. Default 5 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2551 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-06-151-13/+7
| | | | | | | | - Picture Settings: Height of 0 allows for no -l to be passed to the CLI - Picture Settings / pre-sets now set 0 when no Height specified. Prevents the panel from using incorrect values when pre-sets are selected. - Simplified the Encode.cs set-up. Includes changes to QueueHandler git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2534 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui: sr552009-06-131-72/+5
| | | | | | - New subtitle tab. All complaints to j45 please. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2531 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-0/+48
| | | | | | | - The CLI status information can now optionally be displayed in the encode status bar in the GUI. - Fixed Scan and Encode cancel functions with a hack. It was killing CMD.exe, not HandBrakeCLI.exe git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2416 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-05-041-2/+1
| | | | | | | | | | | | | | | | | | | | # New - Setup LibDVDNav option for scanning. # Directory and logging changes - The GUI now stores preset data in the systems user Application Data directory. This means that multi-user systems don't share the same single set of user presets. - A History of logs are automatically stored in the systems application data directory. - Changed the log preferences to make them a bit easier to understand. # Bugs / Typos - Fixed small bug in the version info regex parser. - Fixed typo on x264 tab - Fixed minor GUI issue on the Add Preset window (button transparency) - Fixed disable Query Editor tab option (Thanks tlindgren) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2383 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-04-231-1/+1
| | | | | | | - Moved the code which loads the preset panel into the PresetHandler class. - rewritten the preset panel loader so that it's easier to understand. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2352 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-04-221-12/+15
| | | | | | | | | - 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-04-141-9/+5
| | | | | | | - Patch by ExDeus - http://forum.handbrake.fr/viewtopic.php?f=4&t=9642&start=25#p54267 - Few redundant code functions removed, code layout tweaks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2328 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-04-061-4/+0
| | | | | | - Removes ogm and avi file containers git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2307 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-04-011-14/+16
| | | | | | - Just some minor code tweaks to clean things up. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2291 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-03-151-21/+17
| | | | | | | | | - Enable tabstops on the add preset window. - Confirm closing of program if Queue is running (ExDeus) - Minor fixes/cleanup from Exdeus (Destination Browse Button, Tools > Show Queue, MessageBox in frmQueue) - Code cleanup in a few other files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2260 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-03-021-40/+29
| | | | | | | | Patch from ExDeus - Thanks. - Show Queue button now activates the queue window on launch. - Code clean-up for the auto naming function. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2201 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-01-231-2/+21
| | | | | | | - Few more bits of code refactored. - Added a 10 second limit for the CLI to respond at GUI startup. This will prevent the app from locking if the CLI stalls. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2093 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-01-221-14/+10
| | | | | | - Fixes/Tweaks to the chapter markers tab and handling code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2092 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-01-081-3/+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
* WinGui:sr552008-11-281-73/+57
| | | | | | | - Fixes a problem with res calc. - Cleans up the Main.cs file a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1967 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-11-271-17/+27
| | | | | | | | | - 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-261-15/+13
| | | | | | | | | - The Queue Recovery, inport/export features now use an XML based file system rather than text file. - Queue now uses class based Queue Items for storing data rather than an arraylist. - Fixes an issue where the source and/or destination would not show up in the list of queue items. - Queue progress meter will now update correctly if a user adds more items to the queue after starting the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1958 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-11-191-17/+0
| | | | | | - Fix Format dropdown. It was not setting the file extension correctly, thus not updating the audio and video encoder dropdowns. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1932 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-11-191-1/+3
| | | | | | - Fixed small bug where release build numbers are not matched correctly with the regex. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1931 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-131-0/+405
- Started to decouple this code a bit. Common.cs (now Main.cs) no longer relies on the frmMain window being passed into it. frmAddPreset no longer requires to access QueryGenerator.cs - QueryGenerator.cs, x264Panel.cs, PresetLoader.cs all moved into their own "frmMain" folder as that is the only place they should be used. - Rearranged the base of frmMain.cs a bit. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1830 b64f7644-9d1e-0410-96f1-a4d463321fa5