Commit Graph

606 Commits

Author SHA1 Message Date
Terry MacDonald
45f5bb814c Merge branch 'develop' of https://github.com/terrymacdonald/DisplayMagician into develop 2021-03-17 22:37:10 +13:00
Terry MacDonald
6e53970f4e Updated the installer hash 2021-03-17 22:36:33 +13:00
Terry MacDonald
4424f26207 Added iWSH Shell Interop
This allows DisplayMagician to write
a shortcut to desktop. It was missing in
the setup installer.
2021-03-17 22:34:22 +13:00
Terry MacDonald
4a1a73a30f Update Setup so upgrades
Setup should now automatically
uninstall any earlier versions of
DisplayMagician
2021-03-17 22:28:18 +13:00
Terry MacDonald
5e9c02aa68 Fixed the notify icon when minimised
When the notifyicon was minimised we had
problems as it would close the main window
when trying to update the icon text. This is
fixed now.
2021-03-17 21:38:16 +13:00
Terry MacDonald
baa275b8a6 Option to start pgm only if needed
Added the ability for user to only start a
program if it hasn't been started yet. This
is for things like SimHub that should
already be started by Windows when the
PC first boots.

Also corrects a bug that ignored the autoname
property so that it overwrote the suggested
filename when saving a shortcut.
2021-03-17 21:25:42 +13:00
Terry MacDonald
77110db114 Stop DM closing after running a shortcut
Also allow people to click on the startprograms
checkbox labels to have them change the
checkboxes themselves.
2021-03-17 20:44:59 +13:00
Terry MacDonald
f9de793998 Stop desktop save from closing window
Stop 'save to desktop' button closing the
shortcut window (and the profile window too!)
2021-03-17 20:25:34 +13:00
Terry MacDonald
795f006e2d Updating versions to 1.0.1 2021-03-17 20:13:06 +13:00
terrymacdonald
4b276fa471
Merge pull request #3 from terrymacdonald/hotfix/community-fixes
Hotfix/community fixes
2021-03-15 20:59:48 +13:00
terrymacdonald
15605a779a
Merge pull request #2 from terrymacdonald/hotfix/community-fixes
Create CODE_OF_CONDUCT.md
2021-03-15 20:55:56 +13:00
terrymacdonald
bb7cc35b3d
Create CONTRIBUTING.md 2021-03-15 20:55:15 +13:00
terrymacdonald
4fe8b710f6
Create CODE_OF_CONDUCT.md 2021-03-15 20:51:20 +13:00
Terry MacDonald
7da702a335 Merge branch 'main' of https://github.com/terrymacdonald/DisplayMagician into main 2021-03-14 22:24:06 +13:00
Terry MacDonald
36e2114d30 Merge branch 'release/1.0.0' into main 2021-03-14 22:23:47 +13:00
Terry MacDonald
5bcc9f4c37 Fixed update.json 2021-03-14 22:23:24 +13:00
Terry MacDonald
52e7934796 Fixed missing BootMeUp.dll 2021-03-14 22:17:50 +13:00
Terry MacDonald
755e220fe9 Updated release v1.0.0 upgrade url 2021-03-14 22:04:36 +13:00
terrymacdonald
9e906a9397
Update index.json
Changed my mind again.
2021-03-14 22:03:14 +13:00
terrymacdonald
0907c356d9
Update index.json 2021-03-14 22:01:15 +13:00
terrymacdonald
aef69c2f49
Update index.json
Fixed download link
2021-03-14 22:00:50 +13:00
Terry MacDonald
103cd3dd03 Changes to index.md 2021-03-14 21:55:40 +13:00
Terry MacDonald
b7d5ac7e7d Merge branch 'main' of https://github.com/terrymacdonald/DisplayMagician into main 2021-03-14 21:37:03 +13:00
Terry MacDonald
87b73adf66 Preparing docs for first release
Also updated the update.json to match.
2021-03-14 21:33:23 +13:00
Terry MacDonald
9f674a1eaf Added donate button and realigned UI 2021-03-14 20:54:03 +13:00
Terry MacDonald
a02a5d9139 Update the update JSON file 2021-03-14 20:29:37 +13:00
Terry MacDonald
b4917870d9 Fixed missing nuget package 2021-03-14 20:23:05 +13:00
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