summaryrefslogtreecommitdiffstats
path: root/win/C#/frmQueue.cs
Commit message (Collapse)AuthorAgeFilesLines
* WinGui:sr552010-02-261-1/+1
| | | | | | | - Fixed some issues with the DirectRun() Code and implemented some standard input / error readers received events / handlers - Moved some code around. EncodeQueue is now a services layer git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3141 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-02-201-21/+46
| | | | | | - Cleanup more StyleCop warnings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3131 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-301-3/+4
| | | | | | | - 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-151-2/+22
| | | | | | - Send a job (which is not currently encoding) from the queue, back to the main window so that the user can alter the encode settings. Sending a job back causes a rescan of the source following by the current configuration being loaded back into the main gui window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3072 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-01-151-54/+55
| | | | | | - Bit of re-factoring to the encode / queue code. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3071 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-09-301-1/+1
| | | | | | - 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-07-231-3/+3
| | | | | | | | | - 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-20/+21
| | | | | | | | | | | | - 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-07-041-8/+9
| | | | | | | - 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-151-2/+2
| | | | | | | | - 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-141-5/+1
| | | | | | | | - Small tweaks to Encode.cs - write2disk queue recovery feature is now completely handled in QueueHandler - Auto naming is on by default. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2533 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:WinGui:sr552009-05-231-5/+6
| | | | | | | - 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-04-221-25/+23
| | | | | | | | | - 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-03-161-21/+39
| | | | | | - Added right click menu to the queue with Move Up/Down and Delete options. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2262 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-03-151-1/+1
| | | | | | | | | - 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
* WinGuisr552009-03-091-11/+34
| | | | | | | - Removed undeeded activate call for show queue - Moved re-add job to the toolbar Queue menu. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2246 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-03-071-29/+78
| | | | | | | - Remove old decomb option from the Options windows - Added patch by ExDeus which allows multi-select on the queue window, and re-adding of the currently running job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2239 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-03-061-1/+20
| | | | | | | | - Add an override for the queue show method. Saves calling setQueue() before Show(). - Fix a couple of message boxes appearing behind windows. Thanks go to: ExDeus git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2230 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-01-291-30/+19
| | | | | | - Code cleanup git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2106 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-01-081-8/+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:sr552009-01-051-151/+82
| | | | | | | - Queue Encoding code moved from frmQueue.cs to QueueHandler.cs - QueueHandler now works has events to allow frmMain and frmQueue to update their UI elements based on event triggers (e.g an encode starting or ending). git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2063 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552009-01-031-96/+61
| | | | | | - Fixes some bugs/issues with the Queue Windows / Main Window Queue/Encoding tie-in git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2057 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGuisr552009-01-031-4/+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-271-20/+30
| | | | | | - Fix for Queue Pause/Resume not working as expected. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2046 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-12-191-38/+13
| | | | | | | - Fixes for a few rather stupid issues with the new queue/mainwindow encode link. - Got rid of the queue encode progress bar. It's just a pain to keep it working and doesn't really offer much. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2040 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-12-171-16/+22
| | | | | | | - Some fixes in the new code which handles encoding across the Queue and MainWindow. - Small UI tweaks on Activity Window and Generate Preview Window git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2039 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-12-151-33/+49
| | | | | | - 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-261-17/+25
| | | | | | | | | - 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-121-0/+1
| | | | | | - 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-10-301-1/+2
| | | | | | | | | | | - 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-041-1/+5
| | | | | | | | | - 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-10-021-0/+3
| | | | | | - Fixed small UI annoyance bug with queue import/export/batch script feature. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1801 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-271-2/+22
| | | | | | | | | - 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-191-0/+1
| | | | | | - Fix: Small issue with Queue Recovery feature. Encoded files were not removed from the recovery file. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1733 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552008-09-141-49/+37
| | | | | | | | - 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-091-15/+33
| | | | | | - 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-051-1/+1
| | | | | | | - 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-241-10/+7
| | | | | | | | | | - 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-07-071-1/+1
| | | | | | | | | | | - 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-06-301-116/+122
| | | | | | | | - 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-271-75/+53
| | | | | | | | | | | | | | | | | - 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
* - New Audio Panel (Query Parser, Query Generator, Preset Loader Functions ↵sr552008-04-041-2/+2
| | | | | | | | | | | | | | | 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:sr552007-12-241-0/+6
| | | | | | - Added GPL Licence comment at the top of each code file as required. (this may need to be changed later but will do for now) git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1147 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-211-5/+11
| | | | | | | - Updated build number to match SVN. - Fixed an issue where Encode & Pause buttons didn't enable / disable correctly on the queue. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1144 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-141-12/+1
| | | | | | | | | | | | | | | - Removed some old CLI handler files that were never completed. - Removed Quickstart Window along with some redundant code. - Removed the Query Editor tab as it is no longer really needed. - Removed CRF option as this is now the default. - Removed DRC Checkbox. The slider is now used for activation. - Few changes to the Naming of GUI items to match the MacGUI. - Warnings about no source / destination removed from Save/open presets and set default options. Will only appear on Queue and Encode buttons now. - Fixed autonaming issue where it was enabled even when it was disabled. - Added option to the Tools menu to display the current CLI query. This may be useful now that the Query editor tab is gone. - Options window design tweaked. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1128 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-12-061-9/+66
| | | | | | | | - Fixed bug in Query Parser in relation to Titles (Error when 1 was set to auto) - Added Batch Script creation option on the Queue. - Added Toolbar to the queue (similar to the MacGui) and removed some old style buttons that are now on the toolbar. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1100 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-11-301-4/+4
| | | | | | - Fixed small issue with the chapter display on the current job. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1089 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-11-191-189/+109
| | | | | | - Reverted Queue listview to listbox. Listview had a character limitation that could not be worked around. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1068 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-11-181-62/+198
| | | | | | | | - Changed Queue to a listview. - Added human readable encode information for the item currently encoding. - Window design improved. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1066 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552007-11-021-9/+2
| | | | | | | | | | | - New tab layout options window. - Small tweaks to the read dvd window and queueWindow - hbcli.exe now renamed to HandbrakeCLI.exe to match all other platforms. - Presets Listbox replaced with listview in preparation for future improvements. - Update built in presets option re-enabled for the same reason. - Few other small design tweaks here and there git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1043 b64f7644-9d1e-0410-96f1-a4d463321fa5