Commit Graph

1129 Commits

Author SHA1 Message Date
Terry MacDonald
070f5d634d Fixed LogReporter build errors
While preparing for release I fixed the
build errors and warnings for the
LogReporter software.
2021-03-12 11:58:17 +13:00
Terry MacDonald
f4c34f5cff Updated nuget packages 2021-03-12 10:09:35 +13:00
Terry MacDonald
75ac861ee7 Changed version to v1.0.0 2021-03-11 21:31:53 +13:00
Terry MacDonald
65bcdf2cd1 Profile changing timer now top most
I had removed the top most setting from
the profile changing window while I was
testing long ago, and I only now
remembered to add it back in!
2021-03-11 21:22:42 +13:00
Terry MacDonald
7b02b9db3b Fixed exception returning from ShortcutForm
ImageListView was too keen when a shortcut was
renamed and it tried updating ShortcutLibraryForm
straight away when it reutned, even before we had
a chance to update the data to ILV uses to populate
itself. The fix was to stop ILV being so keen, and to
suspend ILV from doing redraws until we had a
chance to refresh the UI. Problem solved.
2021-03-11 21:18:19 +13:00
Terry MacDonald
97a586720e Fixes shortcut profile validation
Shortcuts checks for profile validity weren't
very good, but now they work properly. This
helps the notify menu item shortcuts as well.
2021-03-07 17:28:07 +13:00
Terry MacDonald
4531a0d4d5 [WIP] Partially working shortcut detection
Fixed the profile validitiy detection on load,
but now have issue with the shortcut detection
2021-03-07 17:11:46 +13:00
Terry MacDonald
1588cd6a0b Added Save to Desktop Profile Button
Added a button to save a profile shortcut
to the Windows desktop. This will enable
people to quickly change to another display
configuration if they want to using a desktop
display. This will work even if they are unable
to get admin rights to install the background
popup menu.
2021-03-07 14:50:52 +13:00
Terry MacDonald
79597b077f Fixed profile selection for Shortcuts
Fixed the logic for profile selection on
shortcuts so that the profile is either
selected or not based on its existence
or whether the profile is valid to use now
or whether the shortcut is new.
2021-03-07 14:24:58 +13:00
Terry MacDonald
5260d8a087 Refactor shortcut validity
Moved the logic to the right places.
Removed the need for the separate
error and warning lookup arrays.
2021-03-07 13:45:49 +13:00
Terry MacDonald
7b9a676cb6 Disabled internal NLog debugging 2021-03-06 17:55:04 +13:00
Terry MacDonald
07ceed3ec4 Make red error when sc profile gone
This will inform the user to choose another
profile when the profile is used in a shortcut
and yet the profile doesn't exist any longer
2021-03-06 17:43:07 +13:00
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