Terry MacDonald
cac7810ed5
Added red error triangle
...
Planning on using this to highlight
shortcuts that cannot work because the
profile has been deleted.
2021-03-05 15:24:11 +13:00
Terry MacDonald
ed4b92fb30
Updated styling of SC profile selector
...
Updated styling of the profile selector in the
shortcut editing form. It now looks the same
as the others. There is now a slightly annoying
problem where clicking elsewhere in the form
deselects the imagelistview selection, but that
is a small thing to worry about later.
2021-03-05 15:10:53 +13:00
Terry MacDonald
34ae9069c7
Refactored tracking errors
...
Moved tracking profile errors into ProfileRepository
and moved shortcut errors into ShortcutRepository.
2021-03-05 14:44:53 +13:00
Terry MacDonald
001e351106
Fixing error loading games
...
It was erroring when loading games into
a blank shortcut screen. This was stopping
us being able to select any games at all.
Fixed another problem with Shortcut.IsValid
causing exception when loading a profle
that no longer existed. It now will correctly
report that the shortcut is isvalid.
2021-03-05 11:12:27 +13:00
Terry MacDonald
634322ed05
Hide all run options when invalid
...
Added some checks to stop the shortcut 'run'
option being shown in shortcut and button
form when a shortcut is invalid.
2021-03-05 10:45:18 +13:00
Terry MacDonald
f22450b9a0
Fix profile selection issues
...
Fixed the profiles selection so it doesn't change
when you swap screens. Made the 'View
current display' button refresh the profile validity
too, so that a user now only has to change their
display settings in Windows and then swap back
DisplayMagician and click the View Current Display
button and the profiles will be updated.
2021-03-05 10:34:51 +13:00
Terry MacDonald
fad79cd315
[WIP] fixing profile ILV
...
Fixing text position and sorting
out the selection rectangle. Have
fixed the shortcut library window
and working fine now.
2021-03-01 21:35:03 +13:00
Terry MacDonald
c3fe6c5b50
Refactor image utils into own class
2021-03-01 20:10:47 +13:00
Terry MacDonald
d6a5b752c9
[WIP] partial profiles ILV render creation
2021-02-28 21:34:59 +13:00
Terry MacDonald
f122719b80
Sped up profile possbility detection
...
Now caches the possbility detection for
profiles, so it only runs the expensive
detection logic when the UI changes.
2021-02-28 21:24:12 +13:00
Terry MacDonald
7d411b0aff
FIxed invalid shortcut detection
...
Made the shortcuts that were invalid
visually different to the others. This is
now working properly!
2021-02-28 20:55:03 +13:00
Terry MacDonald
3a180d8813
Working shortcut library highlighting
...
Highlighting colours and structure changed
to work better with the ILV structure. Next step
is to add the ability to visually show invalid
shortcuts to notify when a shortcut won't
work.
2021-02-28 15:34:50 +13:00
Terry MacDonald
29b3989645
Tweaked ILV shortcut display
...
Aligned the new custom ILV shortcut drawing
so that it looks better.
2021-02-28 11:26:59 +13:00
Terry MacDonald
25df13e52a
Library include cleanup
2021-02-21 20:23:41 +13:00
Terry MacDonald
79f535ce08
Fixing broken NLog config
2021-02-20 23:14:16 +13:00
Terry MacDonald
bb37dc908a
Changed LogLevel applies immediately
...
Configured NLog so that the loglevel
UI changes happen straight away. Also
am using NLog to generate the user
messages while it's running.
2021-02-20 22:03:19 +13:00
Terry MacDonald
2959d5f280
Changing the default logging level to info
2021-02-20 21:04:58 +13:00
Terry MacDonald
d9da0a6e8f
Shortcut library UI improvements
...
Added a messagebox to warn the user
when they try to run an invalid shortcut.
It now asks the user if they really want to
do it, or it directly opens the 'edit' window
for if they want to fix things now.
2021-02-15 21:29:12 +13:00
Terry MacDonald
a251962207
Partially added the Uplay Library logging
2021-02-15 20:47:56 +13:00
Terry MacDonald
6b02e2ccbe
Added logging and improved readme
...
Added logging to ProfileRepository and
ShortcutRepository
2021-02-15 20:33:46 +13:00
terrymacdonald
b557bc1016
Fix for link
2021-02-15 09:37:50 +13:00
terrymacdonald
ef5d7d8268
Corrected NVIDIA Surround comments
2021-02-15 09:35:56 +13:00
terrymacdonald
531bb13cb8
Adjusted sponsorship pages
2021-02-15 09:32:00 +13:00
terrymacdonald
6a5e886f44
Delete sponsor.jpg
2021-02-15 09:30:28 +13:00
terrymacdonald
405bc6ce56
Add files via upload
2021-02-15 09:30:12 +13:00
terrymacdonald
b84d10541b
Add files via upload
2021-02-15 09:24:21 +13:00
terrymacdonald
aa5857f427
Added Buy me a coffee
2021-02-15 09:11:04 +13:00
terrymacdonald
69d6e26944
Update README.md
2021-02-15 09:08:57 +13:00
Terry MacDonald
aece0cce29
Added extra debug logging
2021-02-14 22:42:48 +13:00
Terry MacDonald
b6c007fe6f
Updated shortcut repository logging
...
Added yet more debug logging to the
software so we can get information when
there is an error.
2021-02-14 12:00:47 +13:00
Terry MacDonald
24c1ff29b4
Applied logging to program.cs
...
Continued to apply logging to the
various software components so that
we can get debugging logs when the
software is released for use.
2021-02-14 09:18:49 +13:00
Terry MacDonald
dd8939b395
Logging changes
...
Combined DisplayMagicianShared logging into
the main log file to simplify log reporting for the
future. Also started adding info and debug
statements to the program to make the debug
level log work well for troubleshooting. This is
going to take a LONG time to complete, but will
be worth it in the end.
2021-02-10 22:40:22 +13:00
Terry MacDonald
d6834b635c
Disabled old FxCop Code analysis
...
Disabled the FxCopCode Analysis for the
release build in DisplayMagician project.
Should be only using the new .net nuget
package for code analysis.
2021-02-07 15:59:02 +13:00
Terry MacDonald
09a1ca1c96
Updated nuget libraries
2021-02-07 15:47:48 +13:00
Terry MacDonald
a06651190d
Upgrade nuget libraries
...
Upgrade CommanlineUtils, HTMLAgility
and other libraries. Leaving ValveKeyValue
as it requires some breaking changes.
2021-02-07 15:22:54 +13:00
Terry MacDonald
ba636414c0
Improve exception handling of existing ex
...
Added logger instances for DisplayMagicianShared
functions. Also added logger debug commands to
all exceptions with existing ex objects.
2021-02-07 14:42:17 +13:00
Terry MacDonald
7d3533fb2a
Merge branch 'develop' into feature/logging-improvements
2021-01-30 22:13:25 +13:00
Terry MacDonald
519ac7d336
Merge branch 'hotfix/get-back-in-sync' into develop
2021-01-30 22:11:27 +13:00
Terry MacDonald
0f38881709
More code analysis suppression
2021-01-28 22:20:00 +13:00
Terry MacDonald
88bd1a71fa
Fixing some CodeAnalyzer suggestions
2021-01-28 22:03:02 +13:00
Terry MacDonald
6ab1e0842a
Additional suppression messages
2021-01-28 21:34:45 +13:00
Terry MacDonald
3ecababc73
Suppressing CLS compliance errors
...
Some functions and procedures require CLS
non-compliance due to file formats and the like.
Suppressing these compiler warnings
2021-01-28 21:19:20 +13:00
Terry MacDonald
0afe349eea
Converted uint to int
...
This was done to be more CLS language compliant.
2021-01-28 20:58:35 +13:00
Terry MacDonald
838ab5c25a
Fixing automatic admin version upgrade
...
Upgrade processs wasn't upgrading using
elevated privileges. Appears to be doing so
now.
2021-01-18 07:47:13 +13:00
Terry MacDonald
582e95df42
Updated upgrade json
2021-01-18 07:45:07 +13:00
Terry MacDonald
ae106223a0
Removing editorconfig
2021-01-18 07:40:13 +13:00
Terry MacDonald
2b56d3e2b2
Fixing some UI misalignment
...
Changed some misanchored UI
elements so that they will move correctly
when the UI windows are resized. Also
fixed a mistake that meant the 'Create
Shortcut' message wasn't hidden
when it should be.
2021-01-07 17:31:26 +13:00
Terry MacDonald
3f46beafd3
Reorganisation of Game Start tab
...
Made a messsage to inform the user
we could't detect any supported game
libraries.
2021-01-07 15:17:37 +13:00
Terry MacDonald
b028ad4478
Align custom paint on form
...
Fix up misalignment with label
radio button, checkbox when
drawing not enabled on a black
background.
2021-01-07 14:56:29 +13:00
Terry MacDonald
fef3fb34a7
Fully works with no game libraries
...
Now can handle when no game libraries
are detected. Need to make the game/application
UI nicer by adding groupboxes to it.
2021-01-07 11:51:02 +13:00