summaryrefslogtreecommitdiffstats
path: root/win/C#/frmQueue.cs
Commit message (Collapse)AuthorAgeFilesLines
* WinGui:sr552010-06-261-0/+17
| | | | | | | - Expose the "When Done" option on the queue window. - Minor UI tweaks to the queue window. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3410 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-06-111-108/+150
| | | | | | | | - Fixes some issues with status labels not updating correctly on the queue window. - Now includes encode status on the queue window. - Minor UI tweaks. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3377 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-06-071-2/+3
| | | | | | - Created interfaces for the Scan, Queue and Encode Services. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3367 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-06-061-1/+4
| | | | | | - Moved all the services that handle parsing, scanning, encodes and the queue out into a separate library. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3362 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-05-231-4/+1
| | | | | | | - Added some new events to the Queue for future refactoring. - Refactor / Cleanup / Remove more stylecop warnings. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3315 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-05-091-1/+1
| | | | | | | | - Fixed Exception on restoring window from system tray - Fixed Exception when trying to edit an item on the queue without first selecting an icon - Replaced old folder icon on the source menu with the newer windows equiv git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3291 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-04-241-11/+11
| | | | | | - More stylecop warnings cleaned up git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3259 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-04-181-28/+32
| | | | | | - Queue Edit now only scans the title that was added rather than all titles. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3241 b64f7644-9d1e-0410-96f1-a4d463321fa5
* WinGui:sr552010-04-171-50/+251
| | | | | | - More stylecop warnings cleaned up git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3235 b64f7644-9d1e-0410-96f1-a4d463321fa5
* 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