summaryrefslogtreecommitdiffstats
path: root/win/C#/Functions
Commit message (Collapse)AuthorAgeFilesLines
* 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-272-74/+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-264-264/+22
| | | | | | | | | - 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-11-121-0/+26
| | | | | | - Adds the CLI query to the top of every log file generated after an encode finishes. Note: CLI query will only display in the activity window after the CLI has exited. This can be sorted later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1917 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-11-061-4/+38
| | | | | | | | | - Set's DRC to 1 by default. - Chapter Markers tab only enabled if it's a DVD source or ISO image. - -X and -Y options now parsed by the query parser. - Added a small hack to allow built-in presets to use -X and -Y and have the query generator correctly generate the query. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1898 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-301-1/+34
| | | | | | | | | | | - Activity logs for individual encodes can now be saved either: + With the encoded file + or to a a directory which is configured from options. Log file format: "YYYY-MM-DD HH-MM-SS {Destination File Name}.txt" Feature is disabled by default git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1883 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-251-275/+0
| | | | | | | | | | | | | | | | - Nested Presets bar (Built-in presets only) - Both user and built-in presets are now stored in XML files - Preset bar now has right-click menu with: Expand All, Collapse All and Delete Known Issues: - When a preset is removed, all items in the preset bar with child presets are collapsed. - Right Click menu only works if the preset was selected before right clicking. Code is probably a bit buggy so all feedback on this new bar is welcome. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1866 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-221-4/+4
| | | | | | - Updated to read the new preset-list output format. Nested presets support code will come later. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1858 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-134-2051/+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
* WinGui:sr552008-10-131-9/+5
| | | | | | | - Fix preset bug where mkv and chapters are used in the preset, but on selecting said preset, the selected file extension would be m4v - Fix in Audio panel where the track 1 bit-rate is not always set correctly if the preset also changes the audio mixdown git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1829 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-091-69/+0
| | | | | | | - Removes Brdo and Bime checkboxes from the advanced tab. - Subme now goes up to 9 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1822 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-10-053-620/+611
| | | | | | - Just moving stuff functions around to different places. Probably some more of this to come. frmMain / common.cs are a bit of a mess right now git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1814 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-282-62/+61
| | | | | | | - AppcastReader.cs re-factored. Reduces number of connections to the server. - Few UI tweaks to the updater / downloader git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1781 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-271-2/+2
| | | | | | | | | - Refined the Queue look. - Fixed bug which cause the move up and down buttons to cause an exception. - When you select an item on the queue and move it up or down, it will now remain selected. This saves re-selecting the item every time you want to move it up or down. - Added pending encodes counter. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1780 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-263-59/+9
| | | | | | | | - Removed VFR option and label. - Renamed checkboxes as per #1768 - Fixed x264Panel.cs animate bug as per #1765 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1775 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-231-3/+3
| | | | | | - Deblock Slider now displays "Off" and scales from 5 to 15 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1749 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-202-43/+53
| | | | | | | | | | - User presets and built in presets are now show in seperate colours. User preset's are shown in black and built in are blue. - Added cancel button to add preset. - Removed File Menu > Import. This is not required. Users can import old .hb files as text into the query editor if need be. - Adding a new user preset no longer stores Title and file input/output information. While these were never used, it's a waste of space storing them in the user presets file. - Added a comfirm dialog for removing presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1735 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-192-2/+5
| | | | | | - Fixed bug. --markers wasn't detected with user presets, only -m worked. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1732 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-191-25/+10
| | | | | | | - Just allow ISO_Open to open all files. Will save adding all the ffmpeg options available. - Re-factored the chapter marker creation/query generation code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1731 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-191-16/+13
| | | | | | - Updated for x264's new default subme of 6. Remember to update your built-in presets! git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1729 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-191-1/+11
| | | | | | | - Patch from canvas :- use format dropdown value for extension with the autoName function. Typo fix and add's the .m2ts file extension to the file open dialog box. - Fix in calculateDuration, don't crash if start chapter > end chapter. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1728 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-181-20/+3
| | | | | | - Couple of bug fixes. Crop, -f option, typo git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1717 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-142-2/+8
| | | | | | - Fix: Cropping setting incorrectly set if --crop 0:0:0:0 is used in a preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1697 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-141-10/+57
| | | | | | | | - Delete key can now be used to delete presets & queue items. - Queued items now have job id's. this isn't used for anything yet, however will be useful for editing current queue items. - Moved batch script code to Queue.cs git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1696 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-113-12/+24
| | | | | | | - Slider control for deblock. - Fix: Load normal preset if userdefault setting string is empty. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1690 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-101-6/+20
| | | | | | - New option to allow the user to enter which format they wish the autoName function to use. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1686 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-091-4/+12
| | | | | | - Allow users to manually import / export the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1682 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-061-10/+4
| | | | | | - Minor UI tweak to the Crop controls. Now uses radio buttons git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1669 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-051-23/+39
| | | | | | | - Code Cleanup - Bugfix: PresetLoader incorrectly loading audio track number with user presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1666 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-281-4/+4
| | | | | | - Fixed Custom Crop bug as per http://forum.handbrake.fr/viewtopic.php?f=12&t=6963 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1656 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-274-31/+24
| | | | | | - 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-242-2/+97
| | | | | | | | | | - Adds checkbox to enable decomb. - Program Options updated with an option to customize decomb values. - Queue Recovery feature. If you close the GUI without letting a queue complete, the user will be prompted if they'd like to recover the queue on next launch. - Small bugfix with the queue HandBrakeCLI monitor thread not stopping when the GUI is closed. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1653 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-171-2/+4
| | | | | | - Fixed stupid mistake with query generator and the dvd chapters being set to auto git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1636 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-172-3/+25
| | | | | | | - Added checkbox for decomb - Removed 2 panels for frmMain components. It was screwing up the tab numbering. Maybe re-visit later on. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1635 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-161-0/+12
| | | | | | | | - 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-141-275/+284
| | | | | | - Added some regions to common.cs to make it a bit easier to read. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1629 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-103-387/+176
| | | | | | - Just some code refactoring in frmMain.cs and common as well as a few smaller files. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1623 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-092-416/+374
| | | | | | | | | | - 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-082-18/+19
| | | | | | | | - Bug Fixes in QueryParser.cs and PresetLoader - Fixes a bug where an incorrect cropping option get's chosen when a preset is loaded. - No longer loads Source or destination from the preset. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1619 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-08-042-20/+41
| | | | | | | | | | | - 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-291-9/+4
| | | | | | - Added option to start CLI minimized git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1590 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-07-073-27/+84
| | | | | | | | | | | - Version information now pulled from the CLI (any problems with this breaking on Vista let me know plz!) - GUI startup optimized to counter the effect of the slightly sluggish version check from CLI (above) - Added "Format" box just like the macgui. Move the Video Codec dropdown to the correct position on the video tab. - Few other changes to mimic the macgui. - Changed Functions.CLI to Functions.Encode - Cleaned up and added icons to the source menu. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1558 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-07-022-10/+261
| | | | | | | | | - Better implementation of the presets bar. Code moved into it's own class. - Can now Remove Single or delete all built in presets. - User presets are no longer taged with "--" - CLI window no longer appears when grabbing the information for presets.dat from HandBrakeCLI.exe git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1552 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-06-301-0/+106
| | | | | | | | - Queue system moved into it's own class. - Queue now uses a listview display instead of a simple list. It now displays some information about each encode instead of the CLI String. - Misc other Fixes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1544 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-06-274-81/+303
| | | | | | | | | | | | | | | | | - 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-06-171-12/+12
| | | | | | | | - Issue in the query parser where "-2" would trigger a widget if found anywhere in the CLI string. This could appear in the source or destination filename and trigger it when it is not supposed to be on. added a space before the - in the regex which will hopefully be sufficient to fix the issue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1516 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-06-123-8/+20
| | | | | | - Setup Auto for Audio Sample Rate. (Passes 0 to CLI when set to Auto.) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1510 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-06-121-0/+15
| | | | | | | - Accidentally updated the project file in the last commit, so the following empty file is now required. It will be used at a later date. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1509 b64f7644-9d1e-0410-96f1-a4d463321fa5