Commit Graph

44 Commits

Author SHA1 Message Date
sr55 0b258936bc
WinGui: Refactoring the Window Management Code. Handle this internally rather than using Caliburn. 2022-07-20 18:49:06 +01:00
sr55 563460f87c
WinGui: Part 1 - Decouple Caliburn.Micro from the UI code. (Threading, Window Manager, PropertyChangedBase and IoC) 2022-07-15 20:44:59 +01:00
sr55 e8e9fd6fb3
WinGui: Preview window encodes will now use the worker process if enabled. All logging will route to the main log. 2022-06-12 21:00:42 +01:00
sr55 436dfdd3ca
WinGui: Fix the log window when Process Isolation is disabled by portable.ini and the setting is still enabled. 2022-05-29 20:51:42 +01:00
sr55 7ed7d1ca14
WinGui: Move more code out of the UI layer. 2022-04-08 21:17:21 +01:00
sr55 f5f286bab0
WinGui: Fix an issue on the Queue window that could prevent the activity log showing. 2022-01-15 13:54:12 +00:00
sr55 056771133a
WinGui: Minor tweaks to the log handling code 2021-11-19 22:35:38 +00:00
sr55 dd1d370676
WinGui: Fixed a few issues with the log viewer.
Fix an issue that would cause the log viewer to unnecessarily refresh several times on state changes.
Small performance improvement and fixed a small memory leak.
Minor UI changes to the window sizing.
2021-11-14 00:15:53 +00:00
sr55 5e39ed8254
WinGui: Revert log filename changes for 1.4. This puts the destination name first again which aligns better when using the copy log folder. Fixes #3740
Updated the Log Windows to show "[Finished]" to on any log files that are not active jobs. (I.e anything that's showing on the queue as complete, failed, cancelled etc.
2021-08-25 22:13:06 +01:00
sr55 2b18fe2d65
WinGui: Refactor the Worker HttpServer class and fix some issues caused by the Caliburn Micro upgrade. 2021-03-24 22:22:02 +00:00
sr55 383ec39965
WinGui: Move to Caliburn Micro 4.0 (RC). This removes the Framework 4 dependant 3.2 version. 2021-03-08 20:03:54 +00:00
sr55 f77f10bf8d
WinGui: Decouple HandBrake.Worker from HandBrakeWPF project. 2021-02-20 15:34:22 +00:00
sr55 436cc757f2
WinGui: Refactor the logging code to better handle multiple instance behaviours. 2020-12-06 21:36:08 +00:00
sr55 3b0bd76895
WinGui: Improvements to log handling for multi-instance 2020-12-03 17:56:14 +00:00
sr55 50535c33e0
WinGui: Various fixes to the log window when using muilti-instance. 2020-09-05 21:46:30 +01:00
Scott 1f09b740f8
Multi instance (#2791)
WinGui: Refactoring and laying the groundwork in many parts of the UI code in preparation for supporting multiple concurrent jobs running.

- Add support for multiple log files to the Activity log screen and refactor usages of ILog. Each Encode instance will now get a separate instance instead of there being one global instance.
- Retire the Mini Display Window. It's very rarely used, not very easy to even find and of limited value.
- Add the preferences code for the Simultaneous encode setting.

Locked to one instance for now. This will allow us to test with users that existing functionality still works fine.
2020-04-26 12:14:42 +01:00
sr55 282b04f2fe
WinGui: Experimental Worker Process (Basic logging is now operational) + UI Infrastructure (currently hidden) needed for the feature. + More Refactoring. 2019-12-29 17:29:53 +00:00
sr55 741d9e082b
WinGui: First step in a long overdue cleanup of the logging code. Stripped out a bunch of unneeded code 2019-12-28 13:50:55 +00:00
sr55 a5f0eb5c91
WinGui: Make a number of UI compoents translatable. #2345 2019-10-05 20:04:04 +01:00
sr55 3e942937d7
WinGui: Make the error message nicer when the system clipboard is unavailable. #1498 2018-07-25 21:13:35 +01:00
sr55 a6f3cd670f
WinGui: Remove Logging abstraction from the Services library. Let the library consumers decide how to log instead utilising the log events instead. 2018-05-08 21:31:26 +01:00
sr55 5dd46e3d4b WinGui: Strip out some out some legacy code that was causing some threading issues. 2017-04-13 19:46:15 +01:00
sr55 6402bd62a0 WinGui: Fix a number of stylecop warnings. 2017-03-26 11:57:57 +01:00
sr55 82a75bd3d9 WinGui: Make the Queue Storage Nightly aware. Also fix an issue with Queue and Log Files not being stored correctly for Portable mode. #267 2017-03-17 21:33:58 +00:00
sr55 9e9167bb63 WinGui: Add a Logging Service into the AppServices library. This does not depend on any 3rd party libraries and is off by default. It must be initialised by calling Enable() on the LogService class. Otherwise LogMessage does nothing.
Changed the Logging screen to a single panel in the WinGui. This will change back to separate Scan/Encode logs when we get libhb it's own processes.
Added Auto-Scroll to the log window.
2016-03-21 00:07:04 +00:00
Scott e703a7961f AppServices tidyup
Moving the UI modelling and services to the GUI Project.
2015-09-26 21:30:31 +01:00
sr55 a74ccc5f02 WinGui: Moving the bulk of the view model strings to resources.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7292 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-06-11 19:33:30 +00:00
sr55 0be4e18bac WinGui: Some Model Re-factoring by RandomEngy
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7151 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-05-03 17:18:59 +00:00
sr55 5cce72f890 WinGui: Removing the Isolation code as it's not used, and planned for libhb instead.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6958 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-03-01 17:53:54 +00:00
sr55 c919eaba0b WinGui: Make the Tabs in the logging window a bit larger and improve the initial message in the log window when there is no log. This should make it clearer to users what they must do to get a log.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6680 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-01-02 19:52:18 +00:00
sr55 0e8fddb811 WinGui: Part 1 - Restructuring the AppServices library in preparation for the new JSON API. Taking the opportunity to improve and simplify the API.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6568 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-11-29 18:36:54 +00:00
sr55 bb3aae9dd0 WinGui: Remove the scan service wrapper as it's no longer needed.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5789 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-09-21 16:25:39 +00:00
sr55 e3fcaf3481 WinGui: Fix a reset issue on the log window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5429 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-04-30 17:39:42 +00:00
sr55 0058e66974 WinGui: Some Threading, Performance and Log window fixes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5308 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-03-07 22:11:11 +00:00
sr55 4ff95a7b1e WinGui: Show the two log files as tabs rather than a combobox selection. Makes it more obvious that there are two logs.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5306 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-03-05 20:12:21 +00:00
sr55 6b70a7fb55 WinGui: Misc Fixes
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4997 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-09-30 14:08:03 +00:00
sr55 6206cd1e04 WinGui: Fix broken log window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4996 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-09-29 21:43:11 +00:00
sr55 2f9788338e WinGui: (WPF) UI Consistency tweaks and improvements.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4649 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-05-06 00:48:41 +00:00
sr55 d022a7b868 WinGui: (WPF) User Setting Service fixes, Query Generation fixes, Logviewer live updates.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4580 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-04-01 17:32:36 +00:00
sr55 cd3e951792 WinGui: (WPF) Move all the main UI tab UserControls into an MVVM format. Mostly code shuffling.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4393 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-12-30 18:57:30 +00:00
sr55 5b745b8f17 WinGui: (WPF) Initial work to hookup the log viewer + some additional helper classes ported over form the WinForms version.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4390 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-12-27 22:52:43 +00:00
sr55 20fd52b888 WinGui: (WPF) Initial work to implement the "Queue" and "Add Preset" Windows. Additional setup work around the main window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4389 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-12-27 18:41:31 +00:00
sr55 ee03feea6f WinGui: (WPF) Initial setup for the Log Window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4331 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-10-30 22:08:47 +00:00
sr55 2f0f372b09 WinGui: (WPF) Continued work on the options window. Save Settings, Various functions and place holders for TODO's
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4328 b64f7644-9d1e-0410-96f1-a4d463321fa5
2011-10-29 20:17:24 +00:00