Commit Graph

48 Commits

Author SHA1 Message Date
sr55 cab6cd5080
WinGui: Don't crash if we have a chapters mis-match when importing. Fixes #6514 2024-12-29 15:54:08 +00:00
sr55 5df044f3ce
WinGui: Add Wrappers for the Open/Save/Folder Dialogs so we can easily override them with legacy fallbacks. On some systems, Visual Themes may not be enabled which can cause a COMException. This allows the app to work in those cases. Fixes #4983 2023-03-03 22:10:26 +00: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 7ed7d1ca14
WinGui: Move more code out of the UI layer. 2022-04-08 21:17:21 +01:00
sr55 cdb09dda59
WinGui: Beginning of a refactoring project. Create a new Library Project "HandBrake.App.Core". The goal here is to start decoupling some of the project code away from the UI project.
This will necessitate a fair few namespace changes.
2022-04-05 21:50:31 +01:00
sr55 808618a189
WinGui: Strip out most of the remaining references to Windows Forms.
Some API Tidyup
2021-09-25 15:26:36 +01:00
Josh Soref 7d018e4c4d
Spelling win (#3602)
* spelling: actual x264

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: application

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: associated

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: behavior

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: category

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: chapter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: chapters

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: checklist

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: coerced

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: collapsed

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: collection

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: confirmation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: contains

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: contrast

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: converter

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: creation

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: deserialize

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: directory

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: displayed

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: dropdowns

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: excessively

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: failed

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: granularity

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: handbrake

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: ienumerable

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: installer

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: languages

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: logs

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: maybe

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: obj

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: object

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: occurred

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: paused

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: persists

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: progress

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: provider

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: recalculate

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: replacement

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: representing

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: represents

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: response

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: separator

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: specified

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: struct

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: subtitle

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: subtitles

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: successful

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: the

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: toggle

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: treeview

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: utility

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: visible

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

* spelling: width

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2021-05-22 11:23:38 +01:00
sr55 0014ddb8b4
WinGui: Make QSV hardware detection APIs information available to the UI for use and refactor the video tab preset defaulting behaviour. Better defaults for Nvidia, AMD and VCE hardware based on current generation hardware. 2020-07-18 16:58:51 +01:00
sr55 65a96824e9
WinGui: Don't perform the chapter duration validation if the imported file doesn't contain durations. #2982 2020-07-05 16:35:16 +01:00
sr55 4a75f67486
WinGui: Catchup some remaining strings that were not localisable. #2345 2019-10-13 18:03:58 +01:00
luz.paz 2d1c854146 Misc. typos
Found via `codespell -q 3 --skip="./gtk/po`
2018-02-20 18:10:44 +00:00
sr55 f3a811ae04
WinGui: Add combined option in the Chapter Import Open File Dialog. #1015 2017-12-29 19:51:49 +00:00
sr55 02bb7c53bf
WinGui: Initial Activation of the "modified" preset detection code. (Audio/Subtitle Tabs still to be done) 2017-12-12 21:38:59 +00:00
sr55 361f4d9e6c
WinGui: Initial ground work on code that will detect when the user modifies settings that don't match the currently selected preset. 2017-09-17 15:44:02 +01:00
sr55 912573e4a1
WinGui: Fixes to chapters tab to correctly handle queue edit jobs. Fixes #870 2017-08-26 21:28:23 +01:00
sr55 9ce3910fd1 WinGui: Fix a number of stylecop warnings. 2017-02-11 20:37:33 +00:00
sr55 5cc2fbbca6 WinGui: Fix a large number of stylecop warnings. 2016-10-30 20:18:45 +00:00
Sverrir Sigmundarson f0a84ed897 Using ErrorService.ShowMessageBox instead of MessageBox.Show 2015-11-26 14:22:18 +01:00
Sverrir Sigmundarson 70e6b62577 Minor fixes to chapterdb.org support that were lost in a merge-gone-wrong. 2015-11-23 15:10:37 +01:00
Sverrir Sigmundarson 4137a887b8 Adding support for ChapterDb.org input formats (XML and TXT) files. Minor refactorings to accomodate the parsing of the new input formats. 2015-11-23 14:39:32 +01:00
Sverrir Sigmundarson 9e107ee850 Fixing importing and exporting of chapters via CSV files. Adding proper handling of escape characters, handling of most common alternative value separators. Fixing resource leakage via undisposed FileDialogs. 2015-11-21 01:16:57 +01:00
Scott c4008d7a49 App Services Cleanup Contd
Moving Exceptions and more utilities to the GUI project.
2015-09-26 21:30:32 +01:00
Scott e703a7961f AppServices tidyup
Moving the UI modelling and services to the GUI Project.
2015-09-26 21:30:31 +01:00
Scott 8ea1a78f7a WinGui: Initialise chapters to string.empty if the import file does not contain a name for a given chapter number. 2015-09-15 20:14:30 +01:00
sr55 1c8fd285ee WinGui: Don't update config when user cancels file/folder dialogs - Patch by jorrit
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7408 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-08-23 14:15:22 +00: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 0eee9e04b9 WinGui: Switch all the FileOpen / FileSave dialogs over to the native windows one. There is no difference for windows 7 users and later. This was used to give XP users a better experience which is no longer relevant.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6807 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-01-23 19:28:45 +00:00
sr55 50445c5138 WinGui: Quick Fix for the batch encoding with libhb mode.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6775 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-01-19 21:55:29 +00:00
sr55 edc4bf0552 WinGui: Correcting namespaces.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6687 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-01-05 20:35:52 +00:00
sr55 d9b030c21a WinGui: Refracting some of the modelling around the Encode Services
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6685 b64f7644-9d1e-0410-96f1-a4d463321fa5
2015-01-04 20:54:02 +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 c95258591c WinGui: Move the preset model object into the presets package.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6547 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-11-23 21:32:18 +00:00
sr55 041b565e43 WinGui: Move the preset system out of the services package.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6544 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-11-23 21:26:15 +00:00
sr55 605148d6f7 WinGui: Custom W/H check should be for custom only.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6171 b64f7644-9d1e-0410-96f1-a4d463321fa5
2014-04-26 17:41:13 +00:00
sr55 f0dbe6e2a2 WinGui: Finish off moving the User Settings service to the UI Layer.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5898 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-11-19 22:41:36 +00:00
sr55 ac2f6f5934 WinGui: Use the LumenWorks CsvReader library for the chapters tab. (MIT License)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5820 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-10-05 14:48:33 +00:00
sr55 b038d708ec WinGui: Add duration of the chapter to the chapters tab.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5196 b64f7644-9d1e-0410-96f1-a4d463321fa5
2013-01-23 19:04:55 +00:00
sr55 60bf93c65e WinGui: Strip out the last traces of MEF since it's not going to be used.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4920 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-08-27 18:35:56 +00:00
sr55 f7f029f905 WinGui: Added a right click menu for the Audio, Subtitles and Chapters tabs with some common actions.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4888 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-08-04 18:44:50 +00:00
sr55 aea2c5f0a3 WinGui: Initial work to restore queue editing functionality. (Note, it's not complete yet)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4821 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-07-08 15:57:58 +00:00
sr55 405e3063a7 WinGui: Fix chapter csv file import. Names were not displaying on the chapter list grid.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4711 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-06-03 21:02:54 +00:00
sr55 654057c737 WinGui: (WPF) Port the Advanced Panel for x264 from VidCoder.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4536 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-03-24 21:31:49 +00:00
sr55 5cc5a0f9ae WinGui: (WPF) Numerous fixes / UI tweaks.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4511 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-03-18 14:36:15 +00:00
sr55 49020e219f WinGui: (WPF) Added Debug menu (1. Show CLI Query to allow for easier debugging). Wired up most tabs into the EncodeTask object so the parameters are sent to the encode engine. General code tidy-up and fixes.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4510 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-03-17 23:33:54 +00:00
sr55 2efd8f2641 WinGui: (WPF) Further work wiring up the new UI.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4479 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-03-01 19:01:54 +00:00
sr55 dab8b3b4cf WinGui: (WPF) Further work on the Audio and Subtitle tabs along with the API & Utilities.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4418 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-01-22 20:45:08 +00:00
sr55 54e6a851cc WinGui: (WPF) Further work on hooking up the various tabs on the Main Window.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4404 b64f7644-9d1e-0410-96f1-a4d463321fa5
2012-01-08 15:09:40 +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